Re: [gdal-dev] OGR GeoJSON transormation woes

2020-05-07 Thread Frank Broniewski
Ah, I did not make myself clear enough. My intention surely wasn't to change any existing standards/formats, I believe especially the GeoJSON coordinate thing has been already sufficiently discussed. I was referring to the GeoJSON data I receive in my plugin or any future project. I was merely

Re: [gdal-dev] OGR GeoJSON transormation woes

2020-05-07 Thread Even Rouault
> PS > is the API documentation for Python up to date? The SpatialReference > docs [3] are missing the SetAxisMappingStrategy method Thanks for pointing that. There was indeed an issue with the refresh of the Python API. This is now mentionned -- Spatialys - Geospatial professional services h

Re: [gdal-dev] OGR GeoJSON transormation woes

2020-05-07 Thread Even Rouault
On jeudi 7 mai 2020 03:28:15 CEST jratike80 wrote: > Hi, > > I fear that such a change in GeoJSON would not really correct anything but > rather move the confusion into another place. Yeah, especially since GeoJSON rather claims using OGC:1.3:CRS84 which is long, lat. But for interoperability w

Re: [gdal-dev] OGR GeoJSON transormation woes

2020-05-07 Thread jratike80
Hi, I fear that such a change in GeoJSON would not really correct anything but rather move the confusion into another place. -Jukka Rahkonen- Frank Broniewski-6 wrote > But after reading all this stuff, I wonder if it would not have been > better/more right to "correct" the GeoJSON coordinate

Re: [gdal-dev] OGR GeoJSON transormation woes

2020-05-07 Thread Frank Broniewski
Hi Even, thank you very much for the hint. Although after researching on it I fell into a rabbit hole and just barely got out, but with a decent headache ;-) Why do these coordinate systems and their axes have to be so complicated, they make my head hurt ... :-) For future readers on the top

Re: [gdal-dev] OGR GeoJSON transormation woes

2020-05-06 Thread Even Rouault
On mercredi 6 mai 2020 16:27:24 CEST Frank Broniewski wrote: > Hi everybody, > > I've written a small plugin for QGIS in which I am using OGR to > transform GeoJSON from a Web API into a national CRS. > It used to work fine, but the changes introduced to axis ordering with > the latest versions of

[gdal-dev] OGR GeoJSON transormation woes

2020-05-06 Thread Frank Broniewski
Hi everybody, I've written a small plugin for QGIS in which I am using OGR to transform GeoJSON from a Web API into a national CRS. It used to work fine, but the changes introduced to axis ordering with the latest versions of GDAL introduced errors in my code. Things aren't anymore where they