- #1763, topology.toTopoGeom use with custom search_path.
- #1755, ST_GeographyFromText support for higher dimensions.
+* Enhancements *
+
+ - More detailed exception message from topology editing functions.
+
PostGIS 2.0.0
2012/04/03
IF ST_RelateMatch(rec.im, '1FFF*FFF2') THEN
RAISE EXCEPTION
- 'SQL/MM Spatial exception - coincident edge';
+ 'SQL/MM Spatial exception - coincident edge %', rec.edge_id;
END IF;
-- NOT IN THE SPECS: geometry touches an edge
IF ST_RelateMatch(rec.im, 'T********') THEN
RAISE EXCEPTION
- 'SQL/MM Spatial exception - geometry crosses an edge';
+ 'SQL/MM Spatial exception - geometry crosses edge %', rec.edge_id;
END IF;
END LOOP; -- }
IF ST_RelateMatch(rec.im, '1FFF*FFF2') THEN
RAISE EXCEPTION
- 'SQL/MM Spatial exception - coincident edge';
+ 'SQL/MM Spatial exception - coincident edge %', rec.edge_id;
END IF;
-- NOT IN THE SPECS: geometry touches an edge
IF ST_RelateMatch(rec.im, 'T********') THEN
RAISE EXCEPTION
- 'SQL/MM Spatial exception - geometry crosses an edge';
+ 'SQL/MM Spatial exception - geometry crosses edge %', rec.edge_id;
END IF;
END LOOP;
IF ST_RelateMatch(rec.im, '1FFF*FFF2') THEN
RAISE EXCEPTION
- 'SQL/MM Spatial exception - coincident edge';
+ 'SQL/MM Spatial exception - coincident edge %', rec.edge_id;
END IF;
-- NOT IN THE SPECS: geometry touches an edge
IF ST_RelateMatch(rec.im, 'T********') THEN
RAISE EXCEPTION
- 'SQL/MM Spatial exception - geometry crosses an edge';
+ 'SQL/MM Spatial exception - geometry crosses edge %', rec.edge_id;
END IF;
END LOOP;
ERROR: SQL/MM Spatial exception - curve not simple
ERROR: Invalid edge (no two distinct vertices exist)
ERROR: Invalid edge (no two distinct vertices exist)
-ERROR: SQL/MM Spatial exception - coincident edge
-ERROR: SQL/MM Spatial exception - geometry crosses an edge
-ERROR: SQL/MM Spatial exception - geometry crosses an edge
+ERROR: SQL/MM Spatial exception - coincident edge 8
+ERROR: SQL/MM Spatial exception - geometry crosses edge 5
+ERROR: SQL/MM Spatial exception - geometry crosses edge 4
ERROR: Spatial exception - geometry intersects edge 4
L1
L2
ERROR: SQL/MM Spatial exception - curve not simple
ERROR: Invalid edge (no two distinct vertices exist)
ERROR: Invalid edge (no two distinct vertices exist)
-ERROR: SQL/MM Spatial exception - coincident edge
-ERROR: SQL/MM Spatial exception - geometry crosses an edge
-ERROR: SQL/MM Spatial exception - geometry crosses an edge
+ERROR: SQL/MM Spatial exception - coincident edge 8
+ERROR: SQL/MM Spatial exception - geometry crosses edge 5
+ERROR: SQL/MM Spatial exception - geometry crosses edge 4
ERROR: Spatial exception - geometry intersects edge 4
L1
L2
ERROR: SQL/MM Spatial exception - end node not geometry end point.
ERROR: SQL/MM Spatial exception - geometry crosses a node
ERROR: SQL/MM Spatial exception - non-existent edge 666
-ERROR: SQL/MM Spatial exception - geometry crosses an edge
+ERROR: SQL/MM Spatial exception - geometry crosses edge 1
T2|Edge 5 changed
T3|Edge 5 changed
T4|Edge 26 changed