Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

text wrapping causes the elevation to disappear #1104

Closed
nebulon42 opened this issue Oct 30, 2014 · 5 comments
Closed

text wrapping causes the elevation to disappear #1104

nebulon42 opened this issue Oct 30, 2014 · 5 comments

Comments

@nebulon42
Copy link
Contributor

Is there any way how the number of lines of the label can be detected so that the elevation can be moved accordingly?
edit: affects natural=peak

@matkoniecz
Copy link
Contributor

Maybe join name, newline and elevation in SQL? It would have also effect of ensuring that either both elevation and name will be displayed or neither.

It affects also tourism_alpine_hut and amenity_shelter.

@matkoniecz matkoniecz added this to the Bugs and improvements milestone Oct 30, 2014
@matkoniecz matkoniecz self-assigned this Oct 30, 2014
@matthijsmelissen
Copy link
Collaborator

Does Mapnik handle newlines or '\n' within text?

@nebulon42 nebulon42 changed the title text wrapping for peaks causes the elevation to disappear text wrapping causes the elevation to disappear Oct 30, 2014
@matkoniecz
Copy link
Contributor

Does Mapnik handle newlines or '\n' within text?

I am unsure about details but it seems #972 managed to achieve with newline that makes my proposed solution possible.

@matthijsmelissen
Copy link
Collaborator

@mkoniecz Is this still open?

@matkoniecz
Copy link
Contributor

@math1985 Yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants