[OpenLayers-Trac] [OpenLayers] #1545: PointSymbolizer Size is misinterpreted in Format.SLD

OpenLayers trac at openlayers.org
Tue May 13 07:02:44 EDT 2008


#1545: PointSymbolizer Size is misinterpreted in Format.SLD
----------------------+-----------------------------------------------------
 Reporter:  ahocevar  |       Owner:             
     Type:  bug       |      Status:  new        
 Priority:  minor     |   Milestone:  2.7 Release
Component:  general   |     Version:  2.6        
 Keywords:            |       State:             
----------------------+-----------------------------------------------------
 Format.SLD sets the Size property of a PointSymbolizer directly as the
 pointRadius property of the OpenLayers symbolizer. According to the SLD
 spec, "The Size element gives the absolute size of the graphic in pixels
 [...]".

 To correct that, the size has to be divided by two before applying it to
 the pointRadius property of the symbolizer.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/1545>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list