Any hint to speed up GM_GenerateElevationGrid
Yann DUPUY Global Mapper UserTrusted User
another strange thing with using GM SDK 19 instead of 16.
I used to be quite happy with the time needed and the resulting quality of producing altimetry grid from 3D shapes.
It took something like 5 to 10 seconds, and that was fine.
Now with v19 I need many minuts (probably more than an hour but I can't wait till the end... ) for the same amount of data.
The "Populating elevation grid" step is taking ages. I can't figure which GM_GridGenSetup_t parameter I need to change to get a faster restult (just like the one I had before). Any hint ?
I would suggest you to check whether the settings are same for both v19 and v16. The grid tightness should be checked as this in particular might slow down the process. Please let us know if this fixed the issue.
My parameters are strictly identical as it is the same piece of software that I use either with v16 or v19.
I tried the tightness but have probably missed something since it as no noticeable improvement. Forcing x and y resolutions to something «big» has significant effect.
I ran v19 just before leaving office today (with automatic resolutions) and will check tomorrow what could be the differences between the layers info.
Hello again,the problem obviously comes from the GM_GridGen_FillToBounds flag.Without this flag, the grid creation is lightning fast.Turning this flag on, leads to the following results : (GM 19 top, and GM 16 bottom)Though GM 19 result seems smoother and more realistic, is there a way to have a "quick and (not so) dirty" result similar to the one obtained with GM 16 ?Thanks,Yann
Thank you for sending the images. Can you send us the data files you are working on to firstname.lastname@example.org. We will look into that once we have the required information. Please let me know in case of additional questions.
- 12.4K All Categories
- 5.4K Features Discussion
- 314 Downloading Imagery
- 1.3K Elevation Data
- 377 Georeferencing Imagery Discussion
- 603 GM Script Language
- 49 User Scripts
- 112 GPS Features
- 394 Projection Questions
- 800 Raster Data
- 1.3K Vector Data
- 6.5K Support
- 161 Announcement and News
- 890 Bug Report
- 556 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 537 Other Discussion
- 128 GIS Data Sources
- 26 Global Mapper Showcase
- 224 How I use Global Mapper
- 104 Global Mapper Forum Website