Re: [gdal-dev] Weird behavior while reprojecting geometries

2022-03-04 Thread Hugo
Hi Idan, It is indeed this the issue. I was not aware of this change. Man, it has been a while since I have touched GDAL. Thanks a lot for your help. Idan Miara escreveu no dia sexta, 4/03/2022 à(s) 12:13: > > > On Fri, 4 Mar 2022, 13:12 Idan Miara, wrote: > >> Hi, >> Are you familiar with the

Re: [gdal-dev] Weird behavior while reprojecting geometries

2022-03-04 Thread Idan Miara
On Fri, 4 Mar 2022, 13:12 Idan Miara, wrote: > Hi, > Are you familiar with the axis order that was introduced in gdal 3 and its > affects on 4326? > https://gdal.org/tutorials/osr_api_tut.html#crs-and-axis-order > > On Fri, 4 Mar 2022, 13:07 Hugo, wrote: > >> Hi guys, >> >> I'm having weird beha

[gdal-dev] Weird behavior while reprojecting geometries

2022-03-04 Thread Hugo
Hi guys, I'm having weird behavior using ogr and osr through python while reprojecting point geometries. Following code: wgs = osr.SpatialReference() wgs.ImportFromEPSG(4326) etrs = osr.SpatialReference() etrs.ImportFromEPSG(3763) geom = ogr.Geometry(ogr.wkbPoint) geom.AddPoint(-9.10165,38.7398