delete points within polygon

sky111sky111 Global Mapper UserPosts: 10Trusted User
edited June 2012 in Vector Data
hello

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

  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited June 2012
    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
  • sky111sky111 Global Mapper User Posts: 10Trusted User
    edited June 2012
    works perfect, just what i was looking for.
    thanks.
  • michalmichal Posts: 10
    Hello, can you suggest how to script this workflow?
    Cole
  • bmg_bobbmg_bob Global Mapper Programmer Posts: 2,003
    michal said:
    Hello, can you suggest how to script this workflow?
    Typically, this is the sort of thing you would do using the EDIT_VECTOR command, but we don't currently have a way to apply the advanced selection operations in a script.  The best option currently available is to use the EXPORT_VECTOR command with a polygon crop file, and specify the POLYGON_CROP_EXCLUDE parameter.  This will export your data, excluding the features in the crop file areas, to a new file.

    Cheers,
    Bob
Sign In or Register to comment.