Carl Godkin-2 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> > ) > > I was hoping that GDAL would treat the file as if it's a GeoTIFF. But if > I > run gdalinfo on the .tif, it doesn't seem to read the coordinate system or > GCPs. Instead, I see this: > > Driver: GTiff/GeoTIFF > Files: USGS.tif > USGS.tif.aux.xml > Size is 11451, 12188 > Coordinate System is `' > ... > Corner Coordinates: > Upper Left ( 0.0, 0.0) > Lower Left ( 0.0,12188.0) > Upper Right (11451.0, 0.0) > Lower Right (11451.0,12188.0) > Center ( 5725.5, 6094.0) > ... > > Am I missing something? I have GDAL_DATA set appropriately and am using > GDAL 2.1.1 on Windows. > > I would like to either treat the .tif + .tif.aux.xml as a GeoTIFF or else > translate it to one. > > Thanks very much, > > carl
Hi, Image is georeferenced with ground control points. I wonder what happens if you push it through gdalwarp: gdalwarp -s_srs epsg:xxxx -t_srs epsg:xxxx USGS.tif USGS_warped.tif -Jukka Rahkonen- -- View this message in context: http://osgeo-org.1560.x6.nabble.com/gdal-dev-Question-about-aux-xml-sidecar-file-handling-tp5303876p5303953.html Sent from the GDAL - Dev mailing list archive at Nabble.com. _______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
