Skip to main content
Solved

PointOnAreaOverlayer Help - One Point shared between two polygons


galigis
Enthusiast
Forum|alt.badge.img+16

Hi Community,

 

Classic issue with the PointOnAreaOverlaye where I have got one location where the same centroid is shared between two parcels and want to bring the information from point to area. Attached two screenshots that explain the situation. In theory...by creating a list and exploding should work but doesn't give me what I want as the output contains 2 parcels overlaps where there're two points

 

Example 1) I need to bring the assign the point info to each of the parcels. As you can notice the point on the left is shared between two parcels.

Example 1Example 2) Also, I need to bring the assign the point info to each of the parcels. As you can notice the point on the right is shared between two parcels.

Example 2I have tried to 'Generate List on output Area' and then explode but the 'element_index' and '_overlap' are different so can't use a tester to filter the list.

I have also tried NeighborFinder to filter only those centroids at the middle of the parcel .

 

Thanks All for any help in advanced 🙂

Best answer by dustin

galigis wrote:

Thanks @dustin​ , just tried too and unfortunately gives me the same result: the  'element_index' and '_related_candidates' values are different therefore can't use the tester to filter them. There must be a workaround to tell FME to assign the 'centre point attributes' to the parcel at the middle of centroid and exclude any overlapping.

Ahh, I see what you are trying to accomplish. How about this:

 

  • Use a GeometryExtractor on the areas to store the geometry to an attribute.
  • Send the areas to a CenterPointReplacer with Center of Gravity as the mode.
  • Use a NeighborFinder to match the areas' centerpoints with the centroid points.
  • Once the attributes are transferred, use a GeometryReplacer to reestablish the original area geometry.

image 

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

4 replies

dustin
Influencer
Forum|alt.badge.img+30
  • Influencer
  • March 30, 2023

What about a SpatialRelator?


galigis
Enthusiast
Forum|alt.badge.img+16
  • Author
  • Enthusiast
  • March 30, 2023

Thanks @dustin​ , just tried too and unfortunately gives me the same result: the  'element_index' and '_related_candidates' values are different therefore can't use the tester to filter them. There must be a workaround to tell FME to assign the 'centre point attributes' to the parcel at the middle of centroid and exclude any overlapping.


dustin
Influencer
Forum|alt.badge.img+30
  • Influencer
  • Best Answer
  • March 30, 2023
galigis wrote:

Thanks @dustin​ , just tried too and unfortunately gives me the same result: the  'element_index' and '_related_candidates' values are different therefore can't use the tester to filter them. There must be a workaround to tell FME to assign the 'centre point attributes' to the parcel at the middle of centroid and exclude any overlapping.

Ahh, I see what you are trying to accomplish. How about this:

 

  • Use a GeometryExtractor on the areas to store the geometry to an attribute.
  • Send the areas to a CenterPointReplacer with Center of Gravity as the mode.
  • Use a NeighborFinder to match the areas' centerpoints with the centroid points.
  • Once the attributes are transferred, use a GeometryReplacer to reestablish the original area geometry.

image 


galigis
Enthusiast
Forum|alt.badge.img+16
  • Author
  • Enthusiast
  • March 30, 2023

Niiiiice - it worked . 5 stars @dustin​ :) you made my FME day! thanks a lot


Reply


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