Best way to split elevation data using lat/lon grids and preserve data extent
I have elevation data that I am trying to split up using a 1 degree lat/lon grid. My initial idea was I could just set the export bounds to the lat/lon boundaries using the below line as part of my export. The parameters are variables set in another part of the code.
LAT_LON_BOUNDS="%WEST_LON%,%SOUTH_LAT%,%EAST_LON%,%NORTH_LAT%"
This works but when I load in the exported file the extent of the data is the entire Lat/Lon grid tile instead of just where the actual elevation data exists. This results in a larger file size and slower draw times when the data never fills up an entire 1 degree lat/lon grid tile. Is there a good way to make the export still split by the lat/lon coordinates I give it but have the extent be fitted to the actual data in that tile instead of set to the entire tile extent?
Categories
- 12.6K All Categories
- 5.6K Features Discussion
- 337 Downloading Imagery
- 1.3K Elevation Data
- 379 Georeferencing Imagery Discussion
- 626 GM Script Language
- 52 User Scripts
- 113 GPS Features
- 407 Projection Questions
- 816 Raster Data
- 1.3K Vector Data
- 6.5K Support
- 175 Announcement and News
- 904 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 559 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 231 How I use Global Mapper
- 106 Global Mapper Forum Website