[OpenLayers-Trac] Re: [OpenLayers] #3173: Bad calculation of layer.maxScale while parsing OpenLayers.Format.WMSCapabilities

OpenLayers trac-20090302 at openlayers.org
Mon Mar 14 14:51:25 EDT 2011


#3173: Bad calculation of layer.maxScale while parsing
OpenLayers.Format.WMSCapabilities
-------------------------------------+--------------------------------------
  Reporter:  jachym                  |       Owner:  tschaub     
      Type:  bug                     |      Status:  closed      
  Priority:  minor                   |   Milestone:  2.11 Release
 Component:  Format.WMSCapabilities  |     Version:  2.10        
Resolution:  invalid                 |    Keywords:              
     State:                          |  
-------------------------------------+--------------------------------------
Changes (by bartvde):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 It depends on the DPI value that the respective WMS service used when
 outputting the GetCapabilities. Mapserver by default uses 72. However the
 OGC says it should be 90.71, so it is advised to setup both server and
 client with this value. It's the contract between the client and the
 server. Please note that in WMS 1.3 the whole concept of scales was
 revisited and they used ScaleDenominators instead.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3173#comment:1>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list