Questions tagged [mapfish-print]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
18 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
9 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
16 views

How can I reference two attributes for a label in MapFish Print request JSON?

I am using MapFish Print 3, and am trying to create labels from possibly multiple columns, based on user input from JavaScript app. I can't figure out the correct way to reference more than one ...
0
votes
0answers
20 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
27 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 ...
0
votes
0answers
10 views

Print Map with Mapfish [duplicate]

I´m still trying to get my mapfish print demo working. Once it works I can bind it into my application. http://localhost:8080/geoserver/pdf/print.pdf Error while generating PDF: Missing 'spec' ...
1
vote
0answers
25 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
132 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
90 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
51 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
39 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
0answers
11 views

MapFish: Hide labels or whole layer on certain scale

Is there a way to tell MapFish to hide labels or even whole layers depending on the scale? So e.g. when scale is bigger than 1500, don't show labels (because there are too many)? I let MapFish set ...
0
votes
1answer
71 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
180 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
317 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
1k 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
95 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 ...