how can i fill color in features in shp file?

mg.srikanth
Global Mapper User
Hi,
I have converted the line features, area features and point features of a DGN into different shapefiles using Global Mapper 11 application, I am using them in our application which we are developing using SDK v13.
How can i draw different area features in the shapefile/DGN in different color shades? (for example: Forest area with green shade, river in blue, etc., different geographic features in different colors).
Srikanth.
I have converted the line features, area features and point features of a DGN into different shapefiles using Global Mapper 11 application, I am using them in our application which we are developing using SDK v13.
How can i draw different area features in the shapefile/DGN in different color shades? (for example: Forest area with green shade, river in blue, etc., different geographic features in different colors).
Srikanth.
Comments
-
You would just use GM_SetAreaFeatureDrawStyle to set the draw style for individual area features to whatever you want based on the attributes for the layer. Or if your features are classified you could use GM_SetAreaFeatureClassDrawStyle to just set the default style for a particular type.
One other approach if you are always using the same data files is to get the styled how you want in Global Mapper 11 and save them to a Global Mapper Package (GMP) file rather than a Shapefile since the GMP file has all of the style information built in, so you would just load it in the SDK and all of the styles would be there.
Thanks,
Mike
Global Mapper Guru
gmsupport@bluemarblegeo.com
http://www.globalmapper.com -
Thank u Mike.
Categories
- 12.8K All Categories
- 5.7K Features Discussion
- 346 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 639 GM Script Language
- 54 User Scripts
- 115 GPS Features
- 419 Projection Questions
- 829 Raster Data
- 1.4K Vector Data
- 6.6K Support
- 179 Announcement and News
- 923 Bug Report
- 560 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 574 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 241 How I use Global Mapper
- 108 Global Mapper Forum Website