1

In MapInfo, how can I remove polygons from a table according to whether or not points from another table fall within their boundaries?

3

You will need to use the SQL select tool which is found in the Query menu.

Below is a polygon layer and point layer. enter image description here

In the SQL select tool, you'll have something that looks like this:

enter image description here

Ensure that your polygon layer comes first in the "from Tables:" field.

The results selected:

enter image description here

With the polygon layer editable and the results selected, just press DELETE. This can be done in either the map window or the browser window.

If your goal was to select polygons that didn't have a point inside them, then after you perform the above selection, go to the Query Menu, then "Invert Selection". Then delete.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.