Global Mapper Pro Coming Soon

GM_ExportPackage and Empty layers

OseiOsei Global Mapper UserPosts: 119Trusted User
edited May 2008 in SDK
I have created 9 layers with
GM_CreateCustomVectorLayer
and populated them with features. The problem is only 4 of these layers are actually populated as the other 5 are empty.
When I export package, only the 4 layers with data are exported. The remaining 5 are not exported. I would have wanted the 5 empty layers to be exported as well.

Comments

  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited May 2008
    There is not currently any way to get empty layers exported to a package file. What you might do is add one bogus feature to those empty layers, say a point with no simple, name, or attributes. That way they could be exported. You could always check for that feature and mark it as deleted later on import of the package.

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com
Sign In or Register to comment.