Features style
Hi,
My features come divided in different files by class (or category). How can I give to all the features of a specific layer the same class number? Do I have to go one by one?
How do I loop through all the Area features of the layer with security not to forget area feature?
Thanks a lot
Oscar
My features come divided in different files by class (or category). How can I give to all the features of a specific layer the same class number? Do I have to go one by one?
How do I loop through all the Area features of the layer with security not to forget area feature?
Thanks a lot
Oscar
Comments
-
Oscar,
To loop through and edit all of the area features in a layer, do the following:
1) Call GM_GetLayerInfo to get the number of areas in the layer (mNumAreas)
2) Loop from 0 to mNumAreas
a) Call GM_GetAreaFeature to get the area information
b) Do whatever editing to the area that you need to do based on the type/attributes
c) Call GM_FreeAreaFeature
Let me know if I can be of further assistance.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com
Categories
- 12.9K All Categories
- 5.7K Features Discussion
- 346 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 645 GM Script Language
- 54 User Scripts
- 115 GPS Features
- 419 Projection Questions
- 829 Raster Data
- 1.4K Vector Data
- 6.6K Support
- 180 Announcement and News
- 926 Bug Report
- 561 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 575 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 242 How I use Global Mapper
- 108 Global Mapper Forum Website