Global Mapper v25.0

Clip to a polygon when exporting vectors

Qiao
Qiao Global Mapper UserTrusted User
edited June 2011 in SDK
Hi Mike,

In GM_ExportVector funciton, is it possible to export the vectors cropped to a (selected) irregularly-shaped polygon or an area feature? If not, do you have any suggestion for a workaround?

Thanks,

Qiao

Comments

  • global_mapper
    global_mapper Administrator
    edited June 2011
    Qiao,

    Yes, call GM_SetExportCropAreas prior to the export function and they should be cropped.

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com
  • Qiao
    Qiao Global Mapper User Trusted User
    edited June 2011
    Thanks Mike. That helps. I will have it a try and will let you know if I have any problems.