Thanks for the tip Sean, but that doesn't work for me.
with rasterio.Env(TIFF_USE_OVR=True, GDAL_PAM_ENABLED=YES, ESRI_XML_PAM=YES):
----- name 'YES' is not defined
If I change 'YES' to True then the code runs .... but I'm not sure
it's recognizing the commands as the aux.xml file isn't created (but
the .ovr is).
Anyone got a good idea?
On Thu, 27 Jun 2019 at 18:53, Sean Gillies via Groups.Io
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:
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:
I think before writing the file I can do something like this to create
the ovr file.
Is there a similar command to create the aux.xml file please?