Question, metadata "COVERED AREA" value unit?

gugupogugupo Global Mapper UserPosts: 24Trusted User
edited November 2012 in SDK
Image7.jpg

"COVERED AREA" value unit 'sq mi'. use the change to unit 'km2'?

Comments

  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited November 2012
    If you change your area measure units on the General tab of the Configuration dialog that should control those reported units.

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.globalmapper.com
  • gugupogugupo Global Mapper User Posts: 24Trusted User
    edited November 2012
    Thanks, Mike.

    I want to use SDK.(SDK version 1.37)

    Change area measure units function?
  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited November 2012
    There isn't any way in that version of the SDK to programmatically set the area display units. I am adding that right now for the latest SDK.

    For older versions you could run 'regedit and go to the registry location for your program (like 'HKEY_CURRENT_USER\Software\Global Mapper', although potentially with a sub key if you used GM_SetRegistryKey) and set the value of the AreaMeasureUnits key. Its values are the same as the GM_AreaUnits_t8 type defined in GlobalMapperTypes.h. Do this before starting your application or at least before calling GM_SetRegistryKey.

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.globalmapper.com
Sign In or Register to comment.