Script for batch converting
in User Scripts
Hi,
I want to create a script to import coordinates and batch convert them from ASCII to KMZ/KML files.
Does anybody have some examples for how to do this?
So far I have trouble with importing the files, I get the following error: WARNING: No overlays could be loaded from file.
GLOBAL_MAPPER_SCRIPT VERSION="1.00"
IMPORT FILENAME="C:\Users\admin\Desktop\test.asc
I want to create a script to import coordinates and batch convert them from ASCII to KMZ/KML files.
Does anybody have some examples for how to do this?
So far I have trouble with importing the files, I get the following error: WARNING: No overlays could be loaded from file.
GLOBAL_MAPPER_SCRIPT VERSION="1.00"
IMPORT FILENAME="C:\Users\admin\Desktop\test.asc
Tagged:
Answers
-
Hello,
The easiest way to set up an import statement for an ASCII file is to load the file into Global Mapper with parameters set up to produce your desired input. Then save a workspace file. A workspace file is a script, so you can open it in a text editor and look for the IMPORT statement for your file. There are a lot of input parameters required to tell Global Mapper what the data looks like and where to find coordinates and attribute data, and this will show you the ones you need.
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
- 417 Projection Questions
- 829 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 178 Announcement and News
- 920 Bug Report
- 559 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 573 Other Discussion
- 131 GIS Data Sources
- 27 Global Mapper Showcase
- 241 How I use Global Mapper
- 108 Global Mapper Forum Website