#34406: Add support for curved geometries in GeoDjango
-------------------------------------+-------------------------------------
Reporter: Fabien Le Frapper | Owner: Fabien Le
| Frapper
Type: New feature | Status: assigned
Component: GIS | Version: 4.1
Severity: Normal | Resolution:
Keywords: geodjango gdal | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by David Smith):
Here is a link to GDAL's RFC for "Curve geometries"
[https://gdal.org/development/rfc/rfc49_curve_geometries.html RFC 49]
This required the following C API changes. I think we should make a
decision on each of these (should Django implement them) as part of this
ticket.
- OGR_GT_xxxx (for Geometry Type)
- OGRErr OGR_G_ExportToIsoWkb( OGRGeometryH, OGRwkbByteOrder, unsigned
char*) -- Proposed in [https://github.com/django/django/pull/17696 PR]
- OGRErr OGR_G_ExportToIsoWkt( OGRGeometryH, char ) -- Proposed in
[https://github.com/django/django/pull/17696 PR]
- OGRGeometryH OGR_G_Value( OGRGeometryH, double dfDistance )
- int OGR_G_HasCurveGeometry( OGRGeometryH, int bLookForNonLinear )
- OGRGeometryH OGR_G_GetLinearGeometry( OGRGeometryH hGeom, double
dfMaxAngleStepSizeDegrees, char papszOptions)
- OGRGeometryH OGR_G_GetCurveGeometry( OGRGeometryH hGeom, char
papszOptions )
- void OGRSetNonLinearGeometriesEnabledFlag(int bFlag)
- int OGRGetNonLinearGeometriesEnabledFlag()
--
Ticket URL: <https://code.djangoproject.com/ticket/34406#comment:8>
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/0107018d089fe31c-8248ea22-a157-4fc4-a77c-095956ec77be-000000%40eu-central-1.amazonses.com.