Ticket #941 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

ST_ModEdgeHeal : wrong response on non-existent edge

Reported by: aperi2007 Owned by: strk
Priority: medium Milestone: PostGIS 2.0.0
Component: topology Version: trunk
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

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

Change History

Changed 2 years ago by strk

Please try:

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

Changed 2 years ago by aperi2007

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.

Changed 2 years ago by aperi2007

image dataset used

Changed 2 years ago by strk

  • status changed from new to assigned

Changed 2 years ago by strk

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in r7108. Thanks for testing !

Note: See TracTickets for help on using tickets.