6

I`d like to find out if and how it is possible to visualize LoD2 data (source:https://www.opengeodata.nrw.de/produkte/geobasis/3d-gm/) in QGIS 3.4/Madeira. So far I managed to load them into the project, but unlike other examples and tutorials I´ve seen, they come as lines instead of polygons. After enabling 3D for the layer and opening the 3D-View, it only "kind-of" worked with a second set of lines flying above the footprints - see screenshot (3D-View without background-map for a clearer image). So - unless there are issues with the data - I suppose I missed something... screenshot 2D/3D view

I also tried to convert them into polygons - first as original data and then after saving them as Esri-shapes, but the result was always that even the "polygons" came as "lines":screenshot "polygons"

Does anybody know if these data can be visualized with QGIS and if/how I have to prepare them or which steps in QGIS are necessary?

PolyGeo
  • 65,136
  • 29
  • 109
  • 338
Wintercloud
  • 61
  • 1
  • 2
  • In order to visualize from the lines of a polygon go to the window named "Analysis Tools">>Vector Geometry">>"Build Polygons" and run it and see the result... – Cyril Mikhalchenko Jan 04 '20 at 14:08
  • Thank you, Cyril - I didn´t know about this function. Unfortunately now there are polygons instead of lines "flying" above the footprints and these polygons do not share the attributes of the line-features- unlike they do with the "lines to polygons" function. – Wintercloud Jan 05 '20 at 09:50
  • You can add attributes from the source table to a polygonal table... – Cyril Mikhalchenko Jan 05 '20 at 13:38
  • I know, and I tested it, but the "new" polygon-geometries are defect (according to the Error-message) – Wintercloud Jan 05 '20 at 17:33
  • 1
  • Go to "Analysis Tools" >> "Vector Geometry">> "Merge Lines"; 2) On the "Menu" toolbar select "Vector">> "Geometry Processing">> "Convert Lines to Polygons...".
  • – Cyril Mikhalchenko Jan 05 '20 at 17:54
  • https://gis.stackexchange.com/questions/7852/clarification-of-the-25d-option-in-ogr2ogr... – Cyril Mikhalchenko Jan 07 '20 at 17:53
  • maybe I'm wrong, but I couldn't find the values with the height 0 in the source data, I'm afraid that all the polygons depended on the height 61 meters and above, on the example of the file called "LoD2_354_5722_1_NW Building"...MULTILINESTRING Z ((354438.589 5722228.613 61.577,... – Cyril Mikhalchenko Jan 07 '20 at 18:34