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

Can't load TIF as DEM

3 REPLIES 3
Reply
Message 1 of 4
autoMick
3000 Views, 3 Replies

Can't load TIF as DEM

I thought this would be quick and easy... I just want to create a surface from a TIF file.

I right-click surfaces and hit "Create Surface from DEM..." and I just get the unhelpful error at the command line "Unable to read file".

If I create an empty surface and then try to add the DEM to its definition, I get "Invalid DEM file".

The .tif image seems fine - I can view it in photoshop, it says it is an 8 bit grey-scale image, 24,692 x 25,579 pixels. I can even MAPIINSERT it in Civil3d (see snip) and it comes to the correct coordinates (and shows the same pixel count etc. when inserting. The file is around 600MB. The associated files are shown below.

Without any decent error I not sure what I should try.

Any clues?

Thanks

- Mick

 

files.PNG

 

 

 

catchment.PNG

 

Civil3d user in Australia since 2012.
3 REPLIES 3
Message 2 of 4
Alfred.NESWADBA
in reply to: autoMick

Hi,

 

>> I can view it in photoshop

If you can open it with Photoshop does not mean it's a DEM model.

If it tells you it's a 8bit-greyscale image this is even more a proof for it is NOT a DEM model. You can't use a color value (or greyscale values) to be used as DEM otherweise you would only have 256 different elevation values.

 

Can you give us a link to the file so we can download it and take a look into it?

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2024
------------------------------------------------------------------------------------

(not an Autodesk consultant)
Message 3 of 4
autoMick
in reply to: Alfred.NESWADBA

Well now I look at the image, it's obviously just a hill shaded render - the filename distracted me.

Nevertheless, I was able to load it into QGIS as a DEM - obviously the results were complete nonsense given the file contents, but it was interesting that it would accept the file, contour it, etc. whilst civil3d wouldn't have a bar of it.

I'll see if the correct file can be supplied to me

thanks

- Mick

Civil3d user in Australia since 2012.
Message 4 of 4
AllenJessup
in reply to: autoMick

If QGIS opens it correctly. Try saving it in another compatible format. 

Allen Jessup
CAD Manager - Designer
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

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

Post to forums  

Rail Community


Autodesk Design & Make Report