GM_ExportPackage and Empty layers
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.
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
-
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
Howdy, Stranger!
Categories
- 12.2K All Categories
- 5.3K Features Discussion
- 312 Downloading Imagery
- 1.2K Elevation Data
- 371 Georeferencing Imagery Discussion
- 580 GM Script Language
- 42 User Scripts
- 111 GPS Features
- 388 Projection Questions
- 788 Raster Data
- 1.3K Vector Data
- 6.4K Support
- 159 Announcement and News
- 881 Bug Report
- 554 SDK
- 1.1K Suggestion Box
- 3.6K Technical Support
- 520 Other Discussion
- 125 GIS Data Sources
- 26 Global Mapper Showcase
- 217 How I use Global Mapper
- 99 Global Mapper Forum Website