We have a requirement to create high-quality map images for inclusion in various document artifiacts (PDF, print-ready HTML, etc). The goal is to do this via a service, which can be called from a variety of other client and server-side components.
“High-quality map images” includes things like:
- decorators such as scale bar, North arrow, legend, graticule
- high-resolution images suitable for printing
- display of a tiled base map (from either a 3rd-party service or an internal tile cache)
- display of a set of overlay layers from GeoServer
- ability to display some styled geometry over the map
How close can pure GeoServer get to these requirements? Alternatively, are there any libraries which can do some or all of this? (And yes, I know that GeoTools could be used to do this - but we’re looking for something which is more out-of-the-box).
Ideally these would be open-source Java components suitable for running in a JEE container, but other implementations are of interest as well.
Ah, just saw this:
http://osgeo-org.1560.x6.nabble.com/Geoserver-GeoExt-Mapfish-tp5070204.html
The Printing module sounds like exactly what is needed, at least from a functional perspective.
Still interested in other suggestions, and comments on how well the Printing module works with external tile servers.
···
On Tue, Aug 6, 2013 at 11:36 AM, Martin Davis <mtnclimb@anonymised.com> wrote:
We have a requirement to create high-quality map images for inclusion in various document artifiacts (PDF, print-ready HTML, etc). The goal is to do this via a service, which can be called from a variety of other client and server-side components.
“High-quality map images” includes things like:
- decorators such as scale bar, North arrow, legend, graticule
- high-resolution images suitable for printing
- display of a tiled base map (from either a 3rd-party service or an internal tile cache)
- display of a set of overlay layers from GeoServer
- ability to display some styled geometry over the map
How close can pure GeoServer get to these requirements? Alternatively, are there any libraries which can do some or all of this? (And yes, I know that GeoTools could be used to do this - but we’re looking for something which is more out-of-the-box).
Ideally these would be open-source Java components suitable for running in a JEE container, but other implementations are of interest as well.
Hi Martin,
Mapfish is good but at the same time it’s a pain.
You can also run it as a stand-alone Tomcat/jetty instance as compared to a module for GeoServer. This may be a good idea as I believe the version of MapFish used by the printing module is quite old and may not include all the tiling stuff.
It’s also not that well documented.
That said, it can come out with nice prints and does everything you’ve specified.
I don’t know of any other solution but there may be some out there somewhere.
Cheers,
Jonathan
···
On Tue, Aug 6, 2013 at 11:36 AM, Martin Davis <mtnclimb@anonymised.com> wrote:
We have a requirement to create high-quality map images for inclusion in various document artifiacts (PDF, print-ready HTML, etc). The goal is to do this via a service, which can be called from a variety of other client and server-side components.
“High-quality map images” includes things like:
- decorators such as scale bar, North arrow, legend, graticule
- high-resolution images suitable for printing
- display of a tiled base map (from either a 3rd-party service or an internal tile cache)
- display of a set of overlay layers from GeoServer
- ability to display some styled geometry over the map
How close can pure GeoServer get to these requirements? Alternatively, are there any libraries which can do some or all of this? (And yes, I know that GeoTools could be used to do this - but we’re looking for something which is more out-of-the-box).
Ideally these would be open-source Java components suitable for running in a JEE container, but other implementations are of interest as well.
On Wed, Aug 7, 2013 at 1:02 PM, Jonathan Moules <
jonathanmoules@anonymised.com> wrote:
Hi Martin,
Mapfish is good but at the same time it's a pain.
You can also run it as a stand-alone Tomcat/jetty instance as compared to
a module for GeoServer. This may be a good idea as I believe the version of
MapFish used by the printing module is quite old and may not include all
the tiling stuff.
Indeed it's seems that we are using 1.2 while there is 2.0 out.
Oh well, that's life with community modules
Cheers
Andrea
--
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------