jiayuasu commented on issue #1264: URL: https://github.com/apache/sedona/issues/1264#issuecomment-1975469853
@ruanqizhen The polygon is invalid for `Difference` operation because it has nested holes <img width="480" alt="image" src="https://github.com/apache/sedona/assets/10948864/d1fd861a-9386-4325-af1c-e3f66d9fd968"> You can use ST_ExteriorRing (https://sedona.apache.org/1.5.1/api/sql/Function/#st_exteriorring) to only use the exterior ring. A similar issue has been reported on JTS repo: https://github.com/locationtech/jts/issues/303 -- 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: issues-unsubscr...@sedona.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org