Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I want to be able to draw labels with line. How can i do this?

Just like labels with line of some USA states in Google Maps, labels with red line in right :

Example from Google Maps

share|improve this question
1  
Welcome to GIS SE! Please add more details. An illustration perhaps? Your question is rather vague right now. –  R.K. Nov 16 '12 at 1:31
add comment

1 Answer 1

add a text symbolizer to your rule (the same way you label any other feature) - see http://docs.geoserver.org/stable/en/user/styling/sld-cookbook/lines.html#line-with-default-label for full details.

share|improve this answer
1  
Thanks, i didnt mean labels for lines, but lines for labels. –  bulend nakca Nov 16 '12 at 11:56
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.