I have contour lines with height values from 0 to 1030 (sorted by height 110, 115, 120, 125). Values with in-between number (like 5, 15, 115, 135...) should be grouped and colored with same color, and other values should be grouped this way 10, 60, 110, 160, 210, 260... (yellow), 20, 70, 120, 170, 220... (red), 30, 80, 130, 180, 230... (cyan) etc. I hope you get it despite my bad English :) So, I don't know how to change symbology in ArcMap to color them that way. Can somebody help me? Thank you.
|
Multiple layers and loads of symbol editing work, but the ideas can be combined into a simple efficient solution: use the Field Calculator to compute the contour levels modulo 50 (or whatever), effectively creating a new field to be used for the classification. Symbolize based on that new field. Advantages and strengthsThis method (a) maintains a single layer (which is useful for future spatial analysis, creating a persistent object, etc.) and (b) requires only one symbol to be selected and edited for each different type of contour. Its principal disadvantages are that you (c) need the attribute table to be editable and (d) will not frequently be updating that table. In situations where the table might be frequently updated or where you cannot or do not wish to modify it, consider creating a lookup table that effectively reclassifies all contour levels when joined to the attribute table. The join is dynamic and therefore will automatically reflect updates. The same lookup table can be used for other datasets having the same range of values. WeaknessesA disadvantage compared to the multiple-layer solution is that making subsets of the contours invisible is easy with multiple layers: just turn them on or off. Thus, which solution you choose will depend on how you anticipate interacting with the contours in the future. |
|||
|
|
|
In the Symbology tab you can classify your own values and apply to the contours http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?tocVisable=0&ID=-1&TopicName=contours&pid=1 |
|||
|
|
|
One solution is to create separate layers for each group and then apply a definition query that uses a modulo operation to filter records, then symbolize each layer appropriately. For example, the query for your first group would be:
For the second (yellow) group:
et cetera. I believe the above syntax will work if the data is stored in an ArcGIS datastore (SHP, GDB, etc). If it is in SDE, you will need to change it appropriately to match the RDBMS syntax (e.g., ("HEIGHT" + 5) % 10 = 0 for Oracle) |
|||
|
|
|
Assuming that you contour lines are in a separat Layer and not part of a TIN, you can do the following:
I hope this helps you and I realize, that if you have a lot of unique values this might be a long proces. Regards from Steen |
|||||||
|


