Delete duplicate points
dcoggin
Global Mapper UserTrusted User
Mike,
How do I delete duplicate points? I have an ASCII text .xyz file loaded and I select all points. Right-clicking, I select the "Find selected points within . . ." and enter 0.01 (meters). The duplicates are selected with blue circles, but then how do I delete them. Thanks for the help.
David
How do I delete duplicate points? I have an ASCII text .xyz file loaded and I select all points. Right-clicking, I select the "Find selected points within . . ." and enter 0.01 (meters). The duplicates are selected with blue circles, but then how do I delete them. Thanks for the help.
David
Comments
-
David,
Are the duplicates at exactly the same location as other points? If so, I would write a simple script that uses the EDIT_VECTOR command to remove the duplicates. See http://globalmapper.com/helpv12/ScriptReference.html#cmd_edit_vector for details.
Let me know if I can be of further assistance.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com -
How can i remove points and areas in the map. Thank you.
-
Simply select the points and areas to remove with the Digitizer Tool, then press Delete to mark them as deleted.
Thanks,
Mike
Global Mapper Guru
geohelp@bluemarblegeo.com
Global Mapper -
Hi, I have the same question and have tried to go to the link referenced by the page no longer seems to be present. Is there a new solution or location? Thanks.
-
Nick Hardy said:
Hi, I have the same question and have tried to go to the link referenced by the page no longer seems to be present. Is there a new solution or location? Thanks.
Cheers,
Bob -
It is EDIT_VECTOR followed by DELETE_DUPLICATES=YES correct? It seems strait forward, but all the duplicate points in my lidar file are still there when i run the below script:GLOBAL_MAPPER_SCRIPT VERSION=1.00DIR_LOOP_START DIRECTORY="N:\4341_Kootenay\Robs_Las_Files\lidar w duplicate points" FILENAME_MASKS="*.las" RECURSE_DIR=NOIMPORT FILENAME="%FNAME_W_DIR%"EDIT_VECTOR DELETE_DUPLICATES=YESLAYER_LOOP_START FILENAME="*"SET_LAYER_OPTIONS FILENAME="%LAYER_FNAME_W_DIR%" HIDDEN=NOEXPORT_VECTOR TYPE=LIDAR_LAS FILENAME="%LAYER_DIR%%LAYER_FNAME_WO_EXT%_dup_pnts_removed.las"SET_LAYER_OPTIONS FILENAME="%LAYER_FNAME_W_DIR%" HIDDEN=YESLAYER_LOOP_ENDUNLOAD_ALLDIR_LOOP_END
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 628 GM Script Language
- 53 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website