|| quote_literal(acurve::text)
|| '::geometry, 2) as im FROM '
|| quote_ident(atopology)
- || '.edge_data WHERE geom && '
+ || '.edge_data WHERE edge_id != ' || anedge || ' AND geom && '
|| quote_literal(acurve::text) || '::geometry'
LOOP
SELECT topology.ST_ChangeEdgeGeom('city_data', 5,
'LINESTRING(41 40, 57 33)');
+-- Change to edge crossing old self
+SELECT topology.ST_ChangeEdgeGeom('city_data', 5,
+ 'LINESTRING(41 40, 49 40, 49 34, 57 33)');
+
-- TODO: test changing closed edge
-- TODO: test reverse direction of closed edge