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.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 628 GM Script Language
- 53 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website