[Geoserver-devel] RE: [Mapbuilder-devel] Scale Factor and Geoserver Min/MaxScaleFac tor inconsistency

The value in Mapbuilder has been updated. Thanks for the correction.

Mike

-----Original Message-----
From: mapbuilder-devel-admin@lists.sourceforge.net
[mailto:mapbuilder-devel-admin@lists.sourceforge.net] On
Behalf Of Richard didier
Sent: June 9, 2005 1:51 PM
To: Stuart Blair; mapbuilder-devel@lists.sourceforge.net
Cc: geoserver-devel@lists.sourceforge.net
Subject: [Mapbuilder-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

-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far
can you shotput a projector? How fast can you ride your desk
chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display:
http://www.necitguy.com/?r
_______________________________________________
mapbuilder-devel mailing list
mapbuilder-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel