• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • AutoCAD Civil 3D

    Reply
    Active Contributor
    Posts: 41
    Registered: ‎10-09-2008
    Accepted Solution

    DEM file

    293 Views, 9 Replies
    11-08-2012 08:50 AM

    I have a DEM file, (or that is what I have been led to believe) it is in space delimited txt format. It contains breakline and point data. Every time I try and add it to a surface I get an invalid DEM file error. Can anyone give me a hint as to why and how I can correct this. I am using Civil 3D 2013.

    Please use plain text.
    *Expert Elite*
    TRogers
    Posts: 630
    Registered: ‎09-05-2007

    Re: DEM file

    11-08-2012 09:21 AM in reply to: bandit1965

    A lot of the entities out there have changed there file format for there DEM's and they don't work in Civil 3D anymore.  TNRIS is one of these entities.  I use Global Mapper to fix the file and export it back out as a DEM.  If it's not too large, you can email it to trogers@tcadsys.com and I will fix it for you.

    If the issue was resolved by this method, please click on "Accept As Solution"
    *Civil 3DJ*
    Todd Rogers

    Visit my blog here.

         
    Please use plain text.
    Active Contributor
    Posts: 41
    Registered: ‎10-09-2008

    Re: DEM file

    11-08-2012 09:34 AM in reply to: bandit1965

    I have shipped it to you, work your magic.

    Please use plain text.
    *Expert Elite*
    TRogers
    Posts: 630
    Registered: ‎09-05-2007

    Re: DEM file

    11-08-2012 09:39 AM in reply to: bandit1965

    Ok.  I didn't read this very well the first go round, and apologies for that.  You need to import this as points, not attach it to surface as a DEM.  It looks like the point file format is PENZD.  Then add the Point Group _All points to the surface.  Works fine.

    If the issue was resolved by this method, please click on "Accept As Solution"
    *Civil 3DJ*
    Todd Rogers

    Visit my blog here.

         
    Please use plain text.
    *Expert Elite*
    BrianHailey
    Posts: 2,391
    Registered: ‎04-27-2005

    Re: DEM file

    11-08-2012 04:33 PM in reply to: TRogers

    trogers wrote:

    Ok.  I didn't read this very well the first go round, and apologies for that.  You need to import this as points, not attach it to surface as a DEM.  It looks like the point file format is PENZD.  Then add the Point Group _All points to the surface.  Works fine.


    If the file is very large, dont' import it into Civil 3D as points, just add it directly to the surface as a point file. Works much better that way for very large data sets.

     

    Obviously, since Todd recommended importing it as a points and then using adding it to the surface as a point group, this particular file probably isn't very large, but it's good for others to know about if they didn't already.

     

    Is it just me or do I sound like I'm babbling?

    Please use plain text.
    *Expert Elite*
    TRogers
    Posts: 630
    Registered: ‎09-05-2007

    Re: DEM file

    11-12-2012 06:36 AM in reply to: BrianHailey
    It was fairly small and came in easily. Sent from my Verizon Wireless 4G LTE Smartphone
    If the issue was resolved by this method, please click on "Accept As Solution"
    *Civil 3DJ*
    Todd Rogers

    Visit my blog here.

         
    Please use plain text.
    *Expert Elite*
    johnm
    Posts: 1,717
    Registered: ‎11-13-2006

    Re: DEM file

    11-12-2012 07:17 AM in reply to: BrianHailey

    You're not babbling. :smileyhappy:

    I just see you providing an important public service announcment. That is a very important tip for large data sets.

    John Mayo, PE
    C3D 2012, RD 2012
    Win 7 64, Core i7,
    6 GB RAM, Quadro FX 1700
    Please use plain text.
    Active Contributor
    Posts: 41
    Registered: ‎10-09-2008

    Re: DEM file

    11-14-2012 07:38 AM in reply to: TRogers

    Thanks for the help, evertyhing is working great. I made that a lot harder than it seemed.

    Please use plain text.
    *Expert Elite*
    BrianHailey
    Posts: 2,391
    Registered: ‎04-27-2005

    Re: DEM file

    11-14-2012 01:43 PM in reply to: bandit1965

    What did you do to get the data into the surface? Import points? Point group? Add point file? Enquiring minds want to know.

    Please use plain text.
    *Expert Elite*
    TRogers
    Posts: 630
    Registered: ‎09-05-2007

    Re: DEM file

    11-14-2012 01:49 PM in reply to: BrianHailey

    It was a rather small file, so just a basic import of the points using PENZD did the trick.  The file had an extension of points.dem.txt.  So it was really just an ASCII file, not a DEM file.

     

    I gave you props on my blog about the double click addition :smileywink:

    http://civil3dj.wordpress.com/

    If the issue was resolved by this method, please click on "Accept As Solution"
    *Civil 3DJ*
    Todd Rogers

    Visit my blog here.

         
    Please use plain text.