I have many polygons containing many points and polygons can overlap. I need to create an output that will contain as many polygon records as their are points inside. That way I can compare the attributes of the polygon with the attributes of all the points inside. I am using SpatialRelator with the polygons as the Requestor and the Points as the Supplier. Then a Listexploder, but the output of the point attributes are scrambled.
Page 1 / 1
I would use the PointonAreaOverlayer (generate a list), then the ListExploder on the Area output port of the PointonAreaOverlayer. That should give you the required result.
I would use the PointonAreaOverlayer (generate a list), then the ListExploder on the Area output port of the PointonAreaOverlayer. That should give you the required result.
I have tried this but the point attributes just gets repeated. So if I have for instance 1 polygon overlapping 4 points with id's 1,2,3 and 4 then the results will contain 4 records (which I am happy with), but all the point ids will be = 1. On the PointOnAreaOverlayer I have tried Areas First Yes and No - Same result. Thank you
Thank you erik_jan
I have tried this but the point attributes just gets repeated. So if I have for instance 1 polygon overlapping 4 points with id's 1,2,3 and 4 then the results will contain 4 records (which I am happy with), but all the point ids will be = 1. On the PointOnAreaOverlayer I have tried Areas First Yes and No - Same result. Thank you
If in doubt use prefix list name to keep the right list attribute
If in doubt use prefix list name to keep the right list attribute
If in doubt use prefix list name to keep the right list attribute
If in doubt use prefix list name to keep the right list attribute