"Unable to grid 3D points from selected overlays."
Hi,
I'm trying to use the Global Mapper SDK to create a GeoTIFF from several layers of elevation data.
I've noticed that depending on the resolution that I pass into my GM_GridGenSetup_t object, I will sometimes get this error after calling GM_GenerateElevationGrid().
The full error information that I get is:
Unable to grid 3D points from selected overlays. Access is denied. MemoryMappedFile.cpp - 403
It appears to happen when I pass in a very coarse resolution. For example if I set my GM_GridGenSetup_t object's mXRes and mYRes to 0.5 pixels per meter, I get no error. But if I pass in say 0.05 pixels per meter, then I get the error as described.
I'm trying to use the Global Mapper SDK to create a GeoTIFF from several layers of elevation data.
I've noticed that depending on the resolution that I pass into my GM_GridGenSetup_t object, I will sometimes get this error after calling GM_GenerateElevationGrid().
The full error information that I get is:
Unable to grid 3D points from selected overlays. Access is denied. MemoryMappedFile.cpp - 403
It appears to happen when I pass in a very coarse resolution. For example if I set my GM_GridGenSetup_t object's mXRes and mYRes to 0.5 pixels per meter, I get no error. But if I pass in say 0.05 pixels per meter, then I get the error as described.
Comments
-
You are likely specifying a grid size that is too large to fit in a temp file in your temp folder. When a grid is large is spills to a temp file on disk, if you run out of disk space where that file is being placed you will get an error. How much space is on the drive that has your temp folder?
Thanks,
Mike
Global Mapper Guru
gmsupport@bluemarblegeo.com
http://www.globalmapper.com -
Hi Mike,
Thanks for the reply. The drive does only have a gig or so free so that might be the issue.
Is the resolution passed into the GM_GridGenSetup_t object a pixels per unit or a units per pixel measurement?
As I mentioned 0.5 works but 0.25 does not.
Thanks,
James -
James,
It's a "units per pixel" measurement, so 0.25 would create twice the resolution and require 4 times the storage.
Thanks,
Mike
Global Mapper Guru
gmsupport@bluemarblegeo.com
http://www.globalmapper.com -
Thanks Mike, that clears up very neatly some long-held assumptions that were absolutely wrong.
Categories
- 12.8K All Categories
- 5.7K Features Discussion
- 345 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 636 GM Script Language
- 54 User Scripts
- 114 GPS Features
- 417 Projection Questions
- 826 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 178 Announcement and News
- 913 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 569 Other Discussion
- 131 GIS Data Sources
- 27 Global Mapper Showcase
- 238 How I use Global Mapper
- 107 Global Mapper Forum Website