Hello list,

 

I am styling line object with SLD and combining "newLine"( <![CDATA[]]>) and
<VendorOption name="followLine">true</VendorOption> to label from property.
 
Property [V_SAVYB] value: 1xd500 PE; 2xd200 PVC; 3xd50 PDHE
 
I replace ";" with newline symbol.
 
Here it is my SLD:
 
<sld:Label>
 <ogc:Function name="strReplace">
  <ogc:PropertyName>V_SAVYB</ogc:PropertyName>
  <ogc:Literal>;</ogc:Literal> 
  <ogc:Literal><![CDATA[
]]></ogc:Literal> 
  <ogc:Literal>true</ogc:Literal>
 </ogc:Function>
</sld:Label>
...
<VendorOption name="followLine">true</VendorOption>
 
 
Looks like "followLine" vendor option destroys generated multiline label and
all text is rendered in one line following line object. If I comment out
vendor option - multilabel are generated and rendered but not following the
line.
 
is such behavior normal or it is a bug?

 

Sincarely,

Paul

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to