[OpenLayers-Trac] Re: [OpenLayers] #3506: The graphic attribute <Size>${...}</Size> is not resolved by the sld reader and returns NaN (was: The attribute size:"${...}" is not resolved by the sld reader and returns null for the pointRadius.)

OpenLayers trac-20090302 at openlayers.org
Fri Sep 16 21:15:22 EDT 2011


#3506: The graphic attribute <Size>${...}</Size> is not resolved by the sld reader
and returns NaN
------------------------------+---------------------------------------------
 Reporter:  andyjc            |       Owner:  tschaub     
     Type:  bug               |      Status:  new         
 Priority:  minor             |   Milestone:  2.12 Release
Component:  Symbolizer.Point  |     Version:  2.11 RC1    
 Keywords:                    |       State:  Review      
------------------------------+---------------------------------------------
Changes (by ahocevar):

  * state:  => Review


Comment:

 The above patch fixes the reported issue, and also makes related changes
 to the SLD format:

  * The standards compliant {{{<ogc:PropertyName>foo</ogc:PropertyName>}}}
 is now also supported by the readers, not just the OpenLayers-specific
 {{{${foo}}}}.
  * The readers now also parse {{{A
 <ogc:PropertyName>label</ogc:PropertyName> label}}}, so the already
 supported {{{A ${label} label}}} in a symbolizer survives a roundtrip.
  * PropertyName writing is now not only supported for Label, but for all
 symbolizer properties that support it.

 Tests pass in Safari5.1. Thanks for any review.

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


More information about the Trac mailing list