pyramid_oereb_mfp
is an implementation of a static extract (PDF) for
the pyramid_oereb server
using MapFish-Print.
Starting version 1.8.0,
you require MapFish-Print in version 3.25 or later, which uses the pdfA
feature (required for PDF/A compliance).
Starting version 1.5.0,
you require MapFish-Print in version 3.23.1 or later, which introduces the allowTransparency
feature (required for PDF/A compliance).
We recommend you run the dockerized MapFish-Print. If this is not possible for you, you need to ensure the following:
WEB-INF/lib
in the MapFish-Print app
and copying the Cadastra.jar file to it.
You can find a copy of this package
in the MapFish-Print repository. Make sure you download it cleanly: to check that, do for example a jar tf Cadastra.jar
on it. If this does not work, it will not work within MapFish-Print either.To run a local instance of mapfish-print (in docker) with the oereb templates, do:
make serve
make sure docker is installed. In addition, if you have not done
this before, you need to declare the print-network
for docker,
so that your local pyramid_oereb
docker container can access
your local print
container, as follows:
sudo docker network create print-network
This subproject was created consequently of Issue 459. Access the history of the templates by using this openoereb/pyramid_oereb commit, which deleted the templates there as a starting point.