Questions tagged [mapfish-print]

The tag has no usage guidance.

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

Geoserver print module failed to print vector data

I have a problem to print a map with vector data on geoserver with print module. I use the sample data of USA states and I added a point symbol in geojson. when I click up send, it generates a link to ...
user avatar
1 vote
1 answer
41 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 ...
user avatar
0 votes
0 answers
47 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....
user avatar
  • 1,856
0 votes
2 answers
180 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 ...
user avatar
  • 1,856
0 votes
1 answer
168 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, ...
user avatar
  • 1,386
0 votes
1 answer
125 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 ...
user avatar
  • 485
1 vote
1 answer
142 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 ...
user avatar
  • 485
0 votes
1 answer
66 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, ...
user avatar
  • 485
1 vote
0 answers
120 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 ...
user avatar
  • 11
0 votes
0 answers
643 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-...
user avatar
0 votes
0 answers
65 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", "...
user avatar
1 vote
1 answer
221 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 (...
user avatar
3 votes
0 answers
342 views
+50

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. ...
user avatar
  • 31
0 votes
0 answers
162 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 ...
user avatar
  • 971
0 votes
1 answer
97 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 ...
user avatar
  • 1,285
1 vote
0 answers
95 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 ...
user avatar
  • 130
2 votes
0 answers
570 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 ...
user avatar
  • 2,045
1 vote
1 answer
607 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: ...
user avatar
  • 91
2 votes
0 answers
275 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 ...
user avatar
  • 1,386
0 votes
1 answer
213 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 ...
user avatar
  • 133
0 votes
1 answer
172 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 ...
user avatar
0 votes
1 answer
337 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:...
user avatar
0 votes
1 answer
509 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 ...
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, ...
user avatar
0 votes
1 answer
167 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 ...
user avatar
  • 1,285