Opened 3 months ago

Closed 3 months ago

Last modified 3 months ago

#5713 closed defect (wontfix)

GEOS3.12 - "TopologyException: side location conflict" on valid input geometries — at Version 1

Reported by: dannytoone Owned by: pramsey
Priority: medium Milestone: PostGIS GEOS
Component: postgis Version: 3.4.x
Keywords: Cc:

Description (last modified by pramsey)

This is from a recent version of PostGIS running on AWS RDS:

POSTGIS="3.4.0 0874ea3" [EXTENSION] PGSQL="160" GEOS="3.12.0-CAPI-1.18.0" PROJ="8.0.1 NETWORK_ENABLED=OFF URL_ENDPOINT=https://cdn.proj.org USER_WRITABLE_DIRECTORY=/tmp/proj DATABASE_PATH=/rdsdbbin/postgres-16.1.R1/share/proj/proj.db" GDAL="GDAL 3.4.3, released 2022/04/22" LIBXML="2.9.1" LIBJSON="0.15" LIBPROTOBUF="1.3.2" WAGYU="0.5.0 (Internal)" RASTER

ST_Equals as well as ST_Touches fail on these input geometries. I will attach a csv output containing two geometry columns which fail.

Change History (2)

by dannytoone, 3 months ago

Attachment: postgis_extract.csv added

csv table with data

comment:1 by pramsey, 3 months ago

Description: modified (diff)
Resolution: wontfix
Status: newclosed

Confirmed. Since the Relate code is likely to be removed and replaced from GEOS in the next cycle, this particular issue will likely not be fixed. A work around it to apply a very small precision reduction, which should shake out the very small nearly parallel lines in your original that are causing the problem.

select st_equals(ST_ReducePrecision(mark_geom,0.00000001), st_reduceprecision(fips_geom, 0.00000001)) from g5713
Note: See TracTickets for help on using tickets.