Opened 13 years ago

Closed 13 years ago

#941 closed defect (fixed)

ST_ModEdgeHeal : wrong response on non-existent edge

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

Description

try-ing this select topology.ST_ModEdgeHeal('topo_test',10000, 2);

where 10.000 is a non-existent edge. I have this response:

ERROR: TopoGeom 28 in layer 1 (topo_test.linee_topo.topo_geom) cannot be represented healing edges 10000 and 2

I guess according to ISO the response should be "SQL/MM Spatial exception – non-existent edge"

Same result for the third argument: select topology.ST_ModEdgeHeal('topo_test',1, 10000);

Attachments (1)

image.gif (15.3 KB ) - added by aperi2007 13 years ago.
image dataset used

Download all attachments as: .zip

Change History (5)

comment:1 by strk, 13 years ago

Please try:

SELECT * FROM topo_test.edge where edge_id = 10000; select topology.ST_ModEdgeHeal('topo_test',-1, 2);

comment:2 by aperi2007, 13 years ago

SELECT * FROM topo_test.edge where edge_id = 10000;

report 0 records

the query select topology.ST_ModEdgeHeal('topo_test',-1, 2);

report

ERROR: TopoGeom 28 in layer 1 (topo_test.linee_topo.topo_geom) cannot be represented healing edges -1 and 2

I add an image for the dataset I'm using.

by aperi2007, 13 years ago

Attachment: image.gif added

image dataset used

comment:3 by strk, 13 years ago

Status: newassigned

comment:4 by strk, 13 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r7108. Thanks for testing !

Note: See TracTickets for help on using tickets.