Exporting 2 files together in a script
Answers
-
Files loaded and visible should ALL export with one command. Are you seeing different behavior?
An alternative that should not be needed is to combine lidar files into one layer, then export the new layer.
What version of Global Mapper are you using?
-
Mykle,
I am using Global Mapper 19To explain better in more detail my end goal with the script:I need to unclassify all points within a lake polygon. Here is what i have done so far:Script 1:Unclassify all points found within the lake polygonScript 2:take all points within the lake polygon and delete them.Script 3 (where i am stuck):combine the files generated in script 1 and script 2 into one final file.If there is an easier way to accomplish this task, I would gladly do it. However, this is the only way i could figure out how to get this task done. Would you know the best approach to do this with GM scripting? -
I am far from being a LIDAR expert ....
However, it looks like script 1 is selecting all points within the lake polygon. In addition to unclassifying these points, you should be able to edit them to move them to a new or a different layer.
Now you can hide your original layer, and unhide (if it is hidden) the layer containing the moved points. Then you can export them.
Whether or not you delete the layer containing the lake p[oints is up to you. You have the points in two different layers so you might have some use for each layer.
Categories
- 13K All Categories
- 5.8K Features Discussion
- 351 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
- 183 Announcement and News
- 944 Bug Report
- 565 SDK
- 1.2K Suggestion Box
- 3.8K Technical Support
- 582 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 245 How I use Global Mapper
- 111 Global Mapper Forum Website


