Skip to main content

Actually I have some polygons and poles(asset) and I want those polygon which contains these poles. Please ​help me regarding this .

I tried spatialfilter for this but it gives assets which are in polygon but mainly I want polygons which contains poles.

Hoping to get some help from you guys!!

Thanks in advance:)​

It sounds like you might just need to switch the filter and candidate around in the spatial filter. If you send the poles (points) to the filter, and the polygons to the candidate and choose Filter Within Candidate you should just get polygons that contains poles.

 

If you need information about what poles are within a polygon you are better off using a spatial relator rather than a spatial filter


I agree with @ebygomm​ . An alternative would be to use the PointOnAreaOverlayer and use the Area output. Check the value of _overlaps > 0 to filter out the polygons with one or more asset points.


It sounds like you might just need to switch the filter and candidate around in the spatial filter. If you send the poles (points) to the filter, and the polygons to the candidate and choose Filter Within Candidate you should just get polygons that contains poles.

 

If you need information about what poles are within a polygon you are better off using a spatial relator rather than a spatial filter

Actually I tried to switch candidate and filter but results which I got are not correct ones. It gives both polygon containing no poles and polygon which contains poles.

Spatial Relator also did the same.​


I agree with @ebygomm​ . An alternative would be to use the PointOnAreaOverlayer and use the Area output. Check the value of _overlaps > 0 to filter out the polygons with one or more asset points.

I tried also your suggestion but what it is doing,suppose 1100 polygon and using this filter against poles.It results same 1100 polygons .for this I verified through map viewer where I searched polygon no and it did not contain any pole.


I tried also your suggestion but what it is doing,suppose 1100 polygon and using this filter against poles.It results same 1100 polygons .for this I verified through map viewer where I searched polygon no and it did not contain any pole.

Did you use a Tester after the PointOnAreaOverlayer to only include the polygons where _overlaps > 0?


Have you checked that both sets of data are in the same coordinate system?


Have you checked that both sets of data are in the same coordinate system?

Yes I checked both are in same coordinate system​


Yes I checked both are in same coordinate system​

Also try sending both the polygons and the points to an Inspector and visually check that they actually overlap.


Reply