Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

TextSymbolizer: allow to set blank space after the text, when placement is "line" #848

Closed
artemp opened this Issue · 3 comments

2 participants

@artemp
Owner

When placement is "line" in TextSymbolizer and there are more texts on one line to be rendered, the texts can melt together and make the map confusing. It should be possible to set blank space at the end of the text, where no other text will be rendered.

See the image: text labels for cycleways "A2", "A1" and "2" are too close together, that it seems like cycleways "A22", "2A2", "2A1"...

[[Image(bedhgeha.png)]]

@artemp
Owner

[springmeyer] have you tried the 'spacing' parameter?

@artemp
Owner

[Petr Dlouhy] Yes, the symbolizer element looks like:

{{{

}}}

The problem is, that the text originates from two (or more) DB lines and the text is placed in non-overlaping position by Mapnik.

@springmeyer
Owner

This is possible since Mapnik 2.2, just do [text]+' '

@springmeyer springmeyer closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.