Re: Writing ESRI sidecar files


Sean Gillies
 

Hi James,

I have tried this myself, but I think you'll want to add both GDAL_PAM_ENABLED=YES and ESRI_XML_PAM=YES to the Env.



On Thu, Jun 27, 2019 at 11:11 AM James David Smith <james.david.smith@...> wrote:
Hello,

I'm trying to use rasterio to manipulate a file and then write it out,
along with accompanying ESRI-type files. So the output files will be:

raster.tif,
raster.tif.aux.xml
raster.tif.ovr

I think before writing the file I can do something like this to create
the ovr file.

rasterio.Env(TIFF_USE_OVR=True)

Is there a similar command to create the aux.xml file please?

Thanks, James





--
Sean Gillies

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