Building generation LOD0 to LOD1
Hello.
I'm creating a workflow to generate LOD1 Buildings from shape files (LOD0). To do this I use DSM data and add the height to the shapes. The issue with this workflow is that the shapes become slanted between every point of the shape like the picture below:
What I would like to do is to flatten each shape to the heighest point in the shape. I've deviced a workflow to do this in a 3D software, but for future development I would like to do this in GM (or another GIS software). Is it possible to do this in Global Mapper? Could it be scriptable? Here's an example of the end result from 3D software:
The end goal is to create 3D models of cities in CityGML/CityJSON. Is there any plans to add support for exporting any of these formats from GM?
I'm creating a workflow to generate LOD1 Buildings from shape files (LOD0). To do this I use DSM data and add the height to the shapes. The issue with this workflow is that the shapes become slanted between every point of the shape like the picture below:
What I would like to do is to flatten each shape to the heighest point in the shape. I've deviced a workflow to do this in a 3D software, but for future development I would like to do this in GM (or another GIS software). Is it possible to do this in Global Mapper? Could it be scriptable? Here's an example of the end result from 3D software:
The end goal is to create 3D models of cities in CityGML/CityJSON. Is there any plans to add support for exporting any of these formats from GM?
Tagged:
Comments
-
I've got help from Global mapper support with the following solution:
Start by removing the per vertex elevations for all the features, and then with them still selected use the digitizer menu option Attribute/Style Functions > Calculate Elevation/Slope Stats for Selected Features. When prompted choose not to create point features at the min/max points in each area.
Looking at the attributes for the features you should now see many new attributes including MIN_ELEV, MAX_ELEV, and AVG_ELEV. To use one of these attributes as the single elevation attribute, open the layer options and on the Elevations tab select the desired attribute from the Get 'Elevations' From Attribute Value drop down.
Categories
- 12.8K All Categories
- 5.7K Features Discussion
- 345 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 639 GM Script Language
- 54 User Scripts
- 115 GPS Features
- 417 Projection Questions
- 827 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 178 Announcement and News
- 918 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 570 Other Discussion
- 131 GIS Data Sources
- 27 Global Mapper Showcase
- 239 How I use Global Mapper
- 107 Global Mapper Forum Website