Select to view content in your preferred language

how to export a shapefile with different colors on the map in ArcMap?

5733
3
06-18-2014 01:35 PM
SwathiArtham
New Contributor
Hi,

I added california counties shapefile in ArcMap using add data option, I changed the color of counties using properties -> Symbology. I tried to export it to a shapefile using export data. It did create a shapefile and other supporting files, but it didn't save the coloring...whole map was same as my input shapefile with a single color.


How should I preserve the colors when I export it to a shapefile?


Appreciate quick reply.
Tags (2)
0 Kudos
3 Replies
IanMurray
Honored Contributor
You can't preserve the colors unfortunately(as best as I know), whenever you bring in a shapefile, it automatically defaults to single value and a random color.  If you are in the same map document, you can import the symbology from your other layer by going to Properties>Symbology>Import(towards upper right if I recall) and reference your symbology back to your earlier layer.
0 Kudos
Zeke
by
Honored Contributor
Another option is to save it a a layer (.lyr) file. Right click the layer in the table of contents, select Save as layer file, and save it where you want. This will preserve symbology. You can then add the layer file just like a shapefile, or use it for importing symbology as Ian suggests.
0 Kudos
Zeke
by
Honored Contributor
Technically, whenever you add a shapefile or feature class to a mxd, Arc actually makes a layer file out of it. Things like symbology, definition queries, etc., aren't stored with the actual data. I didn't know this until I talked with an ESRI instructor at a class, because it's not well documented. This is why Python scripts sometimes have to make a layer feature first.
0 Kudos