Knowledge Base Article
KB10682 - I have a SHP file layer with many single line shapes. How do I use the DK to split all the lines that intersect with a newly drawn line at the points of intersection?
Refer to the TGIS_Topology.SplitByArc functionality in the DK. The line splitting procedure is demonstrated in the DK SplitByArc sample in DK sample set #5.
The DK function TGIS_Topology.ArcSplitOnCross can also be helpful. This function can be used to split each line (arc) at the point of intersection with any other line. This can be used, for example, to split all road/street segments at the point of each intersection with another road/street so as to create nodes at the intersections. This can be a necessary step to prepare street/road map layers for routing operations.
Created: 2006-03-01, Modified: 2006-03-02
|