[OpenLayers-Users] saving the view as an image, or to PDF?

David Fawcett david.fawcett at gmail.com
Thu Dec 6 12:57:40 EST 2007


The GeoMoose interface does something similar.
http://www.geomoose.org/moose

You might want to take a look at the server-side script that they use for
creating a print image.

David.

On Dec 5, 2007 11:28 PM, Eric Lemoine <eric.c2c at gmail.com> wrote:

> On Dec 6, 2007 2:13 AM, angus scown <gus at sdx.com.au> wrote:
> > You need to use a mapserver for this as the constraints of pdf are very
> > different to a browser.  Openlayer is for presentation of information in
> > the browser.
> >
> > We use a php mapscript that takes the layers and then generates a single
> > jpeg file.  We send the script the current layers, the extents and size
> > of image (same as map div).
>
> Yes. And if you have features rendered on your map that you'd like on
> your PDF map, you can send the coords of these features to the server,
> and have your mapscript program do the rest.
>
> > There are other examples to get you started if you search the mail list
> > archive for pdf or printing.
>
> Which mailing list? MapServer I suppose.
> --
> Eric
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20071206/343e047b/attachment.html


More information about the Users mailing list