• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Importing .DEM files to generate terrain

Scheduled Pinned Locked Moved SketchUp Discussions
sketchup
6 Posts 3 Posters 2.8k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    IntelCoreDuo
    last edited by 30 Apr 2017, 15:08

    I'm using the latest SketchUp pro, and recently discovered the power of GIS. I've downloaded free high-res 0,25m accurate terrain data for Bergen, Norway (or anywhere else) but SketchUp will crash during the import, even when the file is tiny (small area, and .dem file is just a few kb)
    At the moment I've managed to import the data by importing it to AutoCAD Civil 3D then converting to a surface, moving to 0,0, exploding to meshes and saving as .dwg.

    Perhaps the coordinates are the problem, SketchUp will not accept my Autocad files unless I move them close to origo. Not sure how I can delete coordinates of a .dem file.

    Any ideas?

    1 Reply Last reply Reply Quote 0
    • F Offline
      filibis
      last edited by 3 May 2017, 09:21

      @intelcoreduo said:

      I've downloaded free high-res 0,25m accurate terrain data for Bergen, Norway (or anywhere else)

      May i ask from where did you get/download that free high-res data? I can't seem to find anything higher then ~30m accuracy.

      @intelcoreduo said:

      but SketchUp will crash during the import, even when the file is tiny (small area, and .dem file is just a few kb)

      I don't know why it crashes but if you could share the .dem , i can have a look.

      1 Reply Last reply Reply Quote 0
      • I Offline
        IntelCoreDuo
        last edited by 9 May 2017, 07:34

        @filibis said:

        @intelcoreduo said:

        I've downloaded free high-res 0,25m accurate terrain data for Bergen, Norway (or anywhere else)

        May i ask from where did you get/download that free high-res data? I can't seem to find anything higher then ~30m accuracy.

        @intelcoreduo said:

        but SketchUp will crash during the import, even when the file is tiny (small area, and .dem file is just a few kb)

        I don't know why it crashes but if you could share the .dem , i can have a look.

        Sure, I use this website:
        https://hoydedata.no/LaserInnsyn/
        (Only covers Norway though) 0,25m accuracy in many cities and other areas. Let me know if you need help in getting the download settings right.

        The DEM file is attached


        dtm.rar

        1 Reply Last reply Reply Quote 0
        • F Offline
          filibis
          last edited by 10 May 2017, 15:16

          First of all i must say that i was fixing lots of DEM files that cause crash by converting them to UTC projection and save as ASCII dem files. However in your case this didn't work 😍 .

          So after a lot of painful tests 😢 here is my short conclusion: There is something 'wrong' with UTM projections provided in that website. Here are my reasons:

          1- Website provides DTMand DOMtype of DEM files. I'm not sure but this might be the core cause of problems.

          2- Website doesn't let me get USGS DEM without UTM projection. If i can get a 'raw' dem (lat/long coordinate type), then i could just use my workflow mentioned above (which worked quite fine until now).

          Website forces me for coordinates (UTM type)

          3- Although i can import their dem files to 3DEMand MicroDEM softwares without problem, it doesn't let me change UTM projection (This might not be an issue at all).

          Current terrain already uses UTM projection.

          But the specifications of the files differs. Compare below 2 image.

          This is your file. Name is just as it's in folder.
          This is a working 'raw' dem file i get from another source. Notice name & coordinate type. Name is 'recognized' by the software properly.

          4- I could get 'raw' GeoTIFF (without projection) but then 3DEM software gives this odd error when i try to save as ASCII dem file:

          Even though i got 'raw' file without UTM projection, it recognizes it as UTM and i don't think Norway is in southern hemisphere :D

          1 Reply Last reply Reply Quote 0
          • I Offline
            IntelCoreDuo
            last edited by 10 May 2017, 19:00

            How strange! At least I am content that whatever was wrong isn't an easy fix, so I can put my mind at ease and to this the hard way through Civil 3D, then convert to .dwg and into SketchUp.
            Thank you!

            1 Reply Last reply Reply Quote 0
            • K Offline
              Kristoffersch
              last edited by 26 May 2020, 21:27

              Hi,

              I am having the same problem using USGS DEM files from høydedata. I have tried converting them to UTC projection and save as ASCII dem files in 3DEM, but get the same result as filibis. I have also tried converting GeoTIFF from høydedata with the same method. Have you found anyway around this problem besides using Civil 3D?

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Buy SketchPlus
              Buy SUbD
              Buy WrapR
              Buy eBook
              Buy Modelur
              Buy Vertex Tools
              Buy SketchCuisine
              Buy FormFonts

              Advertisement