Kontinuation commented on issue #2059:
URL: https://github.com/apache/sedona/issues/2059#issuecomment-3034560098

   This is the quirks of OGC definition of contains and within. Contains and 
within only accounts the **interior** of larger object, obviously the 
**boundary** of a polygon is not contained by the **interior** of the polygon, 
so contains(poly, poly) should return false.
   
   PostGIS ST_Contains and ST_Within does not strictly implement the OGC 
contains/within semantics. There's a 
[ST_ContainsProperly](https://postgis.net/docs/manual-3.2/ST_ContainsProperly.html)
 for OGC-compliant semantics.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to