[mapserver-users] MAP_RESOLUTION parameter
Rahkonen Jukka (MML)
jukka.rahkonen at maanmittauslaitos.fi
Wed Nov 16 03:02:39 PST 2016
Hi,
WMS vendor parameter is an extra parameter that does not belong to those which are defined in the standard, but which makes some difference to WMS output if it is used with a server that knows what to do with it. Other servers must just skip it. Therefore I think that MAP_RESOLUTION is exactly a vendor parameter in the same way than these great vendor parameters of Geoserver http://docs.geoserver.org/stable/en/user/services/wms/vendor.html.
-Jukka Rahkonen-
Lähettäjä: Marco Afonso [mailto:mafonso333 at gmail.com]
Lähetetty: 16. marraskuuta 2016 12:50
Vastaanottaja: Rahkonen Jukka (MML) <jukka.rahkonen at maanmittauslaitos.fi>
Kopio: mapserver <mapserver-users at lists.osgeo.org>
Aihe: Re: [mapserver-users] MAP_RESOLUTION parameter
Thank you Jukka.
I dont think it should be a vendor param as one can build a WMS URL with the desired resolution.
Im even thinking displaying a combo box to the user choose from the resolution predefined options.
This is great param :)
Em 16/11/2016 10:18, "Rahkonen Jukka (MML)" <jukka.rahkonen at maanmittauslaitos.fi<mailto:jukka.rahkonen at maanmittauslaitos.fi>> escreveu:
Hi,
There was some discussion 5 years ago https://lists.osgeo.org/pipermail/mapserver-users/2011-June/069136.html but obviously I did not made the documentation ticket.
Because MAP_RESOLUTION can be used without having it in the mapfile I feel that it should be documented in http://mapserver.org/ogc/wms_server.html as a vendor parameter. For Mapserver CGI the place could be http://mapserver.org/cgi/controls.html. MAP.RESOLUTION and MAP.DEFRESOLUTION is the syntax to use as cgi controls.
The default value is 72 and that is documented in http://mapserver.org/development/rfc/ms-rfc-55.html.
-Jukka Rahkonen-
Lähettäjä: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org<mailto:mapserver-users-bounces at lists.osgeo.org>] Puolesta Marco Afonso
Lähetetty: 16. marraskuuta 2016 11:47
Vastaanottaja: mapserver <mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>>
Aihe: [mapserver-users] MAP_RESOLUTION parameter
Hello,
By using OpenLayers 3 and WMS I found a really usefull parameter: MAP_RESOLUTION.
It's very important to request images with higher resolution for printing.
I did some search about it's documentation but I can't find any.
I found references to MAP.RESOLUTION and MAP.DEFRESOLUTION but not about MAP_RESOLUTION.
Please where I can find documentation about this parameter.
What is the default value assumed if MAP_RESOLUTION is missing on the WMS request?
Thank you!
--
Regards,
Marco Afonso
http://goo.gl/ZDtQjm
[Lähettäjä poisti kuvan.]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20161116/d17dee06/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 823 bytes
Desc: image001.jpg
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20161116/d17dee06/attachment.jpg>
More information about the MapServer-users
mailing list