View on GitHub

geonode-training

Styling with GeoNode (Basics)

This section introduces the concepts of the Styled Layer Descriptor (SLD) markup language.

SLD is the styling engine used by the GIS backend (i.e. GeoServer). It allows us to create beautiful and informative portryals out of raw geospatial data.

In this section you will also use the CSS extension module that allows you to build map styles using a compact, expressive styling language already well known to most web developers: Cascading Style Sheets. The standard CSS language has been extended to allow for map filtering and managing all the details of a map production.

The examples will have styles in SLD and CSS language.

WARNING: CSS styling is supported by GeoServer only, which is the default GIS backend provided with GeoNode. In the official GeoServer documentation you can find useful references as the SLD Cookbook and the CSS Cookbook.

Uploading and Replacing the Layer Default Style

This procedure allows us to quickly update andh replace the current layer default style with a new one from the hard disk.

WARNING: Currently this procedure works only with SLD files

Adding more Base Layers and Styles

Boulder City Limits

Buildings

Parcels

Pointlm

Remaining Boulders Layers

Next Section: Pretty Maps with GeoNode