Re: [gdal-dev] Possible bug in gdal.TransformPoint() gdal 3.0.1

2020-01-08 Thread Deschamps, Benjamin (EC)
-Original Message- From: Even Rouault Sent: January 7, 2020 16:57 To: gdal-dev@lists.osgeo.org Cc: Deschamps, Benjamin (EC) Subject: Re: [gdal-dev] Possible bug in gdal.TransformPoint() gdal 3.0.1 Benjamin, > Not sure if this is a bug so posting here first... This is an intented change

Re: [gdal-dev] Possible bug in gdal.TransformPoint() gdal 3.0.1

2020-01-07 Thread Even Rouault
Benjamin, > Not sure if this is a bug so posting here first... This is an intented change of behaviour of GDAL 3. See https://github.com/OSGeo/gdal/blob/release/3.0/gdal/MIGRATION_GUIDE.TXT#L10 > from osgeo import osr > in_crs = osr.SpatialReference() > in_crs.ImportFromEPSG(4326) If you want t

[gdal-dev] Possible bug in gdal.TransformPoint() gdal 3.0.1

2020-01-07 Thread Deschamps, Benjamin (EC)
Hi gdal-dev list, Not sure if this is a bug so posting here first... I am having to reverse X and Y coordinates in a coordinate transformations (in at least 3 different dst_crs) otherwise I am getting -inf values. Python bindings with GDAL 3.0.1, Python 3.7.2 64-bit on Windows 10. For a point