[postgis-devel] RFC - Orientation checking and forcing functions
Sandro Santilli
strk at kbt.io
Wed Feb 8 03:26:38 PST 2017
On Tue, Feb 07, 2017 at 07:55:27PM -0500, Daniel Baston wrote:
> Non-polygonal geometries, including closed LineStrings, are
> simply passed through.
This is the part I don't like. A closed LineString is really the
only geometry that can be strictly clockwise or clounterclockwise
(while polygons want shells and hole in opposite directions) so
I find it counter-intuitive for ST_IsCW and ST_IsCCW to both return
true for them, and for ST_ForceCW and ST_ForceCCW to return them
untouched.
--strk;
More information about the postgis-devel
mailing list