O'Reilly logo

Mastering GeoServer by Colin Henderson

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

Defining print layouts

The layouts section of the config.yaml file is where we define the layouts we want to make available to our users. Each layout can consist of a title page, main page, and a back page, making it possible to create booklet-style outputs. The main page is where we place our mapping and attribute content that will form the structure for the page. When making a request for output, it is possible to create multiple pages, with the content of each page differing but the layout remaining the same. The server generates each page by repeatedly using the main page definition of the layout but changing the content on each use.

Importantly, we do not have to specify all the three types of pages; it is perfectly valid for a layout to ...

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