Category Archives: Tips and Tricks

Tips and Tricks from the developers and user community on how to tweak GeoServer.

Polymorphism in application-schema

Support for polymorphism is included in Geoserver 2.0.2. Why do we need polymorphism support in app-schema? Some complex attributes are polymorphic by nature, which means they can have different types for different features. Before polymorphism was supported, attribute types had to be specified in the mapping file, so could not vary across features. With polymorphism support, [...]

SLD Cookbook

Styling map layers in GeoServer can be challenging. While there are some ways to craft map layers without ever needing to look at Styled Layer Descriptor (SLD) code, there are some who don’t want an intermediary and want to code with SLD directly. For those, there are few options: 1. Read the OGC SLD 1.0 [...]

Extending your map styling with geometry transformations

When designing a map, sometimes you want to render something that is related to the geometries you have at hand, but which is not specifically the geometries themselves. Maybe you want to highlight the end of a line, create a drop shadow effect, or make the vertices that make up a geometry more evident to [...]

GeoServer hidden treasures: filter functions

Ever had the need to format some text in SLD, or to perform complex filter in WFS, and noticed that the basic elements of the OGC Filter specification left you wanting for more? If so, welcome to the club. One thing few people know is that both SLD and WFS filtering capabilities can be extended [...]

Ahora tenemos un grupo de discusión para la comunidad hispano-hablante

Here’s a quick announcement for all those who understand the above:  GeoServer now has a Spanish language users mailing list!  Created and moderated by core GeoServer developer Gabriel Roldán, the mailing list is a resource for those who would like assistance in all things GeoServer, but prefer to discuss in Spanish.  This marks the fourth [...]

Follow the arrows

Here’s a neat trick for those working with road maps that want to indicate traffic direction by way of appropriately pointed arrows. With text symbolizers using font characters, this is actually a snap, provided your data includes information about direction. The New York City streets data set has an attribute field called trafdir which specifies [...]

Don’t just free your data, Swivel it

Admit it. You love visualizing data. Mere tables do nothing for you, but the minute you can turn that into a map (or a graph or chart), information comes alive. I was recently turned on to Swivel, a website that allows you to upload, visualize, and share data. The main page provides a list of [...]

GeoServer and OpenStreetMap

OpenStreetMap is a free and editable map of the world.  Founded in 2004 in the United Kingdom in response to the need for a free geospatial data source, it is a community-driven project, allowing for anyone to edit and contribute information.   It has since grown to include data from almost all countries in the world.  The [...]

Throw GeoServer a curve (and it will be labeled)

Improvements to GeoServer are being made all the time, but to the average user, not all improvements are immediately discernible. However, recently a new feature has been added to GeoServer’s rendering algorithms, and all I can say is “wow.” I am referring to curved line labeling. Labels on lines have rendering challenges that points and [...]

Raster Symbolizer tips & tricks – part 2

A new post on the Raster Symbolizer tips & tricks, this time I am going to show how to build an RGB image using 8 bits or unsigned 16 bits multi band coverages. I have been playing lately with some remote sensing data for the geoSDI project specifically the emissive subdataset coming from the  MODIS [...]

Download GeoServer