As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [mapfish-print]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

GeoServer print module error

I have installed GeoServer 2.23.1 on Ubuntu 20.04.6 LTS with Java OpenJDK version 11.0.19. I tried to setup print plugin geoserver-2.23.1-printing-plugin. However when I call geoserver/pdf/info.json I ...
Gregoire's user avatar
  • 101
0 votes
0 answers
18 views

GeoServer printing module - Error while download PDF

I installed Geonode and Geoserver perfectly. And I configured nginx proxy to run on https So far it worked: The print module configuration file in GEOSERVER_DATA_DIR/printing/config.yaml is created ...
Obedi Obadiah's user avatar
1 vote
1 answer
58 views

GeoServer authentication and MapFish plugin

I am using the MapFish GeoServer plugin for printing maps from GeoServer. It was working just fine. For security reasons, I added an authentication plugin that needs an "authkey" parameter ...
Cherryl Rarewings's user avatar
0 votes
0 answers
90 views

How can I print OSM map in EPSG:4326?

I'm using MapFish Print 3 to print my map. All working fine when I use these parameters: "overviewMap": { "layers": [ { "baseURL":"http://10....
Magno C's user avatar
  • 2,040
0 votes
2 answers
368 views

Lack of information in Mapfish 3 docs: What is "print configurations"?

I'm very new in Mapfish print. After installed a Docker instance from https://hub.docker.com/r/camptocamp/mapfish_print ( version 3.28 ), I can see it running well because I can retrieve some ...
Magno C's user avatar
  • 2,040
0 votes
1 answer
279 views

Styling GeoJSON polygons with hatch fill in MapFish Print

I am working with MapFish Print (v3.23.1) and have a mix of layers for a map, some from GeoServer and some local GeoJSON files. I have GeoJSON polygons that I would like to apply a hatch pattern to, ...
kflaw's user avatar
  • 1,396
0 votes
1 answer
195 views

Translate WMTS Capabilities XML into JSON layer matrices (QGIS functionality?) [duplicate]

Using the EPSG:2193 projection from WMTS capabilities for a layer: https://data.linz.govt.nz/services;key=60c2f93ec4dc45448ff7d93df524eb75/wmts/1.0.0/layer/50767/WMTSCapabilities.xml I'm trying to ...
Gavin's user avatar
  • 525
1 vote
1 answer
247 views

Adding WMTS layer to MapFish Print

I am using MapFish Print 3. I'm trying to add a WMTS layer to a map using EPSG:2193 from the service described at https://data.linz.govt.nz/layer/50767-nz-topo50-maps/webservices/ I'm trying to use ...
Gavin's user avatar
  • 525
0 votes
1 answer
165 views

Mapfish Print rendering incorrect Scalebar even with Geodetic setting

I'm trying to add a scalebar to my Mapfish Print pdf output but it's always rendering too small. I have seen a few solutions that suggest using the "geodetic": true setting in my requests, ...
Gavin's user avatar
  • 525
1 vote
0 answers
150 views

MapFish Print – Different background between first and next pages on pagination file

I’m currently using MapFish to print a paging on a same pdf, like this: First page: A full map (which contains for example: a polygon as geometry feature + OSM default as background) A pagination of ...
floper's user avatar
  • 11
0 votes
0 answers
1k views

React leaflet map print

I want to print a leaflet map in PDF/Image formats and It will be contained, WMS layers Polygon, Markers, Polylines etc I'm using a leaflet map with React Typescript. Related versions are, react-...
Sashini Hettiarachchi's user avatar
0 votes
0 answers
119 views

Wrong scale on printed PDF on Mapfish print

