Add 'tolerance' to Shapefile.Segmentize method to allow for disconnected intersections

Description

In order to properly build a 'connected' street network (for routing), I wanted to use the Shapefile Segmentize function, which is intended to split all polylines at intersections with other polylines.

However, I found that the method only worked when the polylines were properly snapped together. If the digitized streets are just 'close' (and I mean even less than 1/1000 of a meter), but not touching, then the algorithm fails to detect it as a street intersection, and the adjacent polyline is not split.

I have introduced a modification to allow for a tolerance in the proximity of nearby polylines, which (hopefully) results in a fully-connected, segmented street network.

Status

Assignee

Jerry Faust

Reporter

Jerry Faust

Labels

None

Epic Link

None

Affects versions

None

Fix versions

Priority

Medium
Configure