Skip to main content
Solved

how to select by location and field calculate

  • September 19, 2016
  • 2 replies
  • 964 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"

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

ebygomm
Influencer
Forum|alt.badge.img+46
  • 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

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