Skip to main content
Question

Geometry from polygon

  • May 26, 2016
  • 2 replies
  • 24 views

I have a number of points in EPSG:4326 and a number of polygons / areas in EPSG:4326. I need to get the geometry of the polygon and the attributes from the points. They only relate spatially with many points within a polygon.

I've tried spatial relator, but it seems just to pass the points to next transformer and not the polygon geometry. Same with point on area overlayer.

Do I need another transformer, or have I just missed some handles in the named transformers?

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.

2 replies

jdh
Contributor
Forum|alt.badge.img+40
  • Contributor
  • May 26, 2016

If using the spatialRelator, the Polygons should go to the Requestor port and the Points to the Supplier port.


erik_jan
Contributor
Forum|alt.badge.img+26
  • Contributor
  • May 26, 2016

I think you want to reproject either the points or the polygons, so they match and then use the PointonAreaOverlayer transformer to get the attributes from the points on the areas. If you have multiple points in an area you need to use the list option.