[Geoserver-devel] [jira] Created: (GEOS-2506) Document label + road plate feature in our extended text symbolizer

Document label + road plate feature in our extended text symbolizer
-------------------------------------------------------------------

                 Key: GEOS-2506
                 URL: http://jira.codehaus.org/browse/GEOS-2506
             Project: GeoServer
          Issue Type: Task
    Affects Versions: 1.7.1
            Reporter: Andrea Aime
            Assignee: Mike Pumphrey
             Fix For: 1.7.2

GeoServer has an extended text symbolizer feature that allows to specify a Graphic inside a TextSymbolizer to be used as a road plate.
Here is a sample SLD snippet:

{code:xml}
<TextSymbolizer>
  <Geometry>
    <ogc:PropertyName>gen_1</ogc:PropertyName>
  </Geometry>
  <Label>
    <ogc:PropertyName>statehighway</ogc:PropertyName>
  </Label>
  
  <Font>
    <CssParameter name="font-family">Times New Roman</CssParameter>
    <CssParameter name="font-weight">Bold</CssParameter>
    <CssParameter name="font-size">10</CssParameter>

  </Font>
  
  <LabelPlacement>
    <PointPlacement>
      <AnchorPoint>
        <AnchorPointX>0.5</AnchorPointX>
        <AnchorPointY>0.5</AnchorPointY>
      </AnchorPoint>
    </PointPlacement>
  </LabelPlacement>
  
  <Fill>
    <CssParameter name="fill">#000000</CssParameter>
  </Fill>
  
  <Graphic>
    <ExternalGraphic>
      <OnlineResource xlink:href="circle_shield.gif"/>
      <Format>image/gif</Format>
    </ExternalGraphic>
    <Size>23</Size>
  </Graphic>
   
  <VendorOption name="group">yes</VendorOption>
  <VendorOption name="spaceAround">5</VendorOption>

</TextSymbolizer>
{code}

This shouldbe documented. If you want more examples looks into the sigma.openplans.org demo SLD files for roads, there
are plenty more (along with the actual road plate images).

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira