[OpenLayers-Users] UTM scales mismatch with
	Max/MinScaleDenomination
    Andrea Aime 
    aaime at openplans.org
       
    Sun Dec  2 15:08:04 EST 2007
    
    
  
Christopher Schmidt ha scritto:
> On Sun, Dec 02, 2007 at 05:52:59PM +0100, Andrea Aime wrote:
>> Hi Chris,
>> about this scale inconsistency, you're right in saying it's due to the
>> DPI. The WMS standard suggests a DPI of approximately 90 (well, a 
>> multiplication factor of 0.28 in fact), and that's what GeoServer is 
>> using to compute the scale.
>> To be exactly true to the WMS standard (as far as I understand it) the 
>> setting would have to be:
>>
>> OpenLayers.DOTS_PER_INCH = 25.4 / 0.28;
> 
> I'm not sure where the 25.4 comes from
As far as I remember, it's the conversion between millimeters and inches
(25.4 millimiters to make an inch).
Cheers
Andrea
    
    
More information about the Users
mailing list