[Geoserver-users] Cutomizing PDF output from Geoserver?

Hi,

I’ve searched the documentation and couldn’t find a definite answer. I’d like to know if there is a way to customize WMS output to a PDF – for instance, if I’m showing a data layer from a WMS, is there anywhere within geoserver that I could add a standard map template to all PDFs generated by Geoserver?

Thanks for the help! We’re enjoying Geoserver and hope to have something to show soon!

Jonathan Harahush

GIS Analyst

Denver Regional Council of Governments

http://www.drcog.org

(303) 480-6746

Jonathan Harahush ha scritto:

Hi,

I’ve searched the documentation and couldn’t find a definite answer. I’d like to know if there is a way to customize WMS output to a PDF – for instance, if I’m showing a data layer from a WMS, is there anywhere within geoserver that I could add a standard map template to all PDFs generated by Geoserver?

Nope, GeoServer does not have a PDF templating system, but there
is MapFish that has a print functionality with one, and that
can integrate with GeoServer (thought there is a bug preventing
the accurate printing of layers with multiple feature type styles).

You can find the module here, http://trac.mapfish.org/trac/mapfish/wiki,
thought you'll have to build it on your own (they don't provide
a pre-build binary as far as I know).

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

On Wed, Feb 4, 2009 at 6:18 PM, Andrea Aime <aaime@anonymised.com> wrote:

Jonathan Harahush ha scritto:

Hi,

I've searched the documentation and couldn't find a definite answer.
I'd like to know if there is a way to customize WMS output to a PDF –
for instance, if I'm showing a data layer from a WMS, is there anywhere
within geoserver that I could add a standard map template to all PDFs
generated by Geoserver?

Nope, GeoServer does not have a PDF templating system, but there
is MapFish that has a print functionality with one, and that
can integrate with GeoServer (thought there is a bug preventing
the accurate printing of layers with multiple feature type styles).

You can find the module here, http://trac.mapfish.org/trac/mapfish/wiki,
thought you'll have to build it on your own (they don't provide
a pre-build binary as far as I know).

Hi

There's a war available here:
http://dev.mapfish.org/maven/repository/org/mapfish/print/print-servlet/1.1/print-servlet-1.1.war

And a jar for the print jar alone:
http://dev.mapfish.org/maven/repository/org/mapfish/print/print-lib/1.1/print-lib-1.1.jar

Cheers,

--
Eric