Question

How to make snippets of equal length in two directions?

  • 13 June 2020
  • 1 reply
  • 0 views

I'm using the IterativeSnipper transformer to segment ~1000 polylines to cut each to a maximum of 5 miles however if there is a northbound polyline I want to ensure the southbound polyline is also snipped at the same location. The southbound for example is exactly overlayed across the northbound. Is there a way I can do this where if two segments fall within a 2 meter buffer they will both be snipped at the same location?

 

Alternatively from my research I hear it is possible to do what I desire by snipping one direction, pulling the start and end gps values and then do an anchored snap method? to make sure the opposite direction is snipped at the same location? I dont know exactly how to set this up though.


1 reply

Badge +2

Since the lines are identical you can probably use the TopologyBuilder to generate nodes, buffer, then use the LineOnAreaOverlay to clip the lines so they will all be identical. It will process every line in the stack.

 

Topology builder to get nodes

 

Buffer nodes by X units

 

LineOnAreaOverlayer to split line

 

Reply