#31567: Reversed coordinate order on Ubuntu 20.04
--------------------------------------+------------------------
Reporter: stnatic | Owner: nobody
Type: Bug | Status: new
Component: GIS | Version: 3.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
--------------------------------------+------------------------
After saving a feature with OSMGeoAdmin, the resulting polygon has the
following coordinates (a rough area drawn over Berlin, Germany):
SRID=4326;POLYGON ((53.06762663713198 12.23876952954696, 53.35710874043545
14.91943359167391, 51.78143559920171 14.94140624792098, 51.94426487379543
11.79931640460816, 53.06762663713198 12.23876952954696))
Coordinates follow the (latitude, longitude) convention which is reverse
of what is expected by PostGIS.
I've tried to run the same project on another Mac OS X environment and
there coordinates are correctly saved as longitude/latitude.
There's a chance that it is not a Django issue, but rather GDAL not being
fully supported on the latest ubuntu.
gdalinfo --version
GDAL 3.0.4, released 2020/01/28
django==3.0.6
--
Ticket URL: <https://code.djangoproject.com/ticket/31567>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.af7263772a649305a9a058f57f813cec%40djangoproject.com.