Solved

sort lines after clipping


Badge +6

I have a route and clip it against areas....but i need the result in order of the flow direction of the route.....which parameter sorts me that because now the result is in no order and when i put a count on it it is no logical order.

So please help me... i think its no t abig problem for u guys

Thx

 

Franco

icon

Best answer by david_r 1 June 2017, 09:29

View original

5 replies

Userlevel 4

Are your features in the right order before the Clipper? If so, you could insert a Counter before the Clipper, and then a Sorter on the _count value after the Clipper. This would restore the original feature order.

Badge +6

i have only 1 feature (line) which is clipped against many areas and as a result i get many lines without the right order

Userlevel 4

Before Clipper:

  • MeasureGenerator

After Clipper

  • MeasureExtractor on first vertex (index = 0)
  • Sorter on _point_measure
  • MeasureRemover

Of course, if your route already has measures you should skip the MeasureGenerator and the MeasureRemover.

Userlevel 2
Badge +17

Hi @franco69, here is another approach, just for your information.

Badge +6

Thank you both very much !

Reply