[Geoserver-users] Issues with labeling Line geometry

Hi,

I am having issues with Labelling my Line geometry shp file. I have a shp file for highways and labelled it, but its not labelling it properly. Labels are missing in some places as you can see in the attachment. I just want to label to be displayed uniformly across the map.
Here is the contents of my sld file.

#999999 2.2 #fcbe44 2 round NAME Arial 9 normal normal 0 1.5 #fcbe44 #000000 true yes 15 90 15

1.jpg

The style is fine, and the rendering is working as designed. It’s just that most of the road segments are too short to have their labels displayed at that scale. I assume the labels start appearing as you zoom in?

One thing that might increase the number of labels displayed is to add the “labelAllGroup” option:

http://docs.geoserver.org/stable/en/user/styling/sld-reference/labeling.html#labelallgroup

On Tue, Dec 11, 2012 at 8:29 AM, Subbu <maney1984@anonymised.com> wrote:

Hi,

I am having issues with Labelling my Line geometry shp file. I have a shp file for highways and labelled it, but its not labelling it properly. Labels are missing in some places as you can see in the attachment. I just want to label to be displayed uniformly across the map.
Here is the contents of my sld file.

#999999 2.2 #fcbe44 2 round NAME Arial 9 normal normal 0 1.5 #fcbe44 #000000 true yes 15 90 15

LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Martin Davis
OpenGeo - http://opengeo.org
Expert service straight from the developers.