SELECT topology.ST_ChangeEdgeGeom('city_data', 666,
'LINESTRING(25 30, 20 36, 20 38, 25 35)');
--- TODO: test edge crossing
+-- Test edge crossing
+SELECT topology.ST_ChangeEdgeGeom('city_data', 25,
+ 'LINESTRING(9 35, 11 40, 13 35)');
+
+-- TODO: test changing closed edge
+-- TODO: test reverse direction of closed edge
SELECT topology.DropTopology('city_data');
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 intersects an edge
Topology 'city_data' dropped