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

Use multisurface and multicurve for GML 3.2 and WFS 2.0 #14471

Merged
merged 1 commit into from
Feb 1, 2023

Conversation

ahocevar
Copy link
Member

@ahocevar ahocevar commented Jan 30, 2023

WFS GetFeature requests with Intersects filter currently fail when version: '2.0.0' is used. This is because WFS 2.0 uses GML 3.2 as format, where MultiPolygon and MultiLineString are deprecated in favor of MultiSurface and MultiCurve.

GML 3.2 already uses MultiSurface and MultiCurve by default when an instance of ol/format/GML32 is created. With this pull request, the same defaults are applied when the prototype is used by other formats, e.g. WFS.

@ahocevar ahocevar force-pushed the gml32-multisurface-multicurve branch from 88c4aaa to 460086c Compare January 30, 2023 18:41
@github-actions
Copy link

📦 Preview the website for this branch here: https://deploy-preview-14471--ol-site.netlify.app/.

@ahocevar ahocevar merged commit 46666d4 into openlayers:main Feb 1, 2023
@ahocevar ahocevar deleted the gml32-multisurface-multicurve branch February 1, 2023 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants