Skip to content

feat(map): draw the chosen WFS geometry - #220

Merged
fjlopez merged 2 commits into
devfrom
feat/wfs-chosen-geometry
Oct 26, 2026
Merged

fjlopez merged 2 commits into
devfrom
feat/wfs-chosen-geometry

Conversation

@fjlopez

@fjlopez fjlopez commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • After SITNA reads GML, select the profile geometry when that property is an OpenLayers geometry. SITNA 4.8 keeps the last GML element and does not pass geometryName to the GML loader.
  • Request GML32 only for Curve, MultiCurve, Surface, and MultiSurface. Other kinds stay on the default GML 2.
  • Depends on sitmun-backend-core#354, which publishes geometryKind.

Test plan

  • wfs-layer-geometry.spec.ts and the catalog WFS add specs pass
  • A curve property requests outputFormat: GML32 and draws that property rather than the last GML element

SITNA 4.8 keeps the last GML geometry element and does not pass
geometryName to the GML loader. Select that property after features
are read, and request GML 3.2 only for curve and surface kinds.
The id fallback never ran. Comments that restated the helpers are gone.
@fjlopez
fjlopez merged commit c284c17 into dev Oct 26, 2026
3 checks passed
@fjlopez
fjlopez deleted the feat/wfs-chosen-geometry branch October 26, 2026 09:53
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.

1 participant