forked from mapfish/mapfish-print
-
Notifications
You must be signed in to change notification settings - Fork 9
Home
Alessandro Parma edited this page Jul 17, 2020
·
44 revisions
Welcome to the Geosolutions fork of mapfish-print wiki!
Installation
To install the GeoServer printing plugin with our fork of the lib:
- download the printing community module for your version of GeoServer from here
- unzip the module into the Geoserver WEB-INF/lib folder
- remove the print-lib-*.jar library
- check the rest of the documentation below for GeoServer version-specific instructions
For GeoServer 2.15.x
- download the updated gs-printing jar from here and replace gs-printing-2.15.x.jar in WEB-INF/lib with the downloaded one.
- download the latest print-lib deploy from here and copy it into the Geoserver WEB-INF/lib folder (don't forget to remove the existing print-lib jar from the lib directory if any).
For GeoServer 2.14.x
- download the latest mapfish-print-lib build from the maven SNAPSHOT repo and copy it into the Geoserver WEB-INF/lib folder.
- remove the existing print-lib jar from the Geoserver WEB-INF/lib folder
- copy the downloaded print-lib jar in the Geoserver WEB-INF/lib folder
- download the official gs-printing jar from the official GeoServer Download page
- edit the gs-printing-2.14.x.jar file as described here
- copy the gs-printing files with the edited one in the Geoserver WEB-INF/lib folder
For GeoServer 2.13.x
- download the updated gs-printing jar from here
- replace gs-printing-2.13.x.jar in WEB-INF/lib with the downloaded one
- download the latest print-lib deploy from here and copy it into the Geoserver WEB-INF/lib folder (if you have already installed the standard printing plugin don't forget to remove the existing print-lib jar from the lib directory).
For GeoServer 2.12.x
- download the updated gs-printing jar from here
- replace gs-printing-2.12.x.jar in WEB-INF/lib with the downloaded one
- download the latest print-lib deploy from here and copy it into the Geoserver WEB-INF/lib folder (if you have already installed the standard printing plugin don't forget to remove the existing print-lib jar from the lib directory).
For GeoServer 2.10.x
- download the updated gs-printing jar from here
- replace gs-printing-2.10.x.jar in WEB-INF/lib with the downloaded one
- download the latest print-lib deploy from here and copy it into the Geoserver WEB-INF/lib folder (if you have already installed the standard printing plugin don't forget to remove the existing print-lib jar from the lib directory).
For GeoServer 2.9.x
- download the updated gs-printing jar from here
- replace gs-printing-2.9.x.jar in WEB-INF/lib with the downloaded one
- download the latest print-lib deploy from here and copy it into the Geoserver WEB-INF/lib folder (if you have already installed the standard printing plugin don't forget to remove the existing print-lib jar from the lib directory).
For GeoServer 2.8.x
- download the updated gs-printing jar from here
- replace gs-printing-2.8.x.jar in WEB-INF/lib with the downloaded one
- download the latest print-lib deploy from here and copy it into the Geoserver WEB-INF/lib folder (if you have already installed the standard printing plugin don't forget to remove the existing print-lib jar from the lib directory).
For GeoServer 2.7.x
- download the updated gs-printing jar from here
- replace gs-printing-2.7.x.jar in WEB-INF/lib with the downloaded one
- download the latest print-lib deploy from here and copy it into the Geoserver WEB-INF/lib folder (if you have already installed the standard printing plugin don't forget to remove the existing print-lib jar from the lib directory).
For GeoServer 2.6.x
- download the updated gs-printing jar from here
- replace gs-printing-2.6-SNAPSHOT.jar in WEB-INF/lib with the downloaded one
- download the latest print-lib deploy from here and copy it into the Geoserver WEB-INF/lib folder (if you have already installed the standard printing plugin don't forget to remove the existing print-lib jar from the lib directory).
For GeoServer <= 2.5.x
- download the latest print-lib deploy from here and copy it into the Geoserver WEB-INF/lib folder
- update the Geoserver WEB-INF/web.xml file to include mapfish context file as in the following example:
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath*:/applicationContext.xml classpath*:/applicationSecurityContext.xml classpath*:/mapfish-spring-application-context.xml</param-value>
</context-param>
Documentation
Here you can find the general documentation for the 2.0 version of the module: http://www.mapfish.org/doc/print/configuration.html
Customizations
These are the enhancements introduced by us:
- Max number of columns configuration for multi column legends
- Simple colored box icon in legends
- Explicit support of Geoserver CQL_FILTER parameter (also with layers merge support)
- Legend fitting
- Don't break legend items
- Reorder legends block in columns
- Images content
- Dynamic images page
- Multipage legends
- Custom intervals in ScalebarBlock
- Clustering Support
- HTML rendering in text blocks
- Extra Pages
- Group Rendering in attribute blocks
- Skip rendering of pages
- Automatic X-Forwarded-For
- Parsing of Base64 encoded images