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

Badge +22

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

Userlevel 2
Badge +12

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.

Reply