developmentseed / sat-gbdx

Library and CLI to search and access GBDX imagery
MIT License
3 stars 1 forks source link

Add GeoTransform to PAM metadatafile for geolocating thumbnails #2

Open matthewhanson opened 6 years ago

matthewhanson commented 6 years ago

Currently downloaded thumbnails will create an ESRI Worldfile, but this does not contain the SRS.

A PAM file is created (.aux.xml) which contains the SRS, but this results in two sidecar files.

Instead of creating a Worldfile, include the GeoTransform in the PAM file.

matthewhanson commented 6 years ago

Actually, not sure this will work either. QGIS doesn't seem to respect the PAM .aux.xml file, so still requires user to set SRS when opening the thumbnail in QGIS.

Need to investigate further.