Skip to main content
Solved

How to remove points inside a polygon?

  • September 17, 2018
  • 3 replies
  • 114 views

dataninja
Forum|alt.badge.img

I am trying to remove all the points inside the red polygon that I drew. Does anyone have any ideas how I can do that without messing up the rest of my blue polygon?

Thanks in advance!

on

Best answer by danilo_fme

Hi @trungn1993

I suggest you to use the transformer PointonAreaOverlayer to identify the points inside the red polygon:

After you can use the transformer Tester to check all points are inside the red polygon:

You can use the all features ( Points ) that will be in the output port Failed.

Thanks,

Danilo

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.

3 replies

danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • Best Answer
  • September 17, 2018

Hi @trungn1993

I suggest you to use the transformer PointonAreaOverlayer to identify the points inside the red polygon:

After you can use the transformer Tester to check all points are inside the red polygon:

You can use the all features ( Points ) that will be in the output port Failed.

Thanks,

Danilo


fmelizard
Safer
Forum|alt.badge.img+20
  • Safer
  • 3719 replies
  • September 17, 2018

Hi @trungn1993 Use a SpatialFilter


dataninja
Forum|alt.badge.img
  • Author
  • 44 replies
  • September 17, 2018

Thanks @danilo_fme