Create random sampling points that are not within existing area features
Corsabrin
Global Mapper User
in Vector Data
Hi guys, I have a set of area features created. Now, I want to create the same number of point features randomly, but not within the existing area features. Can this be done in GM? I'm using GM 16.
Thanks all
Regards
Ben
Thanks all
Regards
Ben
Tagged:
Answers
-
Hello,
Here is a suggested workflow:- Create an area feature for the full bounds of your data, putting it in a new layer.
- Select your area features, the copy and paste them into the layer you created in step 1.
- Hide all layers except for the new layer.
- Select the areas, right-click and choose Crop/Combine/Split Functions | Cut Selected Area(s) from All Overlapping Areas (Create Islands).
- When prompted, check the new layer and click OK.
- Now you have one large area with islands for your features.
- Select the area representing your full bounds, right-click and choose Advanced Feature Creation Options | Create Randomly Distributed Points Within Selected Area Features(s).
- On the Generate Randomly Distributed Points screen, enter the number of points. Be sure that there is not a check next to "Generate points in selected islands". Click OK.
- You should now have randomly distributed points outside of your areas.
- You can hide or unload the new layer you created, if desired.
Bob -
Thanks Bob, that workflow is concise.
Categories
- 13K All Categories
- 5.8K Features Discussion
- 350 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 652 GM Script Language
- 56 User Scripts
- 115 GPS Features
- 422 Projection Questions
- 837 Raster Data
- 1.4K Vector Data
- 6.7K Support
- 182 Announcement and News
- 944 Bug Report
- 563 SDK
- 1.2K Suggestion Box
- 3.8K Technical Support
- 581 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 245 How I use Global Mapper
- 111 Global Mapper Forum Website

