[postgis-devel] RFC - Orientation checking and forcing functions

Sandro Santilli strk at kbt.io
Thu Feb 9 00:35:32 PST 2017


On Wed, Feb 08, 2017 at 03:35:05PM -0500, Daniel Baston wrote:
> I'll try to see if I can come up with a less ambiguous name, without
> resorting to
> ST_ForcePolygonsClockwiseExteriorRingAndCounterClockwiseInteriorRings, but
> I'll also note that the proposed terminology has been used by PostGIS
> internally since 2010:
> 
> https://github.com/postgis/postgis/commit/2d07d7eb59d2bb8db9d4773cd84619cd696bc471

Interesting, that one turned LWGEOM_forceRHR_poly
into LWGEOM_force_clockwise_poly. In 2010 I was
distracted, or I'd have suggested to just add
documentation in the header file :)

--strk;



More information about the postgis-devel mailing list