Global Mapper v25.0

ROTATE_ABOUT manually specified location not working

craig.pepper
craig.pepper Global Mapper User
edited March 2011 in GM Script Language
Hi,

I'm getting the error:
WARNING: Unknown ROTATE_ABOUT value for EDIT_VECTOR command

when running the following command on the attached shapefile:
EDIT_VECTOR ROTATE_ANGLE=90 ROTATE_ABOUT="143.0,-39.0"

I've tried the predefined COMBINED_CENTER value for ROTATE_ABOUT which works fine, but I really need to rotate about a specified point.

Cheers,
Craig

Comments

  • global_mapper
    global_mapper Administrator
    edited March 2011
    Craig,

    What version and build date of Global Mapper are you using? You might just need to get the latest build as the ROTATE_ABOUT parameter hasn't always been there. I have placed a new build at http://www.globalmapper.com/global_mapper12.zip with the latest changes for you to try. Simply download that file and extract the contents into your existing v12.xx installation folder to give it a try. If you are using the 64-bit v12 version there is a new build at http://www.globalmapper.com/global_mapper12_64bit.zip .

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com
  • craig.pepper
    craig.pepper Global Mapper User
    edited March 2011
    Mike,

    Thanks for the quick response. I was using the standard 12.01 64-bit on Windows 7. Same result with 12.01 32-bit on Windows XP.

    I downloaded and tried the 030911 64-bit build and got the same error.

    Cheers,
    Craig
  • global_mapper
    global_mapper Administrator
    edited March 2011
    Craig,

    I took a look and found a bug in the parsing of the ROTATE_ABOUT parameter. It was looking for a space delimiter rather than a comma between the fields. I fixed that and now it works fine. I have placed a new build at http://www.globalmapper.com/global_mapper12.zip with the change for you to try. Simply download that file and extract the contents into your existing v12.xx installation folder to give it a try. If you are using the 64-bit v12 version there is a new build at http://www.globalmapper.com/global_mapper12_64bit.zip .

    Or you can keep your existing build and replace the comma with a space. The new build supports a comma, semi-colon, space, or tab delimiter.

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com
  • craig.pepper
    craig.pepper Global Mapper User
    edited March 2011
    Mike,

    Thanks, that did the trick. Much appreciated!

    Cheers,
    Craig