delete points within polygon

is there a way to delete elevation vector points within a polygon? i need to cut regions with poor data quality (trees etc) from my model.
many thanks for your help
Comments
-
Yes, just select the polygon(s) with the Digitizer Tool, then right-click and select the Advanced Selection submenu option to select all points within the selected area(s), then press Delete to mark them as deleted.
Let me know if I can be of further assistance.
Thanks,
Mike
Global Mapper Guru
gmsupport@bluemarblegeo.com
http://www.globalmapper.com -
works perfect, just what i was looking for.
thanks. -
Hello, can you suggest how to script this workflow?
-
michal said:Hello, can you suggest how to script this workflow?
Cheers,
Bob -
I realize that this is very old thread, but has anything changed with regards to the EDIT_VECTOR command to allow for advanced selection options in a script?
-
There is not currently a way to select by polygon in the EDIT_VECTOR script command. I have added a new todo task GM-14715 for adding this functionality.
Thanks,
Mike
Global Mapper Guru
-
Thanks Mike.
Specifically what I want to do is:
Select all elements of an area layer (shapefile), such as you can do by right clicking on the layer in the control center.
Select all points within selected area layer (Advanced Selection Options) .
Delete all the selected points.
I have tried to do something similar with exporting all points except those bounded by polygons in a specified layer, and when the datasets get large enough there are always a few points missed. Nothing seems to get missed when I do the workflow as described above, it is just cumbersome to have to do the steps manually. Would be lovely to be able to do it via a script!
Categories
- 12.9K All Categories
- 5.7K Features Discussion
- 346 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 643 GM Script Language
- 54 User Scripts
- 115 GPS Features
- 419 Projection Questions
- 829 Raster Data
- 1.4K Vector Data
- 6.6K Support
- 179 Announcement and News
- 926 Bug Report
- 561 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 574 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 241 How I use Global Mapper
- 108 Global Mapper Forum Website