dae building at wrong elevation
kentman
Global Mapper UserTrusted User
I have just downloaded a KMZ containing a dae of Canterbury Cathdral and brought it into GM16 on top of a LiDAR DTM but it sits partially below the surface (see image). How can I 'pull it up' so it sits on the DTM correctly?
Kent
Cathedral.jpg
Kent
Cathedral.jpg
Comments
-
Hi Kent,
At this time, there's not a lot that you can do in Global Mapper itself. The meshes that compose the don't respond to the 3D setting "Relation of Vector Data Elevations to Terrain" in the same way that points, lines and areas do. 3D models do have a setting whereby an elevation can be set, and relation to the terrain defined, but there's currently no way to edit them yet; we'll be looking to add that in the near future (I'll make a ticket for the feature when I get back to the office).
What you can do is unzip your KMZ file to a new folder (rename the extension from ".kmz" to to ".zip" first, if need be), locate the "doc.kml" file that should exist in the unzipped folder tree, and bring it up in a text editor. There are two settings that you can tinker with that would affect elevation: altitude mode and altitude. You should see them looking something like the following (the red values are the ones you would change):<Location> <longitude>-1.797294483088</longitude> <latitude>51.064949026403</latitude> <altitude>[COLOR=#FF0000]0.000000000000[/COLOR]</altitude> </Location>
The altitude setting here gives the base elevation for the model, in meters.<altitudeMode>[COLOR=#ff0000]relativeToGround[/COLOR]</altitudeMode>
Altitude mode governs how the base elevation is interpreted. Allowable values are:
"relativeToGround" --> actual model elevation is taken as the elevation of the terrain + the altitude setting above
"clampToGround" --> actual model elevation is taken as the elevation of the terrain, ignoring the altitude setting above
"absolute" --> actual model elevation is taken as the altitude setting above, ignoring the elevation of the terrain
"relativeToSeaFloor" --> elevation is taken as relative to the sea floor; not implemented currently in GM
"clampToSeaFloor" --> base elevation is set to the value of he sea floor; not implemented currently in GM
I hope this helps; we should be able to make it a bit easier for Global Mapper users in the future.
Best regards,
~Jeff
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 628 GM Script Language
- 53 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website