Chapter 3. Advanced Styling

In this chapter, we cover the following recipes:

  • Installing the CSS module
  • Creating a simple polygon style with CSS
  • Adding filters to your style
  • Adding labels with CSS
  • Creating scale-dependent rules
  • Rendering transformations for raster data
  • Creating a dot density chart

Introduction

Maps are a powerful representation of data. To produce a beautiful map, very often, you need to use a lot of symbols. For instance, dashing lines for roads under construction, lines with hatching for railroads, appropriate filling for swamps, and points for caves and mines. A map can contain dozens of different symbols; it's your way of expressing your idea of a part of the world to other people.

A standard way to produce maps with GeoServer is using ...

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.