I have a problem with printing layers on concrete scale. For example, I send request as below: { "layout":"A4 portrait", "outputFormat":"pdf", "...
Miroslav Hrcan's user avatar
1 vote
1 answer
331 views

mapfish.print.InvalidValueException: url has an invalid value

I have the config yaml set us below: - !image maxwidth: 120 maxheight: 40 align: left url: "file:\\C:\Program Files (...
Amelia Nicodemus's user avatar
3 votes
0 answers
451 views

Mapfish Print Grid Layer

I am using Mapfish Print 3 to print map with grid layers. The printing Engine is working fine. I want to label grid value in Degree Minutes Seconds Format Example: 40° 26′ 46″ N or 79° 58′ 56″ W. ...
suman11's user avatar
  • 31
0 votes
0 answers
199 views

Passing SLD Body in Mapfish style parameter

I have a vector layer in Geoserver 2.15.1 and displaying it on map div using Openlayers v5 API. When displaying the vector data on map, I am using custom style body and passing it to the layer's style ...
venkat's user avatar
  • 1,051
0 votes
1 answer
128 views

GeoServer stack trace when printing map using MapFish 2.1.2

When I print map, I get the following stack trace. I think it is related with very large capabilities documents but the strange part is the file is already created in a temporary folder of Tomcat but ...
wondim's user avatar
  • 1,365
1 vote
0 answers
136 views

Printing vector layer with labels not in cp1252 encoding via GeoServer MapFish printing module?

I'm printing vector layer via GeoServer Printing Module (MapFish Print 2) of GeoServer 2.15. MapFish only supports fonts COURIER, HELVETICA, TIMES_ROMAN in cp1252 encoding for labels. It's very ...
Feofilakt's user avatar
  • 130
2 votes
0 answers
653 views

Mapfish 3 print service, GeoServer 2.15, and Jasper Report set up

I've been going through this article, this Mapfish documentation and this Geoserver doc (apparently out of date) in attempt to get the Mapfish3 print service going in order to eventually use in my web ...
user25976's user avatar
  • 2,075
1 vote
1 answer
759 views

Installing MapFish?

I have an installation problem with MapFish 3. I am trying to use the WAR file and it works with every MapFish version <=3.10.8 , but not with the newer ones (>=3.11.0). My system configuration: ...
nipro's user avatar
  • 91
2 votes
0 answers
341 views

Can't print WMS in MapFish

I am trying to set up a template in jasper reports to send to MapFish print. I am specifying the map layers in the requestData.json file. I am testing with a single layer, and have tried map services ...
kflaw's user avatar
  • 1,396
0 votes
1 answer
255 views

Mapfish 3 variables in scalebar processor

I would like to be able to change the units of the scalebar processor based on values sent in spec.json - It seems this should be possible from reading the docs, but I can't get it to work. A snippet ...
tom_h's user avatar
  • 133
0 votes
1 answer
194 views

Mapfish 3 merge datasource with multiple maps

I would like to combine the examples of merging datasources and having multiple maps. So instead of having a table datasource (1st example) I have a map datasource like the second example. The goal ...
Vitor Cricas's user avatar
0 votes
1 answer
371 views

How to print ArcGIS tile map using MapFish print

I could able to configure a MapFish print in GeoServer and also did some printing map from OSM. I need to print a map which is from ESRI Mapserver. Is there any way to do it? Working example: layers:...
AhammadaliPK's user avatar
0 votes
1 answer
539 views

Print Mapbox XYZ layer using Mapfish/Geoserver

I'm having trouble getting a mapbox XYZ layer to work with the Geoserver Print plugin - I just get the following error: spec.layers[0].baseURL has an invalid value and a bit further down: Illegal ...
tom_h's user avatar
  • 133
4 votes
1 answer
2k views

Geoserver Printing Module | MapFish print service won't print

I followed this documentation to use the printing service in geoserver. I want to print the map layer in pdf format. Below is my index.html for displaying the map and a button to print the map, ...
Sujan Maharjan's user avatar
0 votes
1 answer
188 views

Allowing all hosts on map in Mapfish Print 2.1.2?

My web mapping application has an option to load layers from any Geoserver layers. However, as far as I know so far mapfish requires hosts to be written in the config.yaml to be white-listed. This ...
wondim's user avatar
  • 1,365