Solved

Select by Location BASED on 10 meters radius

  • 23 September 2019
  • 11 replies
  • 12 views

Badge

I have two features

source and MasterData

i need to select in MasterData only 10 meters radius data from source.

 

Based on Geometry and exclude attributes condition.

 

icon

Best answer by redgeographics 23 September 2019, 09:42

View original

11 replies

Userlevel 4
Badge +25

The NeighborFinder will do that for you.

Badge

The NeighborFinder will do that for you.

In NeighborFinder it gives attribute base

Userlevel 4
Badge +25

In NeighborFinder it gives attribute base

I assume you mean the "Group By" option. You don't have to use that, if you don't select any attributes there it will simply ignore those when doing the selection.

Badge

The NeighborFinder will do that for you.

Thanks BRo

Badge

The NeighborFinder will do that for you.

must select minimum two neighbor with only 10 meters radius

 

 

Userlevel 4
Badge +25

must select minimum two neighbor with only 10 meters radius

 

 

FME will interpret that distance as being in the same units as your data. If you put in data that's in meters FME will treat that value as meters and so on.

Under "Attribute Accumulation" you can have it generate a list of found candidates, included in that list is the distance so you can sort on that and select however many you like.

Badge

The NeighborFinder will do that for you.

@redgeographics could you please give brief

 

Userlevel 4
Badge +25
@redgeographics could you please give brief

 

Are you still trying to find 2 neighbors within 10m?

Badge

Are you still trying to find 2 neighbors within 10m?

yes still im trying

Userlevel 4
Badge +25

yes still im trying

Ok, in that case you'll need to set the "Number of Neighbors to Find" parameter to 2 and the maximum distance to 10 (assuming your data is in meters of course). Then at the bottom you have specified that it will generate a list, called _candidates. This means that each base will get some attributes of the 2 closest candidates in a list, that red box at the bottom is where you can pick which attributes it'll take along.

Note that you have set a Group By, this means it will only consider candidates that have the same value for the attribute "HBA" as the base you're comparing them with.

Badge

Ok, in that case you'll need to set the "Number of Neighbors to Find" parameter to 2 and the maximum distance to 10 (assuming your data is in meters of course). Then at the bottom you have specified that it will generate a list, called _candidates. This means that each base will get some attributes of the 2 closest candidates in a list, that red box at the bottom is where you can pick which attributes it'll take along.

Note that you have set a Group By, this means it will only consider candidates that have the same value for the attribute "HBA" as the base you're comparing them with.

thanks for replaying completed it now.

Reply