Skip to main content
Question

I need to assign a unique ID per named feature and need to distinguish when same named features are actually geometrically separate so I can assign them different IDs

  • November 21, 2020
  • 2 replies
  • 13 views

So, I am working with a river linear dataset. I am assigning an ID to every river that all of the unique features of the river share. But, the issue that I am having is that there are some general names and one name is shared between 50 different streams (that contain 350 features). I located most of the using NodeValence and FeatureCounter where I group by name and valence 1. However, I cannot distinguish with 100% certainty which rivers are different even when they share the same name so that I may assign them different river IDs. I would need to include coordinates or similar. Any idea?

 

So, I am using the aggregator to aggregate by name, creating a list of unique IDs and appending the same ID to same named features. But the problem is that some same-named features are actually at different locations so I need to separate these and provide a separate river ID.

2 replies

  • Author
  • November 21, 2020

An update, I managed to get pretty good results with the NeighborhoodAgreggator, looking good so far.


Forum|alt.badge.img+2
  • November 23, 2020

@matija​  Would SpatialRelator give you the results you need? You could choose the spatial predicate that best matches your data, i.e. equals


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings