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 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
add comment

2 Answers 2

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
add comment

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
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.