Questions tagged [mapfish]

MapFish is an open source web mapping development framework.

Filter by
Sorted by
Tagged with
0 votes
1 answer
99 views

Updating mapfish maximum request size in docker

I am using docker map fish for print module. When I am sending the large geojson for print. It returns 400 bad request & I found the size are hardcoded in the https://github.com/mapfish/mapfish-...
Rajprabhu Arulnathan's user avatar
1 vote
1 answer
273 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
200 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
155 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
147 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
3 votes
0 answers
513 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
239 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
0 answers
466 views

Issues printing OSM basemap using MapFishPrint 3

I'm trying to get the GeoExt MapFishPrintProvider function mentioned in this other post to work. However, the debug tools are writing this message to the console: "Couldn't find a suitable ...
user25976's user avatar
  • 2,105
0 votes
1 answer
140 views

GeoServer 2.11.2 print with MapFish

I'm beginner with GeoServer. I have a jsf page in my application website (` PDF Export ). I want to export the map in PDF. I added the print module to the GeoServer application. Then I created ...
Rezgui's user avatar
  • 1
1 vote
0 answers
158 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
353 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
327 views

Logging outgoing request with GeoServer & MapFish

I use GeoServer printing module (based on MapFish) to print my preview map in my application (uses Mapstore app). My problem is that my WMS service is not in my PDF. What I want, is to log outgoing ...
Tackacoder's user avatar
0 votes
1 answer
275 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
3 votes
1 answer
1k views

Print XYZ Layer Using Geoserver, Mapfish, GeoExt

How can I get base layers added to an OpenLayers map using the OpenLayers.Layer.XYZ method to print in MapFish/GeoServer? The Geoserver/Mapfish print service is not printing any of my XYZ base layers (...
Todd Krueger's user avatar
0 votes
1 answer
203 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
473 views

Missing 'Spec' Parameter using print.pdf on GeoServer Print Module

I have two configurations of Tomcat with the same version of GeoServer and the print module installed as below. The old configuration is Tomcat 8.0.44/GeoServer 2.11.1 The new configuration is ...
bhayward1987's user avatar
0 votes
1 answer
396 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
570 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
2 answers
883 views

Failure in printing OSM as a basemap through GeoServer Mapfish Plugin

I am trying to print OSM as a basemap through GeoServer. The WMS typed layer gets printed but the OSM doesn't. The projection coordinates I am using is ESPG:4236. But I found that the majority of OSM ...
Sujan Maharjan's user avatar
1 vote
0 answers
50 views

Printing with Mapfish straight from Google Chrome without saving to file to computer? [closed]

I have Mapfish printing in ForestKit applicatioin. When I try to print a map, mapfish downloads the file to the downloads folder and then I can print the map. It would be better for me if I could ...
Samuel Heinonen's user avatar
0 votes
1 answer
206 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,363
0 votes
0 answers
140 views

Using Mapfish Print v2 yaml file for Mapfish Print v3

I had a working Mapfish Print v2 yaml file. Is it possible to use the same in Mapfish Print v3 yaml? My old yaml file looks like this. #============================================================...
wondim's user avatar
  • 1,363
1 vote
0 answers
354 views

Getting java.lang.NullPointerException in geoserver mapfish print when I enable OverviewMap in config.yaml

I am using GeoServer mapfish print to print the map. I need to print overview map in the print layout. But I am getting the following error when I enable the overviewMap in config.yaml file Error ...
Vikneswaran S J's user avatar
1 vote
0 answers
249 views

Not possible to print GeoServer layers with CQL filters

I use geoexplorer together with GeoServer and mapfish. I make a WMS request passing in it two layers with corresponding CQL filters. I make this request through Geoexplorer to GeoServer. This works ...
user1919's user avatar
  • 2,634
1 vote
0 answers
935 views

Geoserver Mapfish Printing : Error while generating PDF

I have a Geoserver application with Geoserver 2.8 snapshot version and Printing-plugin 2.8 version. When I click a print button on map, it generates the below error Error while generating PDF: ...
Shrikant's user avatar
1 vote
0 answers
411 views

Geoserver print plugin Mapfish error

I'm trying to print one wms layer with openstreetmap base map. Although I get a pdf file, it is empty with following errors: java.io.IOException: Permission denied (Bind failed) java.io.IOException: ...
Kims's user avatar
  • 67
1 vote
0 answers
344 views

Leaflet L.Print (Mapfish) cannot set map scale

I am trying to print a map using the MapFish Print extension of Geoserver in Leaflet (L.print). I configured the .yaml file to suit my needs but the scale of the map doesn't change no matter my ...
CIv's user avatar
  • 39
0 votes
1 answer
953 views

Geoserver MapFish print : wrong scale and scalebar on my printed map

I've built a web map with Geoserver and Leaflet displaying background tiles from osm and IGN, and some geojson for overlays. I'm using the MapFish print module with Geoserver and Leaflet.print to ...
Hippipers's user avatar
  • 137
1 vote
1 answer
882 views

How to print a WMTS layer using MapFish v2 (from GeoNetwork)

I'm trying to configure printing from the map view in GeoNetwork 3.0.x. This seems to use MapFish version 2.1.1 (if Maven is to be believed). I have a REST WMTS layer that (after I've modified ...
Ian Turton's user avatar
  • 80.5k
0 votes
1 answer
602 views

Mapfish Print Plugin v3 - WMTS Service

I would like to print a map with the Mapfish Print Plugin. As a service a WMTS is used. Here is the link to the service: WMTS Capabilities Here is the link to the Mapfish Print Documentation: Mapfish ...
eftas's user avatar
  • 525
2 votes
1 answer
2k views

Leaflet Client Side rendering [closed]

A project I am working on contains 15 different layers with 5 containing over 50,000 polygons in each layer. Some of these layers must be "queryable" for data (ex: click to get more information of ...
Tater's user avatar
  • 43
1 vote
0 answers
997 views

MapFish Print 3 - Multiple maps on a file

I'm using MapFish to print maps and i'm stuck on a problem : printing 2 maps on the same page of a PDF. If i want to print one map i do that : In Config.yaml : [...] attributes: map: !map ...
sla's user avatar
  • 11
2 votes
1 answer
329 views

GeoServer Printing Extension and MapBox's new API

I'm using MapBox as a basemap, and the GeoServer Printing Extension for printing this and some layers out of GeoServer. I now have it working for the old MapBox API (with URLs like https://a.tiles....
Alex Leith's user avatar
  • 13.4k
1 vote
1 answer
680 views

Geoserver Mapfish Print Fails

I use Geoserver 2.8.1, Openlayers 2.12, GeoExt 1.1 on a Windows machine. I can successfully print a map using the Print Provider below: var printProvider = new GeoExt.data.PrintProvider({ ...
Todd Krueger's user avatar
3 votes
0 answers
804 views

Legend text not printing with Mapfish print

I am using GeoNode 1.6.11 and GeoServer 2.7.4. I am configuring Mapfish Print's config.yaml file to show the legend, but it is not working properly. I have the icons showing up on the PDFs, but the ...
Cliff's user avatar
  • 831
1 vote
1 answer
269 views

MapFish print image on whole page

I need to generate map image with vectors drawn on them. I do not have access to backend. Is it possible using mapfish to generate desired image only (not image placed on page)? When i calculate ...
gisit's user avatar
  • 447
1 vote
1 answer
260 views

How to add gridlines as !staticlayer to a MapFish3 print template?

I am trying to add gridlines to a template by using a !staticlayer attribute with the !addBackgroundLayers processor. I am able to output a PDF map, however, no gridlines are visible. Here is my ...
Matt's user avatar
  • 2,696
2 votes
1 answer
387 views

Geoserver Mapfish printing

I am using mapfish module to print my map to pdf. It works well for two layers but if I add another layer there is no response from geoserver. Neither there is any error in geoserver log no in apache.
Mk Swati's user avatar
  • 133
2 votes
1 answer
266 views

Is it possible to send an OpenLayers map to QGIS for printing?

I have an existing OpenLayers/GeoServer/PostGIS/GeoExt project and I am looking for a way to print an OpenLayers map that contains WFS layers, vector layers dynamically created by users, and WMS ...
Todd Krueger's user avatar
1 vote
1 answer
307 views

Openlayers Mapfish Fails

My OpenLayers/MapFish print tool fails approximately half the time when attempting to print WMS with some vectors, and always fails when trying to print WFS layers. After the OL map first loads I can ...
Todd Krueger's user avatar
2 votes
0 answers
496 views

InvalidJsonValueException in geoserver printing module

I have a leaflet web app displaying some WFS and WMS with tiles from the IGN in WMTS. I've installed leaflet.print plugin and the geoserver printing module. But, when I want to print, a web page is ...
Hippipers's user avatar
  • 137
4 votes
1 answer
639 views

GeoServer with printing plugin, scale too low

GeoServer 2.8.1, printing plugin to PDF On scale 10000 picture of WMS layer is too low scale. As in legend and on normal map it is 300 meters. But those red dots - it mirrors of all objects, on 7 ...
Pavel Kulikov's user avatar
1 vote
1 answer
1k views

Geoserver printing (2.8) fails: InvalidValueException

I have followed this well-known sequence to use the Geoserver printing module: cd /var/lib/tomcat7/webapps sudo wget http://ares.boundlessgeo.com/geoserver/2.6.x/geoserver-2.6.x-latest-war.zip sudo ...
Gery's user avatar
  • 2,122
1 vote
1 answer
1k views

How to print only a selection of the map using MapFish Printing Module?

I am working on a GIS API that uses OpenLayers 2. I want to make snapshots of a selected region. For example. I draw a rectangle, and the MapFish Printing Module would print only the selected region. ...
joaorodr84's user avatar
2 votes
1 answer
1k views

Mapfish Print v3 - Blank map

I'm using Mapfish Print v3 to print a layer from the following link: http://webapps.sit.puglia.it/arcgis/services/Background/TNOInquadramento/MapServer/WMSServer To test the printing function I'm ...
voccoeisuoi's user avatar
1 vote
1 answer
2k views

send SPECS to mapFish service using POST method

I'm using mapFish print-servlet-1.1 and I generate the PDF from the default interface (index.html) from tomcat. The print service is a standalone service deploied on tomcat 7. If the form method is ...
Stefan Simon's user avatar
1 vote
1 answer
123 views

Mapfish Print Linux Problem

I'm using Mapfish Print Tool in Windows and everyhing works correctly. But when I print the same template on Linux server, Mapfish Print doesn't print all elements when printing on formats like png or ...
Emma's user avatar
  • 11
2 votes
0 answers
90 views

Mapfish Print on linux server doesn't print any texts to png or jpg outup formats

I'm using Mapfish Print 1.2 on Windows and everyhing works correctly. But on Linux server, Mapfish Print doesn't print any texts to output formats like png or jpg. It does work only with pdf. Do you ...
tomas.voj's user avatar
2 votes
1 answer
2k views

Examples of config.yaml for printing

I've been reading this, I wonder if there are config.yaml nice examples available to take a look at them. Can some web links for the examples or output images be provided for this?
Gery's user avatar
  • 2,122
1 vote
0 answers
511 views

Making depth map of lake but cannot get contours to show up right

I am trying to make a depth map of a lake. I am using the contour plugin to generate contour lines. The problem I am having is that when I use the plugin the contours come out right except on the ...
Chad Washington's user avatar