Export Vector script:Split data by feature layername
htuser
Global Mapper UserTrusted User
Dear Mike and Bob,
It's the first time that i use a script to load automatically data in a spatial database with the following script.
EXPORT_VECTOR TYPE="" SHAPE_TYPE="AREAS" SDB_CONNECTION_NAME="XXX" \
SDB_SERVER="212.268.0..0" SDB_PORT="XXX" SDB_DATABASE_NAME="DB_sample" \
SDB_SAVE_USER_AND_PASSWORD="YES" SDB_USER_NAME="user" \
SDB_PASSWORD="1234" SAVE_CONNECTION=YES \
SPLIT_BY_LAYER=YES\
SDB_TABLE_NAME="" LABEL_FIELD_FORCE_OVERWRITE="NO"\
I've just buy the latest version, mainly for using this script.
But, unfortunately, i've two problems...after loading a lot of files...
1.- I can't load data with the same name that they are loading in Global mapper using an script command to "Split data by feature layer name";
2.- When load multiple file, i'm unable to export more than one file/one table, so, if i open 20 file in global mapper i can't export 20tables in the database with the same layername.
Please, can you help me?
Sincerely
It's the first time that i use a script to load automatically data in a spatial database with the following script.
EXPORT_VECTOR TYPE="" SHAPE_TYPE="AREAS" SDB_CONNECTION_NAME="XXX" \
SDB_SERVER="212.268.0..0" SDB_PORT="XXX" SDB_DATABASE_NAME="DB_sample" \
SDB_SAVE_USER_AND_PASSWORD="YES" SDB_USER_NAME="user" \
SDB_PASSWORD="1234" SAVE_CONNECTION=YES \
SPLIT_BY_LAYER=YES\
SDB_TABLE_NAME="" LABEL_FIELD_FORCE_OVERWRITE="NO"\
I've just buy the latest version, mainly for using this script.
But, unfortunately, i've two problems...after loading a lot of files...
1.- I can't load data with the same name that they are loading in Global mapper using an script command to "Split data by feature layer name";
2.- When load multiple file, i'm unable to export more than one file/one table, so, if i open 20 file in global mapper i can't export 20tables in the database with the same layername.
Please, can you help me?
Sincerely
Comments
-
Hello,
The SPLIT_BY_LAYER parameter is not supported for export to a spatial database in a script. There is an active feature request to implement this in Global Mapper 16, but it has not been completed yet.
Cheers,
Bob -
Hello Bob,
Does this request has been implemented in Global Mapper?
Please let me know
-
Hello,
It does not appear that that feature request has been implemented yet.
Cheers,
Bob -
is there a work around for this in order to export multiple vectors as separately?
Categories
- 12.8K All Categories
- 5.7K Features Discussion
- 345 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 638 GM Script Language
- 54 User Scripts
- 115 GPS Features
- 417 Projection Questions
- 827 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 178 Announcement and News
- 914 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 569 Other Discussion
- 131 GIS Data Sources
- 27 Global Mapper Showcase
- 238 How I use Global Mapper
- 107 Global Mapper Forum Website