Questions tagged [mapfish]

MapFish is an open source web mapping development framework.

Filter by
Sorted by
Tagged with
0
votes
1answer
15 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 ...
1
vote
0answers
18 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 ...
0
votes
0answers
23 views

GeoServer printing module : Missing 'spec' parameter

I am trying to use the GeoServer printing module to export a map to pdf. I have installed the plugin as described here. I'm using the default config.yaml file that was installed with the plugin. The ...
2
votes
0answers
38 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
16 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 ...
0
votes
1answer
14 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
9 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 ...
2
votes
1answer
148 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 ...
0
votes
1answer
50 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
0answers
78 views

Geoserver, MapFish, Jasper Reports - configuration issue

I am trying to set up Jasper report template in GeoServer 2.8.3 printing module. In my application first, I execute geoserver/pdf/info.json then geoserver/pdf/print.pdf?spec= with the proper ...
0
votes
1answer
148 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 ...
0
votes
0answers
55 views

Geoserver Mapfish: how to print in multiple pages?

I need to print a large map with a high resolution. I wonder is it possible to print a map in more than one page? and how? I've tested the Mapfish Printing Demo that comes with Geoserver admin page,...
0
votes
0answers
51 views

Why 'Simple' example is not giving in Mapfish pdf report?

I am using windows. I installed tomcat 8.5. Then deployed print-servlet 3.9 war. There are some example print apps. I tried to print "Simple", but it didn't build any pdf report, gave some error ...
0
votes
1answer
138 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
243 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 ...
4
votes
2answers
378 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 ...
1
vote
0answers
38 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 ...
0
votes
0answers
81 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 ...
0
votes
0answers
94 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. #============================================================...
1
vote
0answers
161 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 ...
1
vote
0answers
128 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 ...
1
vote
0answers
452 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: ...
1
vote
0answers
284 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: ...
1
vote
0answers
209 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 ...
0
votes
1answer
500 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 ...
1
vote
1answer
510 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 ...
0
votes
1answer
327 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 ...
1
vote
1answer
777 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 ...
1
vote
0answers
591 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 ...
2
votes
1answer
258 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....
1
vote
1answer
455 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({ ...
3
votes
0answers
497 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 ...
1
vote
0answers
147 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 ...
1
vote
1answer
171 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 ...
2
votes
1answer
341 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.
2
votes
1answer
204 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 ...
1
vote
1answer
187 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 ...
1
vote
0answers
299 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 ...
4
votes
1answer
435 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 ...
1
vote
1answer
595 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 ...
1
vote
1answer
908 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. ...
2
votes
1answer
951 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 ...
1
vote
1answer
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 ...
1
vote
1answer
80 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 ...
2
votes
0answers
79 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 ...
2
votes
1answer
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?
1
vote
0answers
445 views

Trying to make a depth map of a lake but can't get the 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 ...
2
votes
0answers
25 views

MapFish: Display number of pages

I put this tag in a text block of the mainPage: - !text text: 'Page: ${pageNum}/${pageTot}' But it appears only the current page number! Someone tell me knows how to solve this problem?
2
votes
0answers
232 views

Using MapFish to Print vector with filter based style?

Is it possible to define an OpenLayers WFS style, which is based on filters, to MapFishPrint request?
1
vote
1answer
2k views

Mapfish/Geoserver printing: layer problems

I am in the process of migrating my map application to another server with a newer Geoserver version (from 2.4 to the latest version available (master) using the 2.7-SNAPSHOT version of the printing ...