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:
Python:
- http://trac.osgeo.org/openlayers/wiki/TileStitchingPrinting
- Possibly-useful libraries:
A JavaScript library:
Other:
- http://www.htmldoc.org - used by http://trac-hacks.org/wiki/TracWikiToPdfPlugin
- https://medium.com/nyc-planning-digital/printing-web-maps-83e7d9d3d467
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.
Last modified
6 years ago
Last modified on 03/12/19 09:48:02
Note:
See TracWiki
for help on using the wiki.