Skip to content

A print module for maps consumed with WMS. The printouts are rendered onto a PDF or other output formats and served to a client, e.g. a browser.

License

Notifications You must be signed in to change notification settings

geostonemarten/mapfish-print

 
 

Repository files navigation

Please read the documentation available here:
http://trac.mapfish.org/trac/mapfish/wiki/PrintModuleDoc


== build ==
- Execute the following command():
  > ./gradlew build

This will build three artifacts:  print-servlet-xxx.war, print-lib.jar, print-standalone.jar

== Deploy ==
The following command will build and upload all artifacts to the dev.mapfish.org repository.
  > ./gradlew upload -DsshPassphrase=... 

To use in eclipse:
- Create eclipse project metadata:
  > ./gradlew eclipse
- Import project into eclipse

== Run from commandline ==
The following command will run the mapfish printer.  If you do no supply any -Dxxx args then all argument options will be listed.
  > ./gradlew run -Dconfig=samples/config.yaml -Dspec=samples/spec.json -Doutput=/tmp/print-out.pdf
  
== Run in eclipse ==
- Create new Java Run Configuration
- Main class is org.mapfish.print.ShellMapPrinter
- Program arguments: --config=samples/config.yaml --spec=samples/spec.json --output=$HOME/print.pdf

About

A print module for maps consumed with WMS. The printouts are rendered onto a PDF or other output formats and served to a client, e.g. a browser.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 93.0%
  • Groovy 5.0%
  • Other 2.0%