XYZ file (DGM1 Datei) into a terrain model ....?

wer kann mir helfen die Datei ein einen topographisches Gelände zu verwandeln?

who can help to get that DGM1 file into Sketchup … to show my future home inside the realistic topographic hillside area???

An Extension Warehouse search on “points” …

The SketchUp User Guide on importing DEM and DDF files …



Hello @DanRathbun,

can I share the file, which I wish to see in Sketchup?

As of now, I can´t have a look inside … but it´s coming from the “German Department of geoinformation and measuring in lower saxony”. It should also include my plot, which we just bought. Same one is a bit difficult, as it becomes pretty steep in the rear. I wish to work with Sketchup in that realistic environment, as also home will be also a bit an outsider one :-/

Maybe someone can help???

I looked at the file. It is a simple XYZ text data file, each line has 3 Float values.

  1. But what are the units ?

  2. What is the datum ?

    • X ranges from 597000.00597999.00
    • Y ranges from 5719000.005719999.00
    • Z ranges from ~ 248 … ~ 332
  3. The file has 1 million points (lines).
    Basically it is a 1,000 x 1,000 grid.
    Do you need this many points in the terrain mesh ?

I’ve never used any of the xyz point importer extensions. Have you tried any of them yet ?

ADD: Using your previous statement …

I’ve found this information on Hanover

This indicates that the format of the XYZ file is UTF-8 encoded text,
… 3 Float values per line, separated by a space …

UTM_Easting UTM_Northing Elevation_Feet

… and we might guess that the UTM Zone is still "32U" ??

1 Like

I’ve been able to import 5 rows of (5000) points and measured
to find that this file is one square mile of terrain point data.

This will take a huge amount of time to build a triangulated face mesh in SketchUp.

It might be helpful if you could determine the UTM coordinates of your building plot, so that only the necessary points can be extracted from this gigantic terrain data.



I was already sending an email to the department to hopefully get the size reduced to only my plot and maybe a bit more :wink:

Then I will try it again …

Well it is likely this can be done with SketchUp Ruby, if you had coordinates of all the vertices of your plot.
The vertices could be in UTM coordinates or Lat/Long.

My tests show it does not take very long to read the file even with 1 million records. It also takes only about 10-20 secs to parse the text records into an array of virtual points.

From there it would be rather simple to filter out only the small portion in and around your plot, provided coordinates for bounding vertices.

You can try using MeshLab to process your points.

I was able to get your xyz into meshlab and then used the PointSet > PointCloud Simplification tool to reduce the vertices from 1Million to 225000.

I then cut out some of the unwanted points leaving only the hillside (127000 points)

To create a triangulated mesh, I used Surface Reconstruction:Ball Pivoting tool and then exported the mesh as a dxf.

I then imported the dxf into SU resulting in this 232000 face TIN (Imported in Meters) (47MB)

Hope this helps

1 Like

Love you guys, that I even look inside the map … is a nice step and I even think, I found our plot, roughly at least. It´s a point to start with.

Hello my friends,
I got a smaller cut from the previous map … but, how do I exactly know if it really is my plot?

An´t there any GPS coordinates to check with? Something which I need to put in place to finally know, only in that rectangle is my property. Theoretically I also want to cover it with google maps to also positioning the two roads which are crossing my land.

Please give some simple tipps to learn more about all that :-*

dgm1_597532_5719522_dgm1.txt (910,9 KB)

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.