Global Mapper v25.0

Problems updating atribute

Mars
Mars Global Mapper User
edited October 2010 in GM Script Language
Hello,
I was trying to update the value of the atribute ELEVATION of a layer of points to the same value of their labels.

My script is like this:

GLOBAL_MAPPER_SCRIPT VERSION=1.00
EDIT_VECTOR ATTR_VAL="ELEVATION=534.58" COMPARE_STR="&ltFeature Name&gt=534,58"

can someone tell me where is the error?

Thanks in advance.

Comments

  • global_mapper
    global_mapper Administrator
    edited October 2010
    You don't need to use the HTML escape sequences &lt and &gt in your COMPARE_STR, just make it like COMPARE_STR="<Feature Name>=534,58".

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com