Export Elevation / Web Format - VRML / Resample Elevation Grid
Comments
-
Brian,
The down-sampling will occur automatically based on the export bounds and pixel dimensions that you provide to the export call. By default an appropriate resampling method (GM_SamplingMethod_t8) will be selected based on how much you are resampling, but you can specify an explicit resampling method to use by calling GM_SetRasterDisplayOptions (call GM_GetRasterDisplayOptions to get first) to set a specific mSamplingMethod to use.
Thanks,
Mike
Global Mapper Guru
gmsupport@bluemarblegeo.com
Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation -
Thanks Mike, this works great - it looks like the default mSamplingMethod is set to GM_SAMPLING_BILINEAR_INTERPOLATION.
Future request - perhaps a GM_SetRasterDisplayOptionsEx to include aLayerList (set multiple layers all at once with the same info?). Probably wouldn't make much sense on the Get side of things, as each layer could potentially be different (best to spin through them).
Brian -
I really enjoyed reading this post. I congratulate you for the terrific job you've made. Great stuff, just simply amazing!
Categories
- 12.5K All Categories
- 5.5K Features Discussion
- 314 Downloading Imagery
- 1.3K Elevation Data
- 377 Georeferencing Imagery Discussion
- 611 GM Script Language
- 50 User Scripts
- 112 GPS Features
- 397 Projection Questions
- 803 Raster Data
- 1.3K Vector Data
- 6.5K Support
- 161 Announcement and News
- 893 Bug Report
- 557 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 542 Other Discussion
- 128 GIS Data Sources
- 26 Global Mapper Showcase
- 229 How I use Global Mapper
- 104 Global Mapper Forum Website