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 a WFS for addresses where geometry is a line with 2 points. Is it possible to have an SLD that draws a text (i.e. house number) along the line using the line as vector defining the text direction?

share|improve this question
up vote 2 down vote accepted

As far as I know rotating text is not possible in OpenLayers. You might be able to implement something yourself if you're familiar with javascript and openlayers code, but I don't think it's easy.

It seems like someone has tried this approach, see this ticket. With some luck the code provided there may work.

share|improve this answer

There is this tutorial about it, but it says it is only for GeoServer. I hope you use GeoServer :)

share|improve this answer
I'm not using GeoServer. I just use standard OpenLayers. – awe Apr 17 '13 at 9:41

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.