[Django] #31567: Reversed coordinate order on Ubuntu 20.04

8 views
Skip to first unread message

Django

unread,
May 11, 2020, 10:45:32 AM5/11/20
to django-...@googlegroups.com
#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.

Django

unread,
May 11, 2020, 10:51:47 AM5/11/20
to django-...@googlegroups.com
#31567: Reversed coordinate order on Ubuntu 20.04.
-------------------------------------+-------------------------------------
Reporter: stnatic | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: GIS | Version: 3.0
Severity: Normal | Resolution: duplicate

Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):

* status: new => closed
* type: Bug => Cleanup/optimization
* resolution: => duplicate


Comment:

GDAL 3.0 is not supported in Django 3.0. Duplicate of #30678.

--
Ticket URL: <https://code.djangoproject.com/ticket/31567#comment:1>

Reply all
Reply to author
Forward
0 new messages