Opened 2 hours ago

Last modified 74 minutes ago

#37215 assigned New feature

Geography should accept SRID other than 4326 — at Version 1

Reported by: Djonathan Owned by:
Component: GIS Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Djonathan)

Since version 2.2 PostGIS accepts any geographic SRID with the geography type, but django still has a check to prevent it. It would be nice to remove this restriction from Django.

PostGIS documentation confirming this:
https://postgis.net/docs/manual-3.1/postgis_usage.html#PostGIS_Geography:~:text=Prior%20to%20PostGIS%202.2

Django restriction:
https://github.com/django/django/blob/main/django/contrib/gis/db/backends/postgis/operations.py#L263

I can work on this if accepted.

Change History (1)

comment:1 by Djonathan, 101 minutes ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top