Hi list,
According to the documentation [1] GeoServer labels each line only once. And if
you want to repeat the label (for long lines) you should add the repeat vender
option with a positive value (the number of pixels).
That's not what I'm experiencing. In each of the following 3 scenarios I get
the same image (with a repeated label):
1. Text symbolizer without repeat vender option
2. Text symbolizer with <VendorOption name="repeat">150</VendorOption>
(only in this scenario I would expect the label repetition)
3. Text symbolizer with <VendorOption name="repeat">-1</VendorOption>
What am I missing here? I'm using a 2.5-SNAPSHOT (will upgrade to stable 2.5.1
later today).
[1]
http://docs.geoserver.org/latest/en/user/styling/sld-reference/labeling.html#sld-reference-labeling
Kind regards,
Roel
For completeness the text symbolizer I'm using to test:
<TextSymbolizer>
<Label>
<ogc:PropertyName>soort_water</ogc:PropertyName>
</Label>
<LabelPlacement>
<LinePlacement />
</LabelPlacement>
<Fill>
<CssParameter name="fill">#000000</CssParameter>
</Fill>
<VendorOption name="followLine">true</VendorOption>
<VendorOption name="maxAngleDelta">90</VendorOption>
<VendorOption name="maxDisplacement">400</VendorOption>
</TextSymbolizer>
________________________________
Volg Aquafin op Facebook<https://www.facebook.com/AquafinNV> |
Twitter<https://twitter.com/aquafinnv> |
YouTube<http://www.youtube.com/channel/UCk_4P5BJ-MtEEDCkCsR_KqQ?feature=mhee> |
LinkedIN<http://www.linkedin.com/company/aquafin/products>
Disclaimer: zie www.aquafin.be<http://www.aquafin.be> P Denk aan het milieu.
Druk deze mail niet onnodig af.
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users