Using symbology encoding

Thematic mapping is one of the more common uses of spatial data, and the most used thematic maps are the choropleth maps that we already used in several recipes in this book.

Note

Take a look at the following Wikipedia page for more information about choropleth maps:

http://en.wikipedia.org/wiki/Choropleth_map

Until now, the examples showed you how to produce a thematic map with fixed values in the attributes. SLD specifications define some functions that let you classify your data using related attributes in a dynamic way.

In this recipe, we will explore how to apply symbology encoding to GeoServer layers.

Note

Symbology encoding is a standard defined by OGC; you can read the official paper at the following URL:

http://www.opengeospatial.org/standards/symbol ...

Get GeoServer Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.