Skip to content

Story: Decode WKT curve geometries #9

Closed

Description

@Alexandre-T

Goal

Add WKT decoding support for LINESTRING and MULTILINESTRING geometries.

The decoder must parse their coordinate sequences and nested structures, preserve the represented coordinate dimensions, and construct the corresponding immutable spatial objects while enforcing the applicable structural constraints.

Acceptance criteria

  • LINESTRING is decoded into the corresponding spatial object.
  • MULTILINESTRING is decoded into the corresponding spatial object.
  • XY, XYZ, XYM and XYZM coordinates are supported.
  • EMPTY representations are supported.
  • Coordinate values, ordering and dimensions are preserved.
  • Invalid or structurally inconsistent representations are explicitly rejected.
  • No unsupported spatial information is silently discarded or converted.
  • Unit tests cover supported types, dimensions, EMPTY, and invalid representations.
  • The standard test and quality suites pass.

Out of scope

  • Point, surface and collection geometry types.
  • EWKT and SRID-prefixed representations.
  • Coordinate reprojection.
  • Implicit geometry or dimension conversion.

Activity

  1. added
    standard:ogcRelated to OGC specifications
    spatial:geometryRelated to geometry models or types
    spatial:wktRelated to Well-Known Text or Extended Well-Known Text
    on Sep 25, 2026
  2. linked a pull request that will close this issuefeat: Add WKT decoding support #23on Sep 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    spatial:dimensionRelated to XY, XYZ, XYM or XYZM dimensionsspatial:geometryRelated to geometry models or typesspatial:wktRelated to Well-Known Text or Extended Well-Known Textstandard:ogcRelated to OGC specifications

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions