<div dir="ltr">Hi all.<div><br></div><div>I'm the maintainer for <a href="https://prestodb.io/">Presto</a>'s <a href="https://prestodb.github.io/docs/current/functions/geospatial.html">geospatial functions</a>. I've chatted with Darafei before (congrats, Darafei!), but for the rest you: hello!</div><div><br></div><div>Something I would like is to make, as much as possible, Presto's functions compatible with PostGIS.  That would allow people to run the same or similar queries in the OLTP realm as well as the warehouse/analytics realm.  Presto is also very keen on adhering to the ISO SQL standards in general, and in particular the SQL3 geospatial standard.  Sometimes, however, these are in conflict!  See:</div><div><br></div><div>1. <a href="https://github.com/locationtech/jts/issues/486">https://github.com/locationtech/jts/issues/486</a> and</div><div>2. <a href="https://trac.osgeo.org/postgis/ticket/3425">https://trac.osgeo.org/postgis/ticket/3425</a> </div><div><br></div><div>I'd like to open up a conversation about making JTS and GEOS compliant with ISO, which would make PostGIS more compliant.  In particular, I'd love to have a standardized test suite (language agnostic) for the spec, starting with ST_IsValid and ST_IsSimple.  This spec could then be implemented in JTS and GEOS (and any other library, like JSTS or Esri or...).  However, this will cause at least one backwards-incompatible change (listed above), and there may be more.  This is always sensitive, but particularly with databases.  So I'd really value your collective input as to whether this is a bad idea, or a good idea that's impractical, or a good idea that can be done with work and diligence.</div><div><br></div><div>Thoughts?</div></div>