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
- 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