[PostGIS] #6120: XX000: SQL/MM Spatial exception - curve not simple
PostGIS
trac at osgeo.org
Tue Sep 1 23:52:47 PDT 2026
#6120: XX000: SQL/MM Spatial exception - curve not simple
-------------------------------+---------------------------
Reporter: Lars Aksel Opsahl | Owner: strk
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.6.5
Component: topology | Version: 3.6.x
Keywords: |
-------------------------------+---------------------------
When adding first line it works ok
{{{
SELECT ARRAY(SELECT abs(add_case05) FROM
topology.TopoGeo_addLinestring('test_53_a_1_8','0102000020A2100000050000004313671D53DE34404E64FC3B10545140169A989329DE3440E00C65580F54514010526CDB36DE34406BEE28A10F545140EBE8402451DE344060A52C31105451404313671D53DE34404E64FC3B10545140',-1)
add_case05) ; -- log_add_to test_53_a_1_8
}}}
But If I add at set of other lines first like we do in the test script
attached we get this error.
{{{
psql:/tmp/test.sql:585: ERROR: XX000: SQL/MM Spatial exception - curve
not simple
LOCATION: pg_error, lwgeom_pg.c:363
}}}
This is tested on
{{{
POSTGIS="3.7.0dev 3.6.0rc2-473-g260127869" [EXTENSION] PGSQL="160"
GEOS="3.14.1-CAPI-1.20.5" PROJ="9.8.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.8.1/share/proj/proj.db"
(compiled against PROJ 9.8.1) LIBXML="2.9.13" LIBJSON="0.18"
LIBPROTOBUF="1.5.2" WAGYU="0.5.0 (Internal)" TOPOLOGY
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6120>
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