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
  • 28 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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

  • Author
  • 5 replies
  • November 21, 2020

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


Forum|alt.badge.img+2
  • 1891 replies
  • 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