Opened 6 years ago

#900 new enhancement

Feature request: ability to swap x and y coordinates

Reported by: Mike Taves Owned by: strk
Priority: minor Milestone: GEOS Fund Me
Component: Core Version:
Severity: Feature Request Keywords:
Cc:

Description

A geometry method or utility function should be provided to the C API to flip/reverse/swap the x and y values. This functionality should be able to operate on all geometry types, and preserve Z values (if present).

PostGIS has ST_FlipCoordinates, and this type of functionality has a surprising demand for workarounds/solutions, e.g. 1, 2, 3, and countless others wanting to swap the axis order for a variety of reasons.

Change History (0)

Note: See TracTickets for help on using tickets.