Hi Sebastian,
thank you very much for your answer. Thi solution work fine for me

cheers
Michele


On Mon, Dec 3, 2012 at 4:53 PM, <schmidt.sebasti...@swm.de> wrote:

>  Hi Michele,****
>
> ** **
>
> yes this should be possible, look at the ogc:PropertyNames tags in this
> SLD snippet:****
>
> ** **
>
> <sld:Rule>****
>
>           <sld:MaxScaleDenominator>5000.0</sld:MaxScaleDenominator>****
>
>           <sld:TextSymbolizer>****
>
>             <sld:Label>****
>
>               <ogc:PropertyName>nr</ogc:PropertyName>****
>
>             </sld:Label>****
>
>             <sld:Font>****
>
>               <sld:CssParameter
> name="font-family">VialogRegular</sld:CssParameter>****
>
>               <sld:CssParameter name="font-size"> 
> <ogc:PropertyName>size</ogc:PropertyName>
> </sld:CssParameter>****
>
>               <sld:CssParameter name="font-style">italic</sld:CssParameter>
> ****
>
>               <sld:CssParameter
> name="font-weight">normal</sld:CssParameter>****
>
>             </sld:Font>****
>
> <sld:LabelPlacement>****
>
>               <sld:PointPlacement>****
>
>                 <sld:AnchorPoint>****
>
>                   <sld:AnchorPointX>****
>
>                     <ogc:Literal>0.5</ogc:Literal>****
>
>                   </sld:AnchorPointX>****
>
>                   <sld:AnchorPointY>****
>
>                     <ogc:Literal>0.5</ogc:Literal>****
>
>                   </sld:AnchorPointY>****
>
>                 </sld:AnchorPoint>****
>
>                 <sld:Rotation>****
>
>                   <ogc:PropertyName>rotation</ogc:PropertyName> ****
>
>                 </sld:Rotation>****
>
>               </sld:PointPlacement>****
>
>             </sld:LabelPlacement>****
>
> ** **
>
> Kind regards,****
>
> Sebastian****
>
> ** **
>
> *Von:* Michele Beneventi [mailto:mbeneve...@gmail.com]
> *Gesendet:* Montag, 3. Dezember 2012 16:43
> *An:* geoserver-users
> *Betreff:* [Geoserver-users] Labeling - 'css parameter' value from
> attribute field****
>
> ** **
>
> Hi all,****
>
> I have a postgis layer that I should labeling taking "css parameter" from
> some attribute values. I mean font-family, dimension and angle.****
>
> Can I achieve this goal?****
>
> ** **
>
> thanks in advance****
>
> Michele****
>
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
BUILD Helping you discover the best ways to construct your parallel projects.
http://goparallel.sourceforge.net
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to