Skip to content

[NFR] Hydrate spatial columns into geometry value objects on model read #17110

@niden

Description

@niden

Spatial column types (GEOMETRY, POINT, LINESTRING, POLYGON, MULTIPOINT, MULTILINESTRING, MULTIPOLYGON, GEOMETRYCOLLECTION) are already supported in the Db dialects (DDL) and MySQL describeColumns. But reading a spatial column returns the raw WKB byte string - MySQL returns SRID-prefixed WKB, PostgreSQL/PostGIS returns EWKB - so findFirst() on a row with a POINT column yields unusable binary.

Add geometry value objects and hydrate spatial column values into them on model read, for MySQL and PostgreSQL.

Metadata

Metadata

Assignees

Labels

5.0The issues we want to solve in the 5.0 releasenew feature requestPlanned Feature or New Feature Request
No fields configured for Feature.

Projects

Status
Implemented

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions