Export Vector script:Split data by feature layername

htuserhtuser Global Mapper UserPosts: 39Trusted User
edited October 2014 in Technical Support
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

Comments

  • bmg_bobbmg_bob Global Mapper Programmer Posts: 2,146
    edited October 2014
    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
  • htuserhtuser Global Mapper User Posts: 39Trusted User
    Hello Bob,
    Does this request has been implemented in Global Mapper?
    Please let me know

  • bmg_bobbmg_bob Global Mapper Programmer Posts: 2,146
    Hello,

    It does not appear that that feature request has been implemented yet.

    Cheers,
    Bob
Sign In or Register to comment.