[Django] #37173: Support for curved geometry types

5 views
Skip to first unread message

Django

unread,
Jun 16, 2026, 2:23:26 AM (11 days ago) Jun 16
to django-...@googlegroups.com
#37173: Support for curved geometry types
------------------------+---------------------------------------
Reporter: m-kuhn | Type: New feature
Status: new | Component: GIS
Version: dev | 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
------------------------+---------------------------------------
GeoDjango has support for various geometry types (Point, Line, Polygon and
their Multi types), the gdal component also supports curves but geos and
the db mapping do not yet have support for curved types.

Support for the following types should be added for supporting curved
types:

CircularString,
CompoundCurve,
CurvePolygon,
MultiCurve,
MultiSurface

We have been working on libgeos to introduce basic support for curves in
version 3.13 [https://github.com/libgeos/geos/releases/tag/3.13.0], the
support is gradually improved in the algorithms in 3.14 and upcoming 3.15.

Postgis allows for storing curved types for a long time already.

We will be happy to work on support for this.
--
Ticket URL: <https://code.djangoproject.com/ticket/37173>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jun 16, 2026, 6:13:38 PM (10 days ago) Jun 16
to django-...@googlegroups.com
#37173: Support for curved geometry types
-------------------------------+-----------------------------------------
Reporter: Matthias Kuhn | Owner: Matthias Kuhn
Type: New feature | Status: assigned
Component: GIS | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+-----------------------------------------
Changes (by David Smith):

* owner: (none) => Matthias Kuhn
* stage: Unreviewed => Accepted
* status: new => assigned

Comment:

Thanks for the ticket. Adding support for curved geometries to GEOS /
database would be a good next step in this area. #34406 was the ticket
that resulted in GDAL support for curved geometries being added.

#36849 was a sidequest from when I speculatively looked at this
(Nov-2024). GEOS raised many error messages (or at least 3.13 did) as many
functions did not support curved geometries. Django currently crashes with
an unintuitive `GEOSException` in this scenario with the underlying GEOS
message not easily visible. That ticket/patch aim to improve that.

A patch would be very welcome. I'll set yourself as the owner of the
ticket.
--
Ticket URL: <https://code.djangoproject.com/ticket/37173#comment:1>
Reply all
Reply to author
Forward
0 new messages