Use BORDER_COLOR attribute for fill colour of area features
Hi,
Is it possible to use the BORDER_COLOR attribute as the solid fill colour in the Area Styles tab under Apply Same Styling Based on Attribute/Name Values?
Essentially I would like to style my polygons with a solid fill (with no border) using the attribute data gleaned from using the Add Style Attributes to Selected Features command . It only seems to allow me to use this value as a border colour and not a fill colour.
For background info I am trying to find a workaround to import the solid hatches from CAD drawings into Global Mapper whilst retaining the colours. Currently it converts solid hatches into TIN Face Areas. I have tried creating a new attribute called FILL_STYLE and setting them to Solid and then creating a new attribute FILL_COLOR and passing the BORDER_COLOR values to it using the Calculator. When I try to use these attributes I still end up with coloured borders.
Any ideas would be very welcome.
Cheers,
Steve
Is it possible to use the BORDER_COLOR attribute as the solid fill colour in the Area Styles tab under Apply Same Styling Based on Attribute/Name Values?
Essentially I would like to style my polygons with a solid fill (with no border) using the attribute data gleaned from using the Add Style Attributes to Selected Features command . It only seems to allow me to use this value as a border colour and not a fill colour.
For background info I am trying to find a workaround to import the solid hatches from CAD drawings into Global Mapper whilst retaining the colours. Currently it converts solid hatches into TIN Face Areas. I have tried creating a new attribute called FILL_STYLE and setting them to Solid and then creating a new attribute FILL_COLOR and passing the BORDER_COLOR values to it using the Calculator. When I try to use these attributes I still end up with coloured borders.
Any ideas would be very welcome.
Cheers,
Steve
Answers
-
Hi,
Thanks for your suggestion. Can you explain how this will use the colours within the BORDER_COLOR attribute for the fill?
Cheers,
Steve -
I am trying to convert imported AutoCAD solid hatches from the top row as imported; to the bottom row after styling. I add the style attributes to get the BORDER_COLOR RGB values. I then use the BORDER_COLOR attribute for the style but this uses it for the borer only. I have to manually Edit each Area Style to change the Fill Pattern to Solid Fill and the Border Style to Null for ut to switch.
Easy to do for a small number of hatches but difficult for hundreds!
-
And if in the attribute table to make a selection by BORDER_STYLE? And edit the values on "null"?
-
I have attached the Global Mapper workspace and a video showing how I convert the imported solid hatches manually (comes in as TIN Face Areas). What I am trying to find out is if I can style the TIN Face Areas directly using the attributes without manually changing them.
-
I have worked out how to do it now. Thanks for your help anyway.
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