[017] How to Create BBOX and Point Clouds from DEM Data in Global Mapper
Generate precise vector coverage areas and convert terrain grids into individual point cloud features for detailed spatial analysis.
This tutorial provides an in-depth look at Global Mapper's layer management system, specifically focusing on Elevation Layer tools. You will learn how to differentiate between layer types in the Control Center, generate rectangular bounding boxes and polygonal coverage areas, and extract point cloud data from Digital Elevation Models (DEM).
In the last post, I shared a script related to Python, but there were some layer-related functions I hadn't mentioned yet. While we're on the topic, let's explore some frequently used features.
Global Mapper categorizes layer types into five main groups: Elevation (Terrain), Image (Raster), Point, Line, and Area (Polygon). The sub-items visible in the Layer menu change depending on the type of layer selected.
There are additional layer types, but most users probably won't need to work with them in depth
Let's start with the Elevation Layer.
One important thing to keep in mind is that Elevation Layers can be visualized as slope or aspect maps simply by changing the Shader settings.
Therefore, the functions we are about to discuss can be used consistently even
if the shader is changed. You can download and open the sample
.gmp file below to follow along.
Attachment: Layer_Management.zip (Verified and safe file for Global Mapper.)
Looking at the layers registered in the Control Center, you'll notice that the icon to the left of the layer name changes based on the elements the layer contains (Terrain, Raster, Point, Line, or Area).
If you select a layer and right-click, a context menu appears. At the very bottom, you will see the Layer item. The sub-items under this menu vary depending on the layer type.
Since we are only dealing with Elevation Layers today, let's look at the context menu specific to them.
Elevation Layer Menu Functions
- Create Workspace File from Selected Layer(s)...: Saves the selected layer as a Workspace file (.gmw).
- EXPORT - Export Layer(s) to New File...: Exports the selected layer to a new file format.
- MAP CATALOG - Add Selected Layer(s) to Map Catalog...: Adds the layer to a Map Catalog (useful for massive, national-scale datasets).
- BBOX/COVERAGES - Create Layer Coverage Box/Polygon Area Features: Generates a bounding box that encompasses all elements in the layer.
- Create Point Cloud from Elevation Layer: Converts elevation data into a Point Cloud.
- Create Area Features from Equal Values...: Creates polygon features based on equal elevation ranges or values.
- Vectorize Raster: Converts data into vectors (lines or polygons) based on threshold values.
- Create Mesh Features from Terrain...: Generates mesh features based on terrain data (a preliminary step for creating TIN models).
- Find Extreme (Min/Max) Elevation Values...: Searches for the minimum and maximum elevation values within the layer.
- Link External Metadata File: Connects the layer with external metadata (XML, TXT, etc.).
- Save List of Layers to Text File...: Saves the current project's layer list as a text file.
- Set Background Color for Layer in Control Center: Sets a custom background color for the layer entry in the Control Center.
Create Bounding Boxes and Coverage Areas
Items 1, 2, 3, 10, 11, and 12 are fairly self-explanatory, so let's explore the remaining functions. BBOX/COVERAGES is a common feature used across all layer types, not just Elevation. It creates a rectangular or polygonal border that contains every element in the selected layer.
When you select BBOX, a window appears asking you to select the layers. Select "Elevation" and click OK. Then, it asks whether you want a rectangular bounding area or a polygonal coverage area.
Choosing "Yes" creates the smallest possible rectangle containing all elements. "No" creates a polygon that fits the actual shape of the data more closely. In the example, a new layer called Elevation (Bounds) is created.
Next, let's try creating a polygon around a Point layer using the "No" (Polygonal) option. A Concave Hull Options window will appear, allowing you to set the "Smoothing" factor. Higher smoothing values simplify irregular boundaries
Create Point Clouds from DEM Data
Now, let's look at Create Point Cloud from Elevation Layer. This function converts DEM (Digital Elevation Model) data into individual points, each containing an elevation value.
Personally, I wish there were a function to adjust the density of the generated points, but that option isn't available here. Once you click OK, an Elevation Points layer is created. In my test, it generated 44,290 features.
If you turn off the DEM layer and zoom in, you can see the individual points. By using the Feature Info Tool (Alt+P) and clicking on a point, you can inspect its attribute information, including its precise elevation.
That's all for today...
- Learn previous workflow in 016] How to Automate Parcel Image Exports in Global Mapper Using Python
-
001] How to Create a DEM from Contour SHP Files in Global Mapper
Learn how to create a Digital Elevation Model (DEM) from contour data and other sources. -
003] How to Create DEMs and Perform Terrain Analysis in Global Mapper
Perform slope, aspect, and raster-based terrain analysis using DEM data. -
010] How to Perform DEM Arithmetic and Terrain Calculations in Global
Mapper
Learn how to combine, compare, and calculate multiple DEM layers for advanced GIS analysis.
Comments
Post a Comment
Feel free to leave a comment if you have any questions about Global Mapper or CityEngine. I will get back to you with a sincere response as soon as possible. (Please note that all comments are moderated and manually approved to maintain a high-quality community. Promotional or spam content will not be published.)