[gdal-dev] USGS DEM Header - Long/Lat in Different Formats

Metzen osgeo at gzmarketing.com
Mon Jan 13 14:22:26 PST 2014

I have several USGS DEM files in different resolutions from different
sources, and the coordinates in the headers are in different formats.

In one file the long/lat shows up as:
-105 0 1.8333  385958.1667   (spaces, no spaces)

In the other file the long/lat shows up as:
-104 0 0.0000  52 0 0.0000   (spaces, spaces)

Are both formats valid?

Is there a predictable way to determine which format it will (should) be in?

I can't find any documentation on the variations in coordinate notation.

View this message in context: http://osgeo-org.1560.x6.nabble.com/USGS-DEM-Header-Long-Lat-in-Different-Formats-tp5097877.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.

More information about the gdal-dev mailing list