I have one reader which is a harbours layer and has an attribute called location which is the name of the harbour. I also have a layer of vegetation polygons. What I want to do is add the location attribute to the vegetation layer where it overlaps with the harbour layer. How would I do this in FME?
I'm new to fme so bare with me..
Page 1 / 1
Hi,
To spatially relate features and transfer attributes between them see the SpatialFilter or SpatialRelator.
It is always a good idea to consult the documentation about the workings of transformers and their parameters.
Itay
Thanks, I was using the SpatialRelator but wasn't getting the result I wanted. Eventually found the problem was that I was using 'overlaps' when I should have been using 'Intersects' as the the overlaps option does not include features that are fully contained by other features (i.e. the harbour features).
I have a very similar situation so I thought I would add to this thread and was wondering if you guy's could help.
I'm trying to populate an attribute value from one feature to the next.
I am using the SpatialRelator to find all my points that overlap my polygon, then I would like to map the value from my polygon onto the points that are contained by the polygon.
I have connected an AttributeValueMapper transformer to the output of my Spatial Relator but it does not seem to overwrite or transfer the attrubtes?