0

I am working in ArcGIS 10.6 Desktop. I have several polygon shapefiles where the symbology is set to unique values. The amount of distinct values per shapefile is between 10 and 40. I assigned special colors to each value as RGB.

Is it possible to export those RGB values plus according field values into a text document at once instead of clicking on each symbology box and manually writing down the numbers?

2

2 Answers 2

1

I don't know how to export the RGB to text.

But if it's for reusing the same symbology in arcmap a good way to do it is to use style. You may export your already set symbology to style them by laoding this new style in the symbol selector you will have access to the same symbology and your personal color will appear in the color selector. Also in the symbology tab of the layer properties you could choose the "Match to symbols" to apply the whole symbology in one click.

Related question : Batch save symbols for each category of a layer as style in ArcGIS

More on Style : A quick tour of symbols and styles

EDIT :

If you want the RGB value for using in another software you may export to style then open the style file in Access (just change the .style extention to .mdb) the color will be in the Colors table and the name should be the RGB value (if you want to keep the category you will need to manually fill the category tag in the style manager...), you can then export to Excel or to a text file from Access

enter image description here

2
  • I need the RGB info for postprocessing in Illustrator, but thank you.
    – Anna
    Commented Dec 6, 2019 at 8:22
  • @Anna I add a workaround to my answer, it's not perfect but at last you get a list of all the RGB value....
    – J.R
    Commented Dec 6, 2019 at 9:44
0

The solution for me was:

  1. I used the Feature to Point-tool on my polygons and centered the points 'inside'.
  2. I exported the polygon shapefiles to bitmap with worldfile attached (300dpi/24-bit true colour) to get the RGB values as raster values.
  3. I loaded the bitmap and the point file and used the Extract Multi Values to Points-tool to get the values in the point attribute table.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.