Changes between Version 5 and Version 6 of Ticket #34406
- Timestamp:
- Mar 11, 2023, 6:55:03 AM (20 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34406 – Description
v5 v6 14 14 15 15 Below is a code snippet I used, subclassing `OGRGeometry` and `OGRGeomType` in order to bypass existing GeoDjango validation to add support for more geometries : 16 - Link to the snippet with syntax highlighting https://gist.github.com/fabienheureux/2dd4dad8f7c4fedef708154eea1470f917 16 - It mainly adds keys for new geometries and classes inheriting for `OGRGeometry` to handle these in GeoDjango 18 17 - It shows how we could make these geometries backward compatible (from curved geometries to more standard geometries) using a simple call to existing gdal methods