Skip to main content
Question

Geometry from polygon


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?

2 replies

jdh
Contributor
Forum|alt.badge.img+28
  • 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+17
  • 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.


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