I have code which analyzes multipart polylines (roads) from the beginning towards the end. The algorithm "moves along" the road.
My multipart polylines include circular junctions and branches so they can't be represented by simple polylines. The problem is that when my code proceeds along the multipart polyline, it jumps from one part to the the other, completely remote part. Since my code uses "GetSubcurve" method, I thought defining consecutive order of parts would solve my problem. Even though I created multipart polylines by adding geometries in desired order (in python), the problem still exists. I appreciate your suggestions,