<div dir="ltr"><div dir="ltr"><div dir="ltr">The problem now is that I can not find anything for lines.<div><br></div><div>Anything like <span style="font-family:monospace">ST_IsPolygonCW|ST_</span><span style="font-family:monospace">IsPolygonCCW for lines for instance, something like </span><span style="font-family:monospace">ST_IsLineCW|ST_</span><span style="font-family:monospace">IsLineCCW.</span></div><div><span style="font-family:monospace"><br></span></div><div><font face="monospace">Regards,</font></div><div><font face="monospace"><br></font></div><div><font face="monospace">David</font></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 16 Feb 2022 at 19:43, Marcin Mionskowski <<a href="mailto:mionskowskimarcin@gmail.com">mionskowskimarcin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:monospace">Assuming simple polygons, composed from exterior ring only (i.e. no multipolygons), I think that you are looking for a function {ST_IsPolygonCW|ST_IsPolygonCCW}.</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">Greetings,</div><div class="gmail_default" style="font-family:monospace">Marcin<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">śr., 16 lut 2022 o 19:55 Imre Samu <<a href="mailto:pella.samu@gmail.com" target="_blank">pella.samu@gmail.com</a>> napisał(a):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>> how vertices run? clockwise or anti-clockwise?</div><div><br></div>maybe the:<div><a href="https://postgis.net/docs/ST_Angle.html" target="_blank">https://postgis.net/docs/ST_Angle.html</a> <i>"Computes the clockwise angle between two vectors."</i><br></div><div>or <a href="https://postgis.net/docs/ST_Azimuth.html" target="_blank">https://postgis.net/docs/ST_Azimuth.html</a><br></div><div><br></div><div>regards,</div><div> Imre</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Shaozhong SHI <<a href="mailto:shishaozhong@gmail.com" target="_blank">shishaozhong@gmail.com</a>> ezt írta (időpont: 2022. febr. 16., Sze, 17:06):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Can we use PostGIS to find out how vertices run? clockwise or anti-clockwise?</div><div dir="ltr"><br></div><div>Regards,</div><div><br></div><div>David</div></div>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-users</a><br>
</blockquote></div>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-users</a><br>
</blockquote></div>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-users</a><br>
</blockquote></div>