Skip to content

Story: Migrate legacy EWKT parser tests and document EWKT decoding #14

Closed

Description

@Alexandre-T

Goal

Complete the migration from longitude-one/wkt-parser by recovering its existing unit tests and adapting them to the new spatial-decoder architecture.

The migrated suite must remain identifiable as legacy compatibility coverage while new tests remain the authoritative coverage for the current decoder behavior. Public documentation must describe the resulting EWKT decoding capabilities and limitations.

Acceptance criteria

  • Existing wkt-parser unit tests are identified and reviewed.
  • Compatible legacy tests are migrated under tests/Legacy/EwktParser/.
  • Migrated tests use the public spatial-decoder API.
  • Original test scenarios remain identifiable for traceability.
  • Legacy expectations conflicting with the current specification are not preserved silently.
  • Any intentionally modified or excluded legacy behavior is documented.
  • Migrated tests run as part of the standard PHPUnit and CI suites.
  • Documentation describes supported EWKT geometry types and dimensions.
  • Documentation describes EMPTY handling and unsupported representations.
  • Documentation provides usage examples through the public Decoder API.
  • The standard test and quality suites pass.

Out of scope

  • Changes to the public API of longitude-one/wkt-parser.
  • Deprecation or archival of longitude-one/wkt-parser.
  • EWKB or GeoJSON documentation.
  • WKT support.

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
    spatial:dimensionRelated to XY, XYZ, XYM or XYZM dimensions
    on Sep 25, 2026
  2. self-assigned this
    on Oct 3, 2026
  3. changed the title [-]Story: Migrate legacy WKT parser tests and document WKT decoding[/-] [+]Story: Migrate legacy WKT parser tests and document EWKT decoding[/+] on Oct 3, 2026
  4. changed the title [-]Story: Migrate legacy WKT parser tests and document EWKT decoding[/-] [+]Story: Migrate legacy EWKT parser tests and document EWKT decoding[/+] on Oct 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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