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