You are currently reviewing an older revision of this page.
How do I color code different fields on the same layer in WaterGEMS for ArcMap?
Note: This example uses WaterGEMS for ArcMap, but the same solution can be applied to HAMMER for ArcMap or SewerGEMS for ArcMap
You can only have one color coding on a layer at a time and some modelers have the need to switch back and forth between color coding when making a presentation to a client. The solution provides a quick workaround for doing this.
1) Make sure to customize your geotable, so it contains all the fields that you want to color code in your shapefile.
1) Right click on the layer in the table of contents (TOC) that you want to create multiple color codings for and choose Data > Export Data. This will export the data as a shapefile.
2) Once the file is saved to your chosen folder location add it to your map if you have not already chosen to do that.
3) Right click on the newly created shapefile and choose "Properties".
4) Click on the "Symbology" tab. Set your 'Categories' to 'Unique values' (see blue box below), choose your the value field that you want to color code for (see red box), click the "Add All Values" button (see green box) and adjust the breaks for the entries if necessary, and finally click the "Apply" button followed by the "OK" button.
5) Go about color coding the other layer that is associated with the geodatabase file as normal
When you are done you'll have two layers in you TOC that are color coded differently, but represent the same WaterGEMS element. You can then turn one on/off by checking/unchecking the box next to it.
WaterGEMS for ArcMap (FAQ)