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 have several text layers in GeoServer, which are now shown as point layers with tiny graphic size and with labels (As mentioned in my previous question). All thses labels are, as expected, drawn horizontal. But I want them to be drawn at an angle, available in corresponding database table. I can not use simple rotation property, since it rotates all the labels at a specific angle. How can I accomplish this?

share|improve this question
up vote 4 down vote accepted

You can use the Rotation tag together with a PropertyName which lets you draw the label based on an angle specified in a corresponding database table:


You can see more about rotation and labeling here:

Labeling in GeoServer

share|improve this answer
Thanks a lot. it works... – thelastray May 9 '12 at 12:30

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.