Loading a GMW via GMS to Automate Task
digitalaviator
Global Mapper UserTrusted User
Hi Mike,
I've got a challenge I need to solve. I am wondering if it's possible for me via Script to load a GMW file and then export a vector SHP from it?
I've tried a few different approaches but haven't had any success. If I could script it, it would save me a day's worth of hand work and I'd be done in a few mins.
Cheers,
I've got a challenge I need to solve. I am wondering if it's possible for me via Script to load a GMW file and then export a vector SHP from it?
I've tried a few different approaches but haven't had any success. If I could script it, it would save me a day's worth of hand work and I'd be done in a few mins.
Cheers,
Comments
-
Dean,
Yes, since a GMW workspace is just a script, you can use the EMBED_SCRIPT command to load that .gmw from another script. See Global Mapper Scripting Reference for details. Once loaded, use EXPORT_VECTOR to export out a Shapefile.
Thanks,
Mike
Global Mapper Guru
geohelp@bluemarblegeo.com
Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation
Howdy, Stranger!
Categories
- 12.2K All Categories
- 5.3K Features Discussion
- 312 Downloading Imagery
- 1.2K Elevation Data
- 371 Georeferencing Imagery Discussion
- 580 GM Script Language
- 42 User Scripts
- 111 GPS Features
- 388 Projection Questions
- 788 Raster Data
- 1.3K Vector Data
- 6.4K Support
- 159 Announcement and News
- 881 Bug Report
- 554 SDK
- 1.1K Suggestion Box
- 3.6K Technical Support
- 520 Other Discussion
- 125 GIS Data Sources
- 26 Global Mapper Showcase
- 217 How I use Global Mapper
- 99 Global Mapper Forum Website