Print Settings

234 views
Skip to first unread message

Paul Shapley

unread,
Nov 11, 2020, 7:18:46 AM11/11/20
to mapstore-users

Hi All,

I'm trying to get the printing module to work but having no luck on a local install. I've checked the docs but do not have the 'print' icon in the 'burger' menu. Attached is the output from 'localhost:8080/mapstore/pdf/info.json' What should I check? I have followed the guide here:


Many Thanks,
Paul
infojson.png

Karsten Vennemann

unread,
Dec 9, 2020, 8:13:08 PM12/9/20
to mapstore-users
Hi Paul,

I run into the same issue and found in the docs that the print functionality is not included in the regular mapstore (mapstore.war). It has derived from a  fork of the MapFish print module and has to be complied separately or added to a project. From your error it appears to me that the module does not exist(not found error) in your version of mapstore, so one option is to compile (build) a new war file including the print as laid out in the document you provided the link to above (under Building from the Source).
To get the print functionality I downloaded the source code,  installed a Java JDK and Maven and then ran the build script. That ran into some non essenatilerrors but as a workaround in the build.sh file I commented out the doc building and test run) and then the next run of process successfully completed the build in .../MapStore2/web/target/mapstore.war . At that point you can then use that new version of the mapstore.war for your application. I was using that in a  docker container and then using the new war and calling the application I then had the print button and functionality included. If you prefer not to run the build you can download the mapstore.war including the print functionality from the link here https://github.com/karstenv/terramapstore/tree/main/war_with_print . Please let me know how it is going.
Karsten

karsten

unread,
Dec 9, 2020, 8:45:45 PM12/9/20
to mapstor...@googlegroups.com
Hi All,

am new to MapStore and diving deeper in MapStore as a front end for web mapping applications and found that it is really great.
I also ran a build on my development machine to include the print functionality and was able to get that working.
 
Next I needed to evaluate some fucntionality to be able to use it for our stand web maps. Those first 4 things I was able to figure out (+):
+ 1. add print functionality (is available by creating a MapStore.war build including the print module - completed)
+ 2. adding (is available out of the box - completed)
+ 3. measurements on the map as redlining and in print  (is available out of the box - completed)
+ 4. creating a MapStore project as ( as documented in the docs - completed)
 
While I currently need to work on those (-)
- 5. feature selection and display on the map
- 6. custom theme (css styling for MapStore layout and display - will need to read all the docs ...)
- 7. adding a custom data query module to the map store project created above (to enable and interface for custom PostGIS queries on cadastre data and display of results display in a popup html)
 
Here my question regarding 5. :
Is there functionality in MapStore that allows to 'select' and display feature geometries on a map and display the selected geometries on a  map. If so is there and example or any documentation how that can be achieved. If so will I only work with a a WFS layer ? 
 
Cheers
Karsten
 
Karsten Vennemann
Principal

Terra GIS LTD
2119 Boyer Ave E
Seattle, WA  98112
USA 
www.terragis.net

 

Alexandre Gacon

unread,
Dec 10, 2020, 12:15:37 AM12/10/20
to mapstor...@googlegroups.com
Hi

I think you should have a look to the wiki of mapstore in github (https://github.com/geosolutions-it/MapStore2/wiki).

You have a sample for the functions you want to test.

Alexandre

--
You received this message because you are subscribed to the Google Groups "mapstore-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapstore-users/E89769BE0F774749A9BC60FD11661944%40terragispc.

karsten

unread,
Dec 10, 2020, 3:04:10 AM12/10/20
to mapstor...@googlegroups.com
Thanks so much for a pointer to this wiki I had not discovered that yet.
 
I checked out the examples e.g. like the Atlantis map https://mapstore2.geo-solutions.it/mapstore/examples/featuregrid/#/
Is the example source code available somewhere ?
 
Cheers
Karsten


From: mapstor...@googlegroups.com [mailto:mapstor...@googlegroups.com] On Behalf Of Alexandre Gacon
Sent: Wednesday, December 09, 2020 21:15
To: mapstor...@googlegroups.com
Subject: Re: [mapstore-users] Feature selection on map

You received this message because you are subscribed to a topic in the Google Groups "mapstore-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mapstore-users/PttTuYb9VDE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mapstore-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapstore-users/CAFJaAp792P4RJDdncD-hiyLADjP96_3wV7x7_qpuHi1SOif-Cg%40mail.gmail.com.

xavi...@gmail.com

unread,
Apr 25, 2021, 6:19:58 AM4/25/21
to mapstore-users
Hi Karsten,
I having the same issues you and Paul but with no suscess...
I have tried to download the war_with_print file from your github but it looks it is no longer there. I haven't managed  to install the print plugin In my already working mapstore application and can't find a solution to it.
I'm with the last version of mapstore and don't know if that could be a problem. Do you still have it avalaible?  

Many thanks!

xavi

El dia dijous, 10 de desembre de 2020 a les 2:13:08 UTC+1, kar...@terragis.net va escriure:
Reply all
Reply to author
Forward
0 new messages