Export with same filename for each load file .
Hi all,
I want to export the kml file form shapefile .
First , i use the batch convert to that ,
But the function can setup the descriptions .
So , I use the script
==
I want to export the kml file form shapefile .
First , i use the batch convert to that ,
But the function can setup the descriptions .
So , I use the script
==
GLOBAL_MAPPER_SCRIPT VERSION="1.00"
LAYER_LOOP_START FILENAME="*.shp"
SET_LAYER_OPTIONS FILENAME="%LAYER_FNAME%"
EXPORT_VECTOR TYPE=KML FILENAME="D:\GM_TEST\%LAYER_FNAME%.kml" KML_HTML_DESC_TEXT="<table border=1 cellpadding=3 cellspacing=0 style='FONT-SIZE: 11px'><tr><td width='70' nowrap='nowrap'>RoadNUM</td><td width='100'>%ROADNUM%</td></tr><tr><td width='70' nowrap='nowrap'>RoadNAME</td><td width='100'>%COUNTY%%ROADNAME%%RDNAMESECT%%RDNAMELANE%%RDNAMENON%%BRITUNNAME%</td></tr><tr><td width='70' nowrap='nowrap'>RoadALIAS</td><td width='100'>%ROADALIAS%</td></tr></table>"
LAYER_LOOP_END
===
It work when i just load one file to convert .
but when I load many file . i will export to many same file with different name .
Is it possible to export each kml with the same name to export file ?
How do I to setup the filename ?
Thanks
Ben
===
It work when i just load one file to convert .
but when I load many file . i will export to many same file with different name .
Is it possible to export each kml with the same name to export file ?
How do I to setup the filename ?
Thanks
Ben
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