Example:
Point file
Attribute: Mapsheet
Polygon file
Attribute: WMS_Mapsheet
I would like to populate the Mapsheet attribute from the Polygons WMS_Mapsheet based on the spatial relation the points are contained within the polygon.
Example:
Point file
Attribute: Mapsheet
Polygon file
Attribute: WMS_Mapsheet
I would like to populate the Mapsheet attribute from the Polygons WMS_Mapsheet based on the spatial relation the points are contained within the polygon.
Output features from the SpatialRelator will contain attributes of related CANDIDATE features as a complex list attribute named "_relationships" by default. For example, if you send points to BASE port and send polygons to CANDIDATE port, each output point will have "_relationships{}.WMS_Mapsheet" when one or more polygons are related spatially. Since output features also have "_related_candidates" (default name) attribute which indicates the number of related CANDIDATE features (0 or more), you can see how many CANDIDATE features are related with this attribute.
In addition, if a point cannot be related to multiple polygons simultaneously (in other words, polygons are not overlapped each other), you can also consider using the SpatialFilter.
Takashi