Hi All, I have a highway network polyline and some point events. I have snapped these to the highway centreline. I have been asked to create sections of the highway centreline 1km downstream and 2km upstream of these points. note some of these point events are < 1km apart so the resulting section maybe less thank 1km if the line runs into another event
I have used the pointonline to cut the highway centreline at the points. then i have been trying using the snipper to cut the highway into the 1km section. Here is my work flow.
- Aggregate highway into 1 entire piece (is 2000 sections) ,
- Cut this 1 piece highway into two sections using the PointOnLine overlayer at the event point.
- use snipper to snip the resulting lines to 1km and 2km.
issues im having are:
- how do i feed the aggregated highway back into the loop so each point event gets to cut the aggregated highway not the cut up one.
- how do i workout which section of the two highway pieces to make 1 or 2 kms (maybe _segment_id)
any suggestions appreciated, am i on the right track or is there a better method?
Thanks as aways. Steve