[Geoprisma-dev] Fwd: [OpenLayers-Users] Re: Printing the map

Yves Moisan yves.moisan at boreal-is.com
Tue Dec 7 09:54:44 EST 2010


Sorry for X-posting, but I thought this was worth mentioning.

Yves

-------- Message original --------
Sujet: 	[OpenLayers-Users] Re: Printing the map
Date : 	Tue, 7 Dec 2010 03:46:39 -0800 (PST)
De : 	Johan_L <johanlahti at gmail.com>
Pour : 	users at openlayers.org



I have made a Python script based on PIL and the aggDraw libraries which can
be used for printing/exporting the map as an image. An example can be seen
at http://xyz.malmo.se/stadsatlas_dev/index.html?width=1200&height=600 or
http://xyz.malmo.se/stadsatlas/index_skarp_sma.htm . We use the same script
for exporting to pdf/png/jpg (etc) also. The client-side code is built upon
the example given here: http://trac.osgeo.org/openlayers/wiki/Printing .

The script works so far only with TileCache, WMS and OpenLayers.Layer.Vector
layers. If anyone is interested and wants to develop it further, let me
know.
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Printing-the-map-tp2223374p5811322.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users


-------------- section suivante --------------
Une pi?ce jointe HTML a ?t? enlev?e...
URL: http://lists.osgeo.org/pipermail/geoprisma-dev/attachments/20101207/01cb665c/attachment.html


More information about the Geoprisma-dev mailing list