<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Hey Paul, great to hear from you!</div><div class="gmail_default" style="font-family:monospace,monospace">Yeah I agree this is a bit confusing :-/</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">The standards are <a href="https://www.ogc.org/standards/sfa#downloads">here</a>, page 54.</div><span class="gmail_default" style="font-family:monospace,monospace">The interesting line is ```</span><polygon tagged text> ::= polygon <polygon text><span class="gmail_default" style="font-family:monospace,monospace">```</span></div><div><span class="gmail_default" style="font-family:monospace,monospace">Where `<polygon text>` is then refined into EMPTY or a list of linestrings between parenthesis.</span></div><div><span class="gmail_default" style="font-family:monospace,monospace"><br></span></div><div><span class="gmail_default" style="font-family:monospace,monospace">It looks like the python lib Shapely enforces the space.</span></div><div><span class="gmail_default" style="font-family:monospace,monospace">Not sure what to do here, I'd like to follow the standard, <br></span></div><div><span class="gmail_default" style="font-family:monospace,monospace">but the PostGIS is kind of the standard way to follow the standard.<br></span></div><div><span class="gmail_default" style="font-family:monospace,monospace"><br></span></div><div><span class="gmail_default" style="font-family:monospace,monospace">Remi<br></span></div><div><span class="gmail_default" style="font-family:monospace,monospace"><br></span></div><div><br></div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 23 avr. 2021 à 15:50, Paul Ramsey <<a href="mailto:pramsey@cleverelephant.ca">pramsey@cleverelephant.ca</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Reference please? In general the OGC standards have a lot of room for interpretation in them.<br>
Certainly we've done it this way for 20 years, so :)<br>
P.<br>
<br>
> On Apr 23, 2021, at 12:44 PM, Rémi c <<a href="mailto:remi.cura@gmail.com" target="_blank">remi.cura@gmail.com</a>> wrote:<br>
> <br>
> Hey dear list,<br>
> I'm looking at ST_asWKT() function.<br>
> I noticed an issue here:<br>
> PostGIS outputs something like:<br>
> `POLYGON((1 2, 2 3, 3 4, 1 2))`<br>
> Yet the WKT standard requires a space after `POLYGON`, like<br>
> `POLYGON ((1 2, 2 3, 3 4, 1 2))`<br>
> <br>
> Am I missing something here?<br>
> Thanks folks.<br>
> Remi<br>
> _______________________________________________<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>
<br>
_______________________________________________<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></div>