Export elevation data to ascii files using gridding
nychrys
Global Mapper User
Hi GM team,
I have some elevation data which follows a coast line, it is only about 1km wide but about 1000km long and travels SW/NE diagonal. The cell size is 5meters. I need to export it to an ascii file.... If i export it to one file the ascii file is huge, 100,000+ rows and columns!!! and basically 99% null.
I have tried to use the gridding feature, tile width 2km and height 2km, but it seem this still exports the entire extent of all tiles even if they only contain null values. Can someone help me only export the tiles with some elevation data.
cheers
Nick
I have some elevation data which follows a coast line, it is only about 1km wide but about 1000km long and travels SW/NE diagonal. The cell size is 5meters. I need to export it to an ascii file.... If i export it to one file the ascii file is huge, 100,000+ rows and columns!!! and basically 99% null.
I have tried to use the gridding feature, tile width 2km and height 2km, but it seem this still exports the entire extent of all tiles even if they only contain null values. Can someone help me only export the tiles with some elevation data.
cheers
Nick
Comments
-
Nick,
I would suggest using a sparse format, like XYZ Grid, that way you should only get XYZ tuples where there is valid data.
Let me know if I can be of further assistance.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com -
Hi Mike,
I need ascii files as they are an input to another processes. I have a script now which deletes all the ascii files that only contain null values. I hoped that there would be a way to avoid creating them in the first place.
cheers
Nick
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 628 GM Script Language
- 53 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website