[Geoserver-devel] Scale Factor and Geoserver Min/MaxScaleFactor inconsistency

Hi all,

With Geoserver 1.3.0RC1 and the Min/MaxScaleFactor support, it appears that
the scale displayed by MapBuilder is inconsistent with the scale computed by
Geoserver.

After some tests with GeoServer only, the problem seems to be on MapBuilder
side. We have modified (and submit to you) the extract Extent.js file as
follows :
...
//var mbScaleFactor = 72 * 39.3701; //PixelsPerInch*InchesPerMapUnit; magic
numbers
                                    //need to determine magic number for
lat/lon
var mbScaleFactor = 3571.428 //magic number, for Geoserver SLD
compatibility
                               // 1/0.00028 (0.28 mm "is a common actual size
for
                               // contemporary display" as written in the SLD
specification
...

This is just a fix for us, hope it will help.

didier