<div dir="ltr"><div>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:</div><div></div><div><br></div><div><a href="https://github.com/postgis/postgis/commit/2d07d7eb59d2bb8db9d4773cd84619cd696bc471">https://github.com/postgis/postgis/commit/2d07d7eb59d2bb8db9d4773cd84619cd696bc471</a></div><div><br></div><div>Dan<br><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 8, 2017 at 3:17 PM, Sandro Santilli <span dir="ltr"><<a href="mailto:strk@kbt.io" target="_blank">strk@kbt.io</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, Feb 08, 2017 at 03:05:33PM -0500, Daniel Baston wrote:<br>
> The idea was that adding functions with different names would be helpful,<br>
> because "RHR" and "LHR" mean different things to different people (and<br>
> therefore don't mean much of anything.)<br>
<br>
</span>In PostGIS "RHR" and "LHR" have well-documented meaning, right ?<br>
<span class=""><br>
> See, for example, the fourth bullet under<br>
> <a href="https://tools.ietf.org/html/rfc7946#section-3.1.6" rel="noreferrer" target="_blank">https://tools.ietf.org/html/<wbr>rfc7946#section-3.1.6</a><br>
<br>
</span>The Wikipedia definition of the rule is about 3d and implies a 3D space,<br>
which is not always the case within PostGIS geometries:<br>
<a href="https://en.wikipedia.org/wiki/Right-hand_rule" rel="noreferrer" target="_blank">https://en.wikipedia.org/wiki/<wbr>Right-hand_rule</a><br>
<br>
If you find a name/label which means the same to everybody I'll be<br>
happy to see a wrapper function using it. "Clockwise" for a polygon<br>
with holes doesn't seem to be unambiguous to me (it could for example<br>
mean "all rings are clockwise"...)<br>
<div class="HOEnZb"><div class="h5"><br>
--strk;<br>
______________________________<wbr>_________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@lists.osgeo.org">postgis-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-devel" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/postgis-devel</a></div></div></blockquote></div><br></div>