Is the image you attached actually made up of multiple tiles. If so each one
will its own label. To help prevent this you can use the tiled option.
http://docs.geoserver.org/latest/en/user/services/wms/vendor.html#tiled
However even this can give duplicates, especially when your roads are made up
of individual geometries and those geometries extend beyond the area covered by
the meta-tile size. For my data the only way I could get this to an acceptable
level was to use GWC and seed with a large meta tile size and gutter.
The only way I can think of completely eliminating duplicate labels is to
create some data to define where to position the labels and render as a
separate layer/feature set. Or possibly even combine any individual geometries
into a single one.
Regards, Vic
From: Stephanos Charalambous [mailto:[email protected]]
Sent: 12 April 2016 12:18
To: [email protected]
Subject: [Geoserver-users] Difficulties with Road data labelling
Hello,
I have difficulties with Road Data labeling.
I am using all the options mentioned below but I do not get the desirable
result.
<VendorOption name="group">yes</VendorOption>
<VendorOption name="followLine">true</VendorOption>
<VendorOption name="maxDisplacement">128</VendorOption>
<VendorOption name="maxAngleDelta">30</VendorOption>
<VendorOption name="spaceAround">10</VendorOption>
<VendorOption name="conflictResolution">true</VendorOption>
Specifically, I am using the group option so that only one label is displayed
in segments with the same road address
As you can see in the attached image (Zoom Level 17) there is a single road
segment (multipart) between the two x marks (with pencil).
However the label is displayed three times, without even uing the repeat option
How can I handle this issue?
Thanks in advance,
Stephanos
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users