Opened 14 years ago
Closed 14 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)
Change History (5)
comment:1 by , 14 years ago
comment:2 by , 14 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.
comment:3 by , 14 years ago
Status: | new → assigned |
---|
comment:4 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in r7108. Thanks for testing !
Please try: