Opened 13 years ago

Closed 13 years ago

#979 closed defect (fixed)

ST_ChangeEdgeGeom does not check if edge exists

Reported by: robe Owned by: strk
Priority: medium Milestone: PostGIS 2.0.0
Component: topology Version: master
Keywords: Cc:

Description

I can do this:

 SELECT topology.ST_ChangeEdgeGeom('ma_topo', 4,  ST_GeomFromText('LINESTRING(228591.10 893900.4,228622.6 893844.3,228641.6 893816.6,
 228704.5 893778.5)', 26986) );

Even though I have no edge 4. and the function happily reports:

Edge 4 changed

Also why do we break out checking x and y? instead of using a spatial check?

Change History (1)

comment:1 by strk, 13 years ago

Resolution: fixed
Status: newclosed

Fixed in r7227

Note: See TracTickets for help on using tickets.