AW: [OpenLayers-Users] best way to convert an OL map to a static map ?
Arnd Wippermann
arnd.wippermann at web.de
Wed Aug 31 11:11:36 EDT 2011
Hi,
No need "to translate my SLD to MAP syntax"
MapServer generates a mapfile in a temporary directory, if you use SLD. I'm
not sure, if you have set debug in your mapfile.
Arnd
-----Ursprüngliche Nachricht-----
Von: openlayers-users-bounces at lists.osgeo.org
[mailto:openlayers-users-bounces at lists.osgeo.org] Im Auftrag von Julien
Cigar
Gesendet: Mittwoch, 31. August 2011 14:55
An: openlayers-users at lists.osgeo.org
Betreff: [OpenLayers-Users] best way to convert an OL map to a static map ?
Hello,
I have a webapp where the user wants to be able to download a "static
version" of the displayed OL map, and I wondered what's the best way to do
it ..?
I'm using PostGIS/Mapserver and a (dynamically generated) SLD stylesheet.
I planned to simply use the &mode=map of Mapserver, problem is that SLD is
only supported with WMS requests, so I have to translate my SLD to MAP
syntax (classes, styles, etc).. which I like to avoid.
So I wondered if there is a better way to do than playing with the URL
parameters (BBOX, LAYERS, etc)? Also, I would like to keep the 'attribution'
propert(y|ies) of the active(s) layer(s) if possible (I use this property to
put a custom logo on the map).
Thanks,
Julien
--
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.
More information about the Users
mailing list