[Django] #33783: isempty spatial lookup

6 views
Skip to first unread message

Django

unread,
Jun 13, 2022, 10:16:05 AM6/13/22
to django-...@googlegroups.com
#33783: isempty spatial lookup
---------------------------------------+------------------------
Reporter: Nicolas Noé | Owner: nobody
Type: New feature | Status: new
Component: GIS | Version: 4.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 |
---------------------------------------+------------------------
Just like there is a `isvalid` spatial lookup
(https://docs.djangoproject.com/en/4.0/ref/contrib/gis/geoquerysets/#isvalid),
it would be nice to have `isempty`.

PostGIS covers us: https://postgis.net/docs/ST_IsEmpty.html

--
Ticket URL: <https://code.djangoproject.com/ticket/33783>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jun 13, 2022, 1:16:41 PM6/13/22
to django-...@googlegroups.com
#33783: isempty spatial lookup
-----------------------------+--------------------------------------

Reporter: Nicolas Noé | Owner: nobody
Type: New feature | Status: new
Component: GIS | Version: 4.0
Severity: Normal | Resolution:

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

Comment (by Mariusz Felisiak):

MySQL and MariaDB doesn't support GIS empty values such as `POINT EMPTY`,
it's probably also not supported on Oracle. It looks like it's only
supported on PostGIS and SpatiaLite.

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

Reply all
Reply to author
Forward
0 new messages