This didn't work unfortunately Sean. No errors .... but nothing else
was wrote out as I was hoping. If you get a few minutes would you mind
testing to ensure I'm not going crazy? Thanks, James
On Thu, 27 Jun 2019 at 23:05, Sean Gillies via Groups.Io
Sorry, James, I messed up and used the GDAL vernacular. Replace YES with True and I think you'll be good to go.
On Thu, Jun 27, 2019 at 3:09 PM James David Smith <james.david.smith@...> wrote:
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?