Book Image

GeoServer Cookbook

By : Stefano Iacovella
Book Image

GeoServer Cookbook

By: Stefano Iacovella

Overview of this book

Table of Contents (17 chapters)
GeoServer Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

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

How to do it…

  1. Log on to the GeoServer web interface. From the left panel, select the Styles option and click on the Add a new Style button.

  2. In the Styles editor, insert InterpolatePop as the new name, and then select...