Skip to main content
Solved

how to select by location and field calculate

  • September 19, 2016
  • 2 replies
  • 773 views

Forum|alt.badge.img

I wish to replicate the following workflow from ArcMap

1. delete unnecessary fields from dataset table

2. add in new fields and put a default value of "no"

3. Using select by location, filter data that overlaps with another dataset and the field calculate the overlapping polygons with "yes"

I need to do this for 40+ intersecting datasets and am new to FME. I have steps 1 and 2 complete but step 3 has me stumped. I've tried SpatialRelator, Spatial Filter, AreaOnAreaOverlay with no luck.

Best answer by ebygomm

You should be able to use a spatial relator alongside an attributecreator to achieve this.

The polygon layer connects to the requestor port with the data layer connecting to the supplier, then an attribuecreator with a conditional value if _related_candidates > 0 then Field value = "Yes" else "No"

View original
Did this help you find an answer to your question?

2 replies

ebygomm
Influencer
Forum|alt.badge.img+32
  • Influencer
  • Best Answer
  • September 19, 2016

You should be able to use a spatial relator alongside an attributecreator to achieve this.

The polygon layer connects to the requestor port with the data layer connecting to the supplier, then an attribuecreator with a conditional value if _related_candidates > 0 then Field value = "Yes" else "No"


Forum|alt.badge.img
ebygomm wrote:

You should be able to use a spatial relator alongside an attributecreator to achieve this.

The polygon layer connects to the requestor port with the data layer connecting to the supplier, then an attribuecreator with a conditional value if _related_candidates > 0 then Field value = "Yes" else "No"

thank you, worked great


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