Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initial print documentation page #89

Merged
merged 2 commits into from
Nov 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions source/maintainer-guide/installing/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@ There is different ways to install |project_name|:
installing-index.rst


After installing the application, you can can configure the following:
After installing the application, you can configure the following:

.. toctree::
:maxdepth: 2

configuring-database.rst
loading-samples.rst
customizing-data-directory.rst
using-multinode-mode.rst
map-print-setup.rst
loading-samples.rst
27 changes: 27 additions & 0 deletions source/maintainer-guide/installing/map-print-setup.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
.. _ map-print-setup:


Configuring printing of the map
###############################

This section describes how to configure the options to print maps. Printing a map generates a
pdf file on the server which is downloaded by the client to be send to a printer.
During pdf creation map data is downloaded from various sources to be included in the pdf.

GeoNetwork needs to be able to access the external resource. Set up a webproxy in `system settings`
if your network requires a webproxy to be set up to access the internet.

Locate the file `WEB-INF/config-print/print-config.yaml`, this configuration file has a lot of options to customise the print options. Read more about the various parameters at http://www.mapfish.org/doc/print/configuration.html


The folder contains 3 template files:

- `template.pdf` and `template-landscape.pdf` which are used to generate the map viewer pdf

- `template-thumbnail.pdf` which is used to build a thumbnail in the metadata editor (see :ref:`linking-thumbnail-from-wms`).


These templates are created by exporting pdf from the included `template.odf` file in the folder.