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.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