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!
Howdy, Stranger!
Categories
- 12.2K All Categories
- 5.3K Features Discussion
- 312 Downloading Imagery
- 1.2K Elevation Data
- 371 Georeferencing Imagery Discussion
- 580 GM Script Language
- 42 User Scripts
- 111 GPS Features
- 388 Projection Questions
- 788 Raster Data
- 1.3K Vector Data
- 6.4K Support
- 159 Announcement and News
- 881 Bug Report
- 554 SDK
- 1.1K Suggestion Box
- 3.6K Technical Support
- 520 Other Discussion
- 125 GIS Data Sources
- 26 Global Mapper Showcase
- 217 How I use Global Mapper
- 99 Global Mapper Forum Website