Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support of multiple geometries in GeoJSON #1637

Open
lgoltz opened this issue Jan 24, 2024 · 0 comments
Open

Add support of multiple geometries in GeoJSON #1637

lgoltz opened this issue Jan 24, 2024 · 0 comments
Labels
enhancement enhancement or improvement WFS deegree Web Feature Service WMS deegree Web Map Service

Comments

@lgoltz
Copy link
Contributor

lgoltz commented Jan 24, 2024

GeoJSON supports only one geometry object per feature. GML and also deegree is not limited to one geometry collection per feature type. With the export of GeoJSON in a WFS GetFeature response as well as WMS GetFeatureInfo request (#1582) an error occurs if a feature contains more than one geometry collection.

deegree should handle multiple geometry properties. Possible solutions are:

  1. Configure the geometry returned by GeoJSON. Other geometries are skipped in the GeoJSON export.
  2. Configure the geometry returned by GeoJSON as main geometry. Other geometries are exported in the properties array.
@lgoltz lgoltz added enhancement enhancement or improvement WFS deegree Web Feature Service WMS deegree Web Map Service labels Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement enhancement or improvement WFS deegree Web Feature Service WMS deegree Web Map Service
Projects
None yet
Development

No branches or pull requests

1 participant