Opened 5 years ago

Last modified 5 years ago

#30848 closed New feature

GeoDjango GeometryZ Field Wanted — at Initial Version

Reported by: Thomas Steen Rasmussen Owned by: nobody
Component: GIS Version: 2.2
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Hello,

I have a dataset which makes use of a postgis field of type geometry(geometryz, 25832) https://github.com/tykling/django-dawa/blob/master/docs/schema.sql#L92

The field type uses the geos name "GEOMETRYZ".

Any chance of getting support for this field type in GeoDjango? I've gotten as far locally as getting the field type added to https://github.com/django/django/blob/master/django/contrib/gis/db/models/fields.py and https://github.com/django/django/blob/master/django/contrib/gis/forms/fields.py so I have a model with a GeometryZField which generates the correct SQL from the migration. It was just a few lines of code, but I am not sure what else is needed to add support for geometryz?

Thank you!

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top