== 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: * UserGuidelines/Admin/MapPrinting Older thoughts: * PakistanDevelopers#Printing Another option is using Java: * [http://www.mapfish.org/doc/print/ MapFish Printing Module] * [wiki:GIS/InstallationGuidelines/Linux#MapFish 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: * http://trac.mapfish.org/trac/mapfish/ticket/161 Alternate Java: * [http://www.geomajas.org Geomajas] Python: * http://trac.osgeo.org/openlayers/wiki/TileStitchingPrinting * Possibly-useful libraries: * [http://www.reportlab.org/rl_toolkit.html ReportLab] * [http://code.google.com/p/rst2pdf/ rST2PDF] * [http://www.htmltopdf.org/ XHTML2PDF (Pisa)] * [http://pybrary.net/pyPdf/ PyPDF] A !JavaScript library: * [http://code.google.com/p/jspdf JSPDF] 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 [wiki:BluePrintREST RESTlike controller]. Printing the current view would be the same as printing a [wiki:BluePrintGISWebMapContext WebMapContext]. ---- [wiki:BluePrint/GIS GIS BluePrints] [wiki:BluePrint/GIS GIS BluePrints]