Skip to content

validator-core - add support for curved geometries #232

@mborne

Description

@mborne

Problem

CURVEPOLYGON appears in PCRS datasets ( #231 ) and JTS can't read the corresponding WKT

Actions

Short term

  • v4.2.0 - Try to upgrade geotools and JTS to read them (note that it changes some digits in last decimals in DATA and validation report)
  • v4.2.1 - Add a GeometryReader class to use WKTReader2 by default instead of WKTReader as geotools extends JTS Geometry types to bring curved geometry support (see https://docs.geotools.org/stable/userguide/library/jts/geometry.html )
  • v4.2.1 - Ensure that there is no regression for GpU and DGPR (validator-regress-test)

Long term

Notes

  • WKTReader2 from geotools doesn't support dimension name after geometry type ("POINT Z ..."). A fallback to original WKTReader is added to avoid regressions. An interface GeometryFormat is mainly added to clarify naming and to allow other formats such as GeoJSON, WKB,... in the future.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions