<div dir="auto">I don't think the OGC specify a winding order, since WKT is explicit about exterior and interior rings. <div dir="auto"><br></div><div dir="auto">If you are looking at the unregulated geojson standard again I don't think it specifies a winding order but it's been a while since I read that one and I'm on my phone just now so I can't check. But it would be worth looking at the RFC and pointing to the relevant section.</div><div dir="auto"><br></div><div dir="auto">Ian</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 5 Aug 2024, 13:40 Reetz, Michael (NLPVW) via QGIS-User, <<a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="DE" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="m_4409834348883334576WordSection1">
<p class="MsoNormal"><span style="font-family:"Tahoma",sans-serif">Dear list,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Tahoma",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:"Tahoma",sans-serif">I’ve created a csv-file with coordinates in WKT-format by exporting a polygon layer with the “Save object as …”-option (“Objekte speichern als …” in the German QGIS version). I
 need this for querying data from GBIF via their API using JSON input. That has worked for the last years. But using the same JSON files this year gives an error because the point order is clockwise. I’ve found that according to the OGC standard the order should
 be counter clockwise for polygons and clockwise for excluded areas inside a polygon. It seems as if GBIF is following this standard now.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:"Tahoma",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:"Tahoma",sans-serif">Would it be possible to follow the OGC standard in the QGIS export, too? This would reduce the amount of rework after each export.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:"Tahoma",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:"Tahoma",sans-serif">Best regards<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:"Tahoma",sans-serif">Michael<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:"Tahoma",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:"Tahoma",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Tahoma",sans-serif">Mit freundlichen Grüßen<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Tahoma",sans-serif">Im Auftrag<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Tahoma",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Tahoma",sans-serif">Michael Reetz<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Tahoma",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif">*****************************************
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif">Michael Reetz<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif">Datenbanken und Anwendungsentwicklung<br>
Nationalpark-Verwaltung Niedersächsisches Wattenmeer <br>
Virchowstr. 1 | 26382 Wilhelmshaven <br>
Tel.: +49 (0) 4421 911 291 <br>
e-mail: <a href="mailto:michael.reetz@nlpv-wattenmeer.niedersachsen.de" target="_blank" rel="noreferrer"><span style="color:blue">michael.reetz@nlpvw.niedersachsen.de</span></a>
<br>
Web: <a href="https://www./" target="_blank" rel="noreferrer"><span style="color:blue">https://www.</span></a><u><span style="color:blue"><a href="http://nationalpark-wattenmeer.de" target="_blank" rel="noreferrer">nationalpark-wattenmeer.de</a></span></u>
<u></u><u></u></span></p>
<p class="MsoNormal"><span><img border="0" width="219" height="118" style="width:2.2812in;height:1.2291in" id="m_4409834348883334576Grafik_x0020_1" src="cid:image003.png@01DAE744.711CB4B0"><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

_______________________________________________<br>
QGIS-User mailing list<br>
<a href="mailto:QGIS-User@lists.osgeo.org" target="_blank" rel="noreferrer">QGIS-User@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div>