AutoCAD Map 3D General Discussion

Reply
Active Contributor
jgray
Posts: 27
Registered: ‎01-28-2010
Message 1 of 10 (1,285 Views)

Raster DEM file ending with extension of .img Can you help with this?

1285 Views, 9 Replies
04-10-2013 10:23 AM

Hello, 

The state I live in, Kentucky, has recently posted for download DEM files that was generated recently.   A link to info about the metadata can be found here.
 http://kygisserver.ky.gov/geoportal/catalog/search/resource/details.page?uuid=%7B82BBA3A5-7F76-4ACA-...

 

And you can download them directly here. 
ftp://ftp.kymartian.ky.gov/kyaped/DEMs_5FT/



According to the data in the first link the file type is a "Raster DEM"  and when you download and extract one of the zip files you get three files named such as. 
********_DEM.IMG

********_DEM.IMG.AUX.XML

********_DEM.IMG.XML

 

My questions is how do I work with these "Raster DEM" files in autocad? Is this possible?

 

 

Distinguished Contributor
nwray
Posts: 108
Registered: ‎03-10-2008
Message 2 of 10 (1,277 Views)

Re: Raster DEM file ending with extension of .img Can you help with this?

04-10-2013 10:53 AM in reply to: jgray

My version of CAD did (Civil 2013) did not recognize the IMG format and would not insert the files as images.  However, the ER Viewer by ERDAS would open the files and sav them as geo tiffs which I can insert into CAD.  You can download the viewer here: 

 

http://geospatial.intergraph.com/products/other/erdasermapper/erdaserviewer/downloads/ERDAS_ER_Viewe...

 

Norm

Active Contributor
jgray
Posts: 27
Registered: ‎01-28-2010
Message 3 of 10 (1,274 Views)

Re: Raster DEM file ending with extension of .img Can you help with this?

04-10-2013 10:56 AM in reply to: nwray

My real goal was to somehow make contours from these files, like i can with normal .dem files.  I am guessing this is not possible in autocad?   this whole  .img  format is strange to me. 

Distinguished Contributor
nwray
Posts: 108
Registered: ‎03-10-2008
Message 4 of 10 (1,253 Views)

Re: Raster DEM file ending with extension of .img Can you help with this?

04-10-2013 02:01 PM in reply to: jgray

The man problem is that Map does not recognize the IMG format.  I was able to get around this by downloading the FWTools package (contains a collection of many GDAL and OGR tools) from their main site here:

 

http://fwtools.maptools.org/

 

Once installed, I was able to run the "gdal_translate" executable to take the original IMG file and output a geotiff.  In Civil (should also work in map), I was able to use dataconnect to connect to the geotiff image and then create contours (see attached image).

 

One note:the tools on FW tools are almost entirely command line.  There is a GUI portion, but I was not able to get it to output any new files.

 

Norm

Active Contributor
jgray
Posts: 27
Registered: ‎01-28-2010
Message 5 of 10 (1,249 Views)

Re: Raster DEM file ending with extension of .img Can you help with this?

04-10-2013 02:08 PM in reply to: nwray

We have a license of ArcMap 10 here which allowed us to open and change the format so that we could open in autocad as a .tiff.   

*Expert Elite*
antoniovinci
Posts: 1,599
Registered: ‎06-03-2011
Message 6 of 10 (1,228 Views)

Re: Raster DEM file ending with extension of .img Can you help with this?

04-11-2013 02:23 AM in reply to: nwray

nwray wrote:

There is a GUI portion, but I was not able to get it to output any new files.


Since it works for me, are you sure you've set up the interface as follows..?

 

Distinguished Contributor
nwray
Posts: 108
Registered: ‎03-10-2008
Message 7 of 10 (1,215 Views)

Re: Raster DEM file ending with extension of .img Can you help with this?

04-11-2013 07:58 AM in reply to: antoniovinci

Hi Antonio,

 

Sorry, but the images in your post appear as broken links for me.  I was attempting to use the "OpenEV" portion of te GUI.  It opened up, and would open the IMG files, but when I used the export tool, nothing would happen.  Could you re-post your pictures?  I may not have set up the GUI correctly.

 

Thanks,

 

Norm

*Expert Elite*
antoniovinci
Posts: 1,599
Registered: ‎06-03-2011
Message 8 of 10 (1,206 Views)

Re: Raster DEM file ending with extension of .img Can you help with this?

04-11-2013 10:29 AM in reply to: nwray

Check the attachment out, sir.

Distinguished Contributor
nwray
Posts: 108
Registered: ‎03-10-2008
Message 9 of 10 (1,202 Views)

Re: Raster DEM file ending with extension of .img Can you help with this?

04-11-2013 10:45 AM in reply to: antoniovinci

That's exactly what I'm seeing (attached).  It's jut that when I hit the export button, nothing happens.  I've even tried searching my C drive to see if it writes the file out to the wrong location, but no luck.  I am thinking that there may be some sort of compatibility issue as I am on a 64 bit OS, but the FWTools are listed as 32 bit only.

 

Norm

*Expert Elite*
antoniovinci
Posts: 1,599
Registered: ‎06-03-2011
Message 10 of 10 (1,196 Views)

Re: Raster DEM file ending with extension of .img Can you help with this?

04-11-2013 10:55 AM in reply to: nwray

I use it under Windows x32, so try to run it in XP Mode under your Windows x64:
http://www.microsoft.com/en-us/download/details.aspx?id=3702

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community