Opened 8 years ago

Closed 8 years ago

#1284 closed defect (fixed)

ST_CreateTopoGeo: non-existent node

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

Description

An input derived from sample dataset in #1274 produces a "non-existent node" exception when feed to ST_CreateTopoGeo.

Robustness issues moving from GEOS to PostGIS, whoa ! :)

Here's the reduced version of the offending input, at the max reduction I was able to perform so far.

MULTILINESTRING(
(
 832709.937 816560.25,
 832705.813 816470.25,
 832661.937 816561.875
),
(
 832705.812 816470.25,
 832709.937 816560.25
),
(
 832661.938 816561.875,
 832705.813 816470.25
))

Attachments (1)

topotest.png (3.5 KB) - added by strk 8 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 8 years ago by strk

Analisys: second and third segments share a point, and they form a V shape (togheter) First line is a two-segment doing the whole V shape. But while the upper vertices of the V match the ones of second and third lines, the lower corner is slightly offsetted in the X (832705.813 vs 832705.812)

Changed 8 years ago by strk

Attachment: topotest.png added

comment:2 Changed 8 years ago by strk

Wrong analisys. Actual shape (with topology manually magnified):

comment:3 Changed 8 years ago by strk

Resolution: fixed
Status: newclosed

Fixed by r8148

Note: See TracTickets for help on using tickets.