Skip to content

ERROR: operator is not unique: topogeometry <> topogeometry at character 26

Something broke with PostGIS-3.5.0dev:

pgtopo_update_sql/test/regress(develop)] ./run_pgtopo_test.sh -v add_border_split_surface
ARGS: -v add_border_split_surface
Creating database 'nibio_reg'
Preparing db 'nibio_reg' using: CREATE EXTENSION postgis SCHEMA public
Preparing db 'nibio_reg' using: CREATE EXTENSION postgis_topology
PostgreSQL 13.5 (Ubuntu 13.5-0ubuntu0.21.04.1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0, 64-bit
  Postgis 3.5.0dev - (3.4.0rc1-576-ge5c812c34) - 2023-09-18 18:37:53
  scripts 3.5.0dev 3.4.0rc1-576-ge5c812c34
  GEOS: 3.12.0dev-CAPI-1.18.0
  PROJ: 9.1.1 NETWORK_ENABLED=OFF URL_ENDPOINT=https://cdn.proj.org USER_WRITABLE_DIRECTORY=/tmp/proj DATABASE_PATH=/opt/proj-9.1/share/proj/proj.db

Running tests

 after-create-script ./../../topo_update.sql .. ok
 add_border_split_surface .. failed (diff expected obtained: /tmp/pgis_reg/test_2_diff)
-----------------------------------------------------------------------------
--- add_border_split_surface_expected   2023-04-29 16:31:37.416060618 +0200
+++ /tmp/pgis_reg/test_2_out    2023-09-21 10:43:24.294184982 +0200
@@ -9,221 +9,29 @@
 ERROR:  Non closed linestring does not intersect at least twice with existing edges for input: topo_update._prepare_split_border -> SRID=4326;LINESTRING(5 -5,5 5)
 ERROR:  topo_update.add_border_split_surface: colMapProvider did not provide a map for modified border typ=B and act=M
 WARNING:  add_border_split_surface with colMap params is deprecated
-t2|act|1|B|M
-t2|act|2|B|S
-t2|act|3|B|C
-t2|act|1|S|M
-t2|act|2|S|S
-t2|brd|1|t2-brd|t1-brd|LINESTRING(5 0,0 0,0 10,5 10)
-t2|brd|2|t2-brd|t1-brd|LINESTRING(5 0,10 0,10 10,5 10)
-t2|brd|3|t2-brd|lbl2|LINESTRING(5 0,5 10)
-t2|srf|1|t2-srf|t1-srf|POLYGON((5 0,5 10,10 10,10 0,5 0))
-t2|srf|2|t2-srf|t1-srf|POLYGON((0 0,0 10,5 10,5 0,0 0))
+ERROR:  operator is not unique: topogeometry <> topogeometry at character 26