The question is pretty self-explanatory, there is a select by location option in ArcMap that allows you to select polygons from a dataset that have their centroid in polygons from ANOTHER DATASET. I think one would need to use the CenterPointReplacer transformer to create centroids of the polygon and select the centroids that are within the other polygon then join (DatabaseJoiner?) the selection back to the original polygon but I would like to know if there is an easier way.
Solved
Is there a way to select polygons that have their centroid in another polygon, similar to the way it's done in ArcGIS?
Best answer by krenty
Thanks for all your help @erik_jan and @jdh. I have since modified my workflow to include the GeometryExtractor and Replacer (this was the key actually) so that I could run my selection of centroids derived from the original polygons and then turn those selected points back into their corresponding polygons. Here is what I did if anyone needs to do something similar.
selectpolygons-that-havecentroids-in-another-polyg.png
Thanks again! :)
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.
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.




