Skip to main content

I’m trying to repeat the same process on each group of features that represent each door (every door consists of many features having the same value of door_id) . 

on the other hand , the process that i want to create is detecting that line on green for each door and drawing it using the LineBuilder  .

So for exemple ,

if in my input i have : 200 features , every 30 or 40 features share the same door_id value (so there are say 6 doors in total )

my output : 6 features (each feature is that green line , with the attribute door_id)

 

I'm surprised your doors are spread over many features for each door. Hopefully you can remedy this using a LineBuilder, grouping by door_id. If this works, it creates a feature for each door, and then the green lines consist of the first and last points of each door.

If the LineBuilder doesn't give the desired result, you may want to look at your import, maybe there is a way to import each door as one feature.


it creates a feature for each door, and then the green lines consist of the first and last points of each door.

 

Hello @geomancer 

how would i get the first and last point of each door after using LineBuilder to merge the features of each door into one line?


There are many ways to do this. One way is to use a VertexCounter followed by a VertexRemover.

 


@geomancer Thanks a looot ! It works !


Good to know, thanks for the feedback 😃


Reply