GSIP 35

Jody Garnett edited this page Jul 12, 2017 · 1 revision

GSIP 35 - WMS Decorations

Overview

WMS decorations provide a framework for visually annotating images from WMS with absolute (rather than spatial) positioning.  Examples of decorations include compasses, scalebars, and watermarks. Motivation Proposal Backwards Compatability Feedback Voting Links

Proposed By

Assigned to Release

1.7.4

State

Under Discussion

Motivation

The WMS Decoration module is one that has gathered some interest and would be useful for generating single-file, annotated maps.  One use-case (the one that motivated the implementation of this module in the first place) is as a ‘Save current view’ button for a web mapping application which includes such annotations.

Proposal

The WMS Decoration feature is described at the [GEOS:WMS Decorations] wiki page.  There are some known issues:

\* Requesting a decorated wms image causes geoserver to ignore the global watermark setting

\* The legend decoration as implemented has no support for the (excellent) raster legends that geoserver now generates.

\* Metatiling is broken in decorated wms output.

 Obviously, these will be fixed before including the layout code in a GeoServer release. \\

Codewise, the following changes will be made:

\* Move the Decoration, DecorationLayout, and decoration implementation classes into the core WMS module.

\* Merge the modifications made in DecoratedRasterMapProducer to DefaultRasterMapProducer \\

To users, the feature will be available via a format_option on GeoServer raster output.  

format_options=layout:

The layout id from the format options will have a 1:1 correlation with XML files in the configuration directory, in layouts/.xml.  If a user wants to disable layout support, he needs only clear out this directory (or rename it, if he wants to keep the layouts around for future use.)  See the wiki page for details. \\

Feedback

This section should contain feedback provided by PSC members who may have a problem with the proposal.

Backwards Compatibility

WMS decorations must be activated by a format option, so clients that are unaware of decorations will not be affected by them.

Voting

Andrea Aime: Alessio Fabiani +1 Simone Giannecchini:+1 Justin Deoliveira: +1 Jody Garnett: +1 Rob Atkinson:

Links

[http://jira.codehaus.org/browse/GEOS-2815]

[http://geoserver.org/display/GEOS/WMS+Decorations]

 [http://sourceforge.net/mailarchive/forum.php?thread_name=1237821748.5371.99.camel%40localhost.localdomain&forum_name=geoserver-devel]

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.