Hi,

I was wondering if there's something like the vendor option 
<VendorOption name="forceLeftToRight">false</VendorOption> for vertical 
line geometries. Or if there's some other suggested way to have labels 
all facing the same way in this sort of situation:

http://skitch.com/alyssawright/dadsh/label-orientation

Below is the rule that I'm working with.

Thank you!
Alyssa.

     <sld:Rule>
       <sld:Name>Streets</sld:Name>
       <sld:Title>Streets &lt; 9K</sld:Title>
       <sld:ElseFilter/>
       <sld:MaxScaleDenominator>9000.0</sld:MaxScaleDenominator>
       <sld:LineSymbolizer>
         <sld:Stroke>
           <sld:CssParameter name="stroke">#a5a5a5</sld:CssParameter>
           <sld:CssParameter name="stroke-width">4</sld:CssParameter>
         </sld:Stroke>
       </sld:LineSymbolizer>
       <sld:TextSymbolizer>
         <sld:Label>
           <ogc:PropertyName>namelow</ogc:PropertyName>
         </sld:Label>
         <sld:Font>
           <sld:CssParameter name="font-family">SansSerif</sld:CssParameter>
           <sld:CssParameter name="font-size">11</sld:CssParameter>
           <sld:CssParameter name="font-style">normal</sld:CssParameter>
           <sld:CssParameter name="font-weight">normal</sld:CssParameter>
         </sld:Font>
         <sld:LabelPlacement>
           <sld:PointPlacement>
             <sld:AnchorPoint>
               <sld:AnchorPointX>
                 <ogc:Literal>0.0</ogc:Literal>
               </sld:AnchorPointX>
               <sld:AnchorPointY>
                 <ogc:Literal>0.5</ogc:Literal>
               </sld:AnchorPointY>
             </sld:AnchorPoint>
             <sld:Rotation>
               <ogc:Literal>0</ogc:Literal>
             </sld:Rotation>
           </sld:PointPlacement>
         </sld:LabelPlacement>
         <sld:Halo>
           <sld:Radius>
             <ogc:Literal>1</ogc:Literal>
           </sld:Radius>
           <sld:Fill>
             <sld:CssParameter name="fill">#ffffff</sld:CssParameter>
             <sld:CssParameter name="fill-opacity">.5</sld:CssParameter>
           </sld:Fill>
         </sld:Halo>
         <sld:VendorOption name="labelAllGroup">true</sld:VendorOption>
         <sld:VendorOption name="followLine">true</sld:VendorOption>
         <sld:VendorOption name="group">true</sld:VendorOption>
         <sld:VendorOption name="maxDisplacement">50</sld:VendorOption>
       </sld:TextSymbolizer>
     </sld:Rule>


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to