WMS call has WIDTH and HEIGHT in pixels and combined with BBOX
calculates the scale.
http://localhost/wms/maps?LAYERS=parcels&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fpng&SRS=EPSG%3A2264&BBOX=1843216.8888889,468292.22222222,2517439.1111111,835847.77777778&WIDTH=1517&HEIGHT=827
*Worth Lutz*
------------------
On 10/27/2014 06:23 AM, Malm Paul wrote:
Hi,
I wounder how MapServer can know the current scale I’m using in my
client, it must be calculated from the URL BBOX. But how does WMS know
the physical size of this box on the clients screen?
The MIN/MAX-SCALEDENOM are used in WMS but not in WFS.
I would like to search for WFS objects from objects that are visible
om my screen (WMS).
To do that I need to know what scale WMS is currently using, or how
it’s calculated. Otherwise I can’t filter out the correct layers in my
WFS query (layers that are not WMS-rendered).
Any ideas?
Kind regards,
Paul
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users