Questions tagged [mapfish-print]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
8 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, ...
1
vote
0answers
90 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 ...
0
votes
0answers
105 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-...
0
votes
0answers
18 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", "...
1
vote
1answer
119 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 (...
1
vote
0answers
156 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. ...
0
votes
0answers
88 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 ...
0
votes
1answer
66 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 ...
1
vote
0answers
58 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 ...
2
votes
0answers
431 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 ...
1
vote
1answer
428 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: ...
2
votes
0answers
176 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 ...
0
votes
1answer
153 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 ...
0
votes
1answer
140 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 ...
0
votes
1answer
282 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:...
0
votes
1answer
448 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 ...
3
votes
1answer
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, ...
0
votes
1answer
128 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 ...