Export_Vector Shapefile Attribute Setup

Hydro_BrentHydro_Brent Global Mapper UserPosts: 5
I am using a script to export a shapefile (via export_vector) and I need to change the attribute type and length for some attributes. The functionality I need is what is available in the "Attribute Setup" tab (see attached) in the Global Mapper GUI.  I can't seem to find in the documentation how I would make the changes to an attribute type or length via a script during export. The code I'm using for the export is below

EXPORT_VECTOR FILENAME="E:\Test.shp" \
TYPE="SHAPEFILE" \
GEN_PRJ_FILE="YES" \
SHAPE_TYPE="POINTS" \
INC_LAYER_ATTR="NO"

What do I need to do in a script to alter attribute type or length during export (or prior)?

Regards,
Brent

Tagged:

Best Answer

  • bmg_bobbmg_bob Global Mapper Programmer Posts: 2,006
    Answer ✓
    Hello,

    We have an existing feature request (#18397) for the ability to specify attribute type and length on the EXPORT_VECTOR command. I have added your information to the request. At the moment, it is not scheduled for implementation, but more user requests will increase its priority. We will post a message on this thread if the status of the request changes.

    Cheers,
    Bob

Answers

  • Hydro_BrentHydro_Brent Global Mapper User Posts: 5
    Bob,

    Thanks for the quick response. Needless to say, I would like to see that capability added.

    Regards,
    Brent
Sign In or Register to comment.