On jeudi 19 janvier 2017 11:43:00 CET Andrew C Aitchison wrote: > On Thu, 19 Jan 2017, Even Rouault wrote: > > On mercredi 18 janvier 2017 06:55:49 CET Carl Godkin wrote: > >> Hi, > >> > >> I have a geological map in a pair of files called USGS.tif and > >> USGS.tif.aux.xml > >> > >> The XML seems to have ground control points (<SourceGCPs>) and a > >> geographic > >> coordinate system (<SpatialReference>) > > > > GDAL .aux.xml files do no have <SourceGCPs> or <SpatialReference> > > elements, > > so it looks like this .aux.xml file is a USGS specific one (yikes!) > > An .aux.xml file with <SourceGCPs> and <SpatialReference> elements > has come up before, as output from ArcGIS; see > http://osgeo-org.1560.x6.nabble.com/gdal-dev-convert-tif-tfwx-aux-xml-to-a-g > eotiff-td4981730.html#a4982138
Ah, good catch. Digging further, I can see that GDAL code has some support for interpreting part of this ESRI specific stuff in https://github.com/OSGeo/gdal/blob/trunk/gdal/gcore/gdalpamdataset.cpp#L416 But that's only for GeodataXform.SpatialReference.WKT, not for GCPs. -- Spatialys - Geospatial professional services http://www.spatialys.com
_______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
