[PostGIS] #5930: Spatial exception - geometry crosses

PostGIS trac at osgeo.org
Fri Jun 27 05:32:38 PDT 2025


#5930: Spatial exception - geometry crosses
-------------------------------+---------------------------
 Reporter:  Lars Aksel Opsahl  |      Owner:  strk
     Type:  defect             |     Status:  new
 Priority:  medium             |  Milestone:  PostGIS 3.5.4
Component:  topology           |    Version:  master
 Keywords:                     |
-------------------------------+---------------------------
 Running attached file return the error


 {{{
 psql:/tmp/error_log.sql:90: ERROR:  XX000: SQL/MM Spatial exception -
 geometry crosses edge 54
 LOCATION:  pg_error, lwgeom_pg.c:363
 }}}

 Tested on


 {{{
 POSTGIS="3.6.0dev 3.5.0-344-g2917c93eb" [EXTENSION] PGSQL="160"
 GEOS="3.13.0-CAPI-1.19.0" PROJ="8.2.1 NETWORK_ENABLED=OFF
 URL_ENDPOINT=https://cdn.proj.org
 USER_WRITABLE_DIRECTORY=/var/lib/postgresql/.local/share/proj
 DATABASE_PATH=/usr/share/proj/proj.db" (compiled against PROJ 8.2.1)
 LIBXML="2.9.13" LIBJSON="0.15" LIBPROTOBUF="1.3.3" WAGYU="0.5.0
 (Internal)" (core procs from "3.6.0dev 3.5.0-228-g2c8f40113" need upgrade)
 TOPOLOGY (topology procs from "3.6.0dev 3.5.0-228-g2c8f40113" need
 upgrade)

 POSTGIS="3.5.0dev 3.4.0rc1-1310-g8349e1670" [EXTENSION] PGSQL="160"
 GEOS="3.13.0-CAPI-1.19.0" PROJ="9.5.1 NETWORK_ENABLED=OFF
 URL_ENDPOINT=https://cdn.proj.org
 USER_WRITABLE_DIRECTORY=/Users/lop/Library/Application Support/proj
 DATABASE_PATH=/opt/homebrew/Cellar/proj/9.5.1/share/proj/proj.db"
 (compiled against PROJ 9.13.0) LIBXML="2.13.0" LIBJSON="0.18" TOPOLOGY

 POSTGIS="3.6.0dev 3.5.0-314-g637410f77" [EXTENSION] PGSQL="160"
 GEOS="3.13.0beta2-CAPI-1.19.0" PROJ="9.3.0 NETWORK_ENABLED=OFF
 URL_ENDPOINT=https://cdn.proj.org USER_WRITABLE_DIRECTORY=/tmp/proj
 DATABASE_PATH=/usr/local/share/proj/proj.db" (compiled against PROJ 9.3.0)
 LIBXML="2.9.13" LIBJSON="0.15" LIBPROTOBUF="1.3.3" WAGYU="0.5.0
 (Internal)" TOPOLOGY


 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5930>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list