O'Reilly logo

GeoServer Cookbook by Stefano Iacovella

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using transparency creatively

A common task in producing maps is to mix different layers in a single output. This causes some masking of the overlapping objects, as we explored in the previous recipe. When you work with the raster data, of course, masking is an issue as the top raster layer could totally hide the bottom layers.

In this recipe, we'll explore how to use transparency to avoid masking and merge several raster layers in a single map.

Getting ready

In the Rendering transformations for raster data recipe of Chapter 3, Advanced Styling, we downloaded a dataset from USGS to explore how rendering works for raster data. We will now use the same dataset, producing a complementary dataset.

Note

If you didn't read Chapter 3, Advanced Styling, you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required