Skip to content

Support the creation of datasets with generic Geometry type #14136

@sijandh35

Description

@sijandh35

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions