New answers tagged style
I presume you want to achieve something like this: You only need to define some rules, like bellow: For the same results, you can use CASE statements, if you really want this: This is my attribute table: and the layer label: EDIT: If you want to specify the symbol and its color with data define values specified in the attribute's table, ...
A final good looking map style can be very complex and needs a lot of knowledge about the data and cartography. You might want to start with a ready to use SLD style file: http://blog.geoserver.org/2009/01/30/geoserver-and-openstreetmap/
Top 50 recent answers are included