Export Elevation to ARC ASCII missing entries.
pmace
Global Mapper UserTrusted User
Mike,
I expect, beyond the header, the file to contain NUMROWS*NUMCOLS entries with whitespace between.
It does not--indeed on relatively large are it falls well over a row short--and the error seems to be creeping and gradual as data points are displaced up and to the left the farther we progress in the file.
Am I missing something rudimentary here?
I expect, beyond the header, the file to contain NUMROWS*NUMCOLS entries with whitespace between.
It does not--indeed on relatively large are it falls well over a row short--and the error seems to be creeping and gradual as data points are displaced up and to the left the farther we progress in the file.
Am I missing something rudimentary here?
Comments
-
Are you seeing that if you load the file back into Global Mapper? I would also expect NUMROWS * NUMCOLS entries with whitespace in between. Perhaps your importer is missing an entry per row or something?
Thanks,
Mike
Global Mapper Support
support@globalmapper.com -
Dug a little further. It appears every line terminates with a -9999 and a newline. Not clear from the ARC asciii spec that this should be the case. But, if true and intentional, is the -9999 a valid column value? I'll assume yes, and it is an artifact of the 'edge' of the source data.
-
OK,
Confirmed. All lines terminate with CR-LF. Last value is -9999 (missing data value). Probably due to math carrying sampler beyond the last valid column. but, taking that into account, NUMROWS*NUMCOLS produces exact population for matrix. -
Yes -9999 would be the invalid value, so it just sounds like there is a column of void values on the right edge.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com
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