Version 21 (modified by 10 years ago) ( diff ) | ,
---|
Map Printing
We want to be able to Print maps.
This will require access to the same view as the user is seeing, so will require using their Authentication & saving all their settings (Viewport/Active Layers/Filter Status) & passing to a Browser.
e.g.
- http://phantomjs.org (WebKit-based)
- http://www.slimerjs.org (Gecko-based)
We have a solution in trunk based on using PhantomJS via Selenium:
Older thoughts:
Another option is using Java:
- MapFish Printing Module
- InstallationGuidelines
- Reasons why Java was chosen: http://trac.mapfish.org/trac/mapfish/wiki/Proposals/PrintModuleSpec
- GeoExplorer notes on this: http://projects.opengeo.org/geoext/wiki/Printing
- We'd like to be able to print to an Image not just a PDF:
Alternate Java:
3 potential Python libraries:
A JavaScript library:
Other:
PDF export of data attributes is a representation added to the RESTlike controller.
Printing the current view would be the same as printing a WebMapContext.