Community
InfraWorks Forum
Welcome to Autodesk’s InfraWorks Forums. Share your knowledge, ask questions, and explore popular InfraWorks topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Connecting to an image service.

1 REPLY 1
Reply
Message 1 of 2
davelawrence3d
616 Views, 1 Reply

Connecting to an image service.

 

I am trying to connect to a image service from the Arizona state cartographers office. each time i try to connect i get a message that says “there is no valid source to import” I have a model set up with a smaller area and I use this data in Arc map often so I know the server is working I just can’t get AIM to access the data. If someone can help me get the connection string to work it would be appreciated.

 

This is the link to the sites information on the image data sets. i would like to use the NAIP 2012 imagery.

http://sco.az.gov/imagery.htm

 

 

1 REPLY 1
Message 2 of 2

I haven't found 2012er data, just 2010...

 

With the following steps I was able to import something into AIM:

 

1) Create a file "NAIP_2010.wms" with the following content:

 

<GDAL_WMS>	
    <Service name="WMS">
        <Version>1.1.1</Version>
        <ServerUrl>http://asco5.asurite.ad.asu.edu/arcgis/services/AZ_2010_Imagery_WMS/MapServer/WMSServer?</ServerUrl>
        <SRS>EPSG:4326</SRS>
        <ImageFormat>image/jpeg</ImageFormat>
        <Transparent>FALSE</Transparent>
        <Layers>0</Layers>
    </Service>	
    <DataWindow>
        <UpperLeftX>-115.429635</UpperLeftX>
        <UpperLeftY>37.396191</UpperLeftY>
        <LowerRightX>-108.533593</LowerRightX>
        <LowerRightY>30.954413</LowerRightY>
        <SizeX>100000</SizeX>
        <SizeY>100000</SizeY>
        <YOrigin>top</YOrigin>
    </DataWindow>	
    <Projection>EPSG:4326</Projection>
    <BandsCount>3</BandsCount>
    <DataType>Byte</DataType>
    <BlockSizeX>2048</BlockSizeX>
    <BlockSizeY>2048</BlockSizeY>
    <MaxConnections>4</MaxConnections>
    <Timeout>60</Timeout>
    <OfflineMode>false</OfflineMode>
    <ClampRequests>false</ClampRequests>
    <ZeroBlockHttpCodes>204,404</ZeroBlockHttpCodes>
</GDAL_WMS>

 

I don't know about the values for SizeX and SizeY which should be the number of pixels of the whole image in the highest resolution; so you need to adjust them appropriately; the current values are probably way too low...

 

2) start AIM

3) open or create a model

4) select "import raster"

5) within the file chooser navigate to the folder where your NAIP_2010.wms file is in

6) if it doesn't show up in the file chooser, select "all file types" above the "open" buttom

7) select the NAIP_2010.wms file

😎 import the data; this can take some time

 

Maybe this web page could also be of help: http://www.gdal.org/frmt_wms.html

 

Let me know if that worked for you (and what SIzeX and SizeY values would be correct)... 🙂

 



Konstantin.B
Software Architect

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report