Re: Writing ESRI sidecar files


Even Rouault
 

On vendredi 28 juin 2019 08:26:35 CEST Sean Gillies wrote:
If you are creating a GeoTIFF it is possible that no XML file will be
written. As Even Rouault explains in
https://lists.osgeo.org/pipermail/gdal-dev/2010-May/024522.html, the PAM
file is only created if needed.
Indeed. You can play with the GTIFF specific PROFILE creation option
(see https://gdal.org/drivers/raster/gtiff.html#creation-issues)

PROFILE=BASELINE: .aux.xml only created if presence of georeferencing and/or
user metadata
PROFILE=GEOTIFF: .aux.xml only created if there's user metadata
PROFILE=GDALGeoTIFF: .aux.xml only created if user metadata doesn't fit in
TIFF tag

Even

--
Spatialys - Geospatial professional services
http://www.spatialys.com

Join main@rasterio.groups.io to automatically receive all group messages.