Re: [gdal-dev] Python bindings: enabling exceptions by default?

2023-03-20 Thread Even Rouault
Does whether we call it 3.7 or 4.0 affect how long 3.6 is supported ? I don't think Alan's comment would suggest that the next feature version planned for may would be called other than 3.7.0. IMHO there should be more substantial breaking changes to call it 4.0 than just what is discussed

Re: [gdal-dev] Python bindings: enabling exceptions by default?

2023-03-20 Thread Andrew C Aitchison
On Mon, 20 Mar 2023, Alan Snow wrote: I think that this is a good change. However, I recommend making this change associated with the GDAL 4.0 release as it is likely going to break existing codebases. Does whether we call it 3.7 or 4.0 affect how long 3.6 is supported ? -- Andrew C.

Re: [gdal-dev] GDAL does not get correct GCPs from ESRI GeodataXform

2023-03-20 Thread Even Rouault
Filed as https://github.com/OSGeo/gdal/issues/7484 : At first sight the issue is that file uses TIFFTAG_RESOLUTIONUNIT=3 (pixels/cm), whereas the current code only deals with TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch) Le 20/03/2023 à 22:09, Rahkonen Jukka a écrit : Hi, I noticed this question

Re: [gdal-dev] Python bindings: enabling exceptions by default?

2023-03-20 Thread Frank Warmerdam
Folks, As long as there is a clear path to disabling python exception handling fairly cleanly I can live with it. Like Kurt, we have a large code base using GDAL mostly without exceptions enabled for GDAL. If there is going to be a change, I also agree 4.0 is the time to do it. Best regards,

[gdal-dev] GDAL does not get correct GCPs from ESRI GeodataXform

2023-03-20 Thread Rahkonen Jukka
Hi, I noticed this question in gis.stackexchange https://gis.stackexchange.com/questions/455609/warping-arcgis-9-2-georeferenced-tiffs-using-gdal-warp. It seems that GDAL cannot interpret right the ground control points which are stored into the aux.xml file. I can see that the support for

Re: [gdal-dev] Python bindings: enabling exceptions by default?

2023-03-20 Thread Kurt Schwehr
We are heavy users of the swig bindings. We have some Fiona users and are only just now in the process of starting to use rasterio. We have only 3 instances of calling UseExceptions. Turning on UseExceptions immediately blew up a bunch of my tests that were making incorrect assumptions. Nothing

Re: [gdal-dev] Python bindings: enabling exceptions by default?

2023-03-20 Thread Alan Snow
I think that this is a good change. However, I recommend making this change associated with the GDAL 4.0 release as it is likely going to break existing codebases. On Mon, Mar 20, 2023, 12:58 PM Howard Butler wrote: > > > > On Mar 19, 2023, at 7:34 AM, Even Rouault > wrote: > > > > Hi, > > > >

Re: [gdal-dev] Python bindings: enabling exceptions by default?

2023-03-20 Thread Howard Butler
> On Mar 19, 2023, at 7:34 AM, Even Rouault wrote: > > Hi, > > I've prepared a pull request that does the above, but this raises a number of > questions. See my longish comment at > https://github.com/OSGeo/gdal/pull/7475#issuecomment-1475239852. Thoughts > appreciated First off, thank