Ticket #558 (closed enhancement: fixed)

Opened 2 years ago

Last modified 23 months ago

Add support for native WMS rotation to the print module

Reported by: ahocevar Owned by: jeichar
Priority: major Milestone:
Component: print Version: SVN
Keywords: Cc:
State: Review

Description

See http://www.mapfish.org/pipermail/dev/2010-February/000552.html.

The attached patch adds this feature. To make use of it, a client should add an angle param to the customParams of a layer, with -rotation as value, rotation being the rotation configured in the print page. The advantage over using the print module's rotation is that labels of the rotated map will still be horizontal.

Please review.

Attachments

mapfish-rotation.patch (1.4 kB) - added by ahocevar 2 years ago.
mapfish-print556164014727765259.pdf (199.8 kB) - added by ahocevar 2 years ago.
An example of printed output with this new option. Note the horizontal labels.

Change History

Changed 2 years ago by ahocevar

Changed 2 years ago by ahocevar

  • state set to Review

Changed 2 years ago by ahocevar

An example of printed output with this new option. Note the horizontal labels.

Changed 23 months ago by elemoine

Andreas, why do we need support from the print server module for that? The client should just not set "rotation" if it sets the "angle" custom WMS param, no?

Changed 23 months ago by ahocevar

Think about the case where the map about to be printed consists of 2 layers. One is from a WFS that supports the angle param, the other from one that does not. How would you do that then?

Changed 23 months ago by elemoine

  • status changed from new to closed
  • resolution set to fixed

(In [3426]) Add support for native WMS rotation to the print module, p=ahocevar, r=me (closes #558)

Note: See TracTickets for help on using tickets.