Description
Basic support for mixed geometry datasets has been assessed and extended recently in GeoNode.
The upload now supports datasets that can contain features with different geometry types.
Quick recap:
- OGR returns
wkbUnknown for layers that contain mixed geometries. We map it here using the "Unknown (any)" string representation of the type
- Django has the concept of generic
django.contrib.gis.db.models.fields.GeometryField that we use to handle the geometry type for the dataset, in particular for the dynamic models tables.
- Geoserver does the same with
org.locationtech.jts.geom.Geometry, whcih is also returned as the binding for the featuretype
So, we should add support to create new datasets with the generic Geometry type.
Description
Basic support for mixed geometry datasets has been assessed and extended recently in GeoNode.
The upload now supports datasets that can contain features with different geometry types.
Quick recap:
wkbUnknownfor layers that contain mixed geometries. We map it here using the "Unknown (any)" string representation of the typedjango.contrib.gis.db.models.fields.GeometryFieldthat we use to handle the geometry type for the dataset, in particular for the dynamic models tables.org.locationtech.jts.geom.Geometry, whcih is also returned as the binding for the featuretypeSo, we should add support to create new datasets with the generic Geometry type.