GM script about "create point features spaced along selected features"

suzuki
Global Mapper User
hi
i got several 3D shp file ( line or area type)
and i hope to create points along the shp boundary line with every fixed distance (10 cm)
i find a very good GM defalut tool (Advanced Feature Creation options/create point features spaced along selected features)
as attached image
but i can't find any GM script language to do this process in batch.
that's my Question
Best Regards.
thanks.

Tagged:
Answers
-
Hello,
Use the EDIT_VECTOR command, and include the parameter called CREATE_POINTS_ALONG_FEATURES. The value is the spacing in meters. (Specify a negative number to create that number of points, spaced evenly along the feature.) Here is an example illustrating how to add evenly spaced points every 200 meters along the features containing a CLASS attribute with a value of '1'. Point features will also be created at the end point, and at each current vertex:EDIT_VECTOR CREATE_POINTS_ALONG_FEATURES=200 COMPARE_STR="CLASS=1" \
KEEP_END_POINT=YES KEEP_ORIGINAL_VERTICES=YESIt appears that the CREATE_POINTS_ALONG_FEATURES is not described in the documentation, although there is an example that illustrates how to use it. We will have to fix that.
Cheers,
Bob
Categories
- 12.8K All Categories
- 5.7K Features Discussion
- 346 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 639 GM Script Language
- 54 User Scripts
- 115 GPS Features
- 419 Projection Questions
- 829 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 179 Announcement and News
- 923 Bug Report
- 560 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