Hi,

The scalehint in the WMS-GetCapabilities response is not what i was expecting. 
After reading the JIRA ticket: https://jira.codehaus.org/browse/GEOS-5830 and 
the suggested pull request https://github.com/geoserver/geoserver/pull/244 i'm 
still a bit confused...

The WMS 1.1.1 specs (7.1.4.5.8) says: 
"The following definition of Scale Hint is recommended. Consider a hypothetical 
map with a given Bounding Box, width
and height. The central pixel of that map (or the pixel just to the northwest 
of center) will
have some size, which can be expressed as the ground distance in meters of the 
southwest
to northeast diagonal of that pixel. The two values in ScaleHint are the 
minimum and maximum recommended 
values of that diagonal. It is recognized that this definition is not 
geodetically precise, 
but at the same time the hope is that by including it conventions will develop 
that can be later specified more clearly."

So, what I was expecting was the scalehint as the diagonal map units of 1 
pixel, like how other WMS services use it. But GeoServer is using the 
scaledenomination values in the scalehint.
According the specs it's correct (it's just a recommendation) but it's a bit 
confusing that it's implemented differently then in other WMS services.

Roy Braam
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to