Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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 a text symbolizer to your rule (the same way you label any other feature) - see for full details.

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

Your Answer


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.