Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

[amenity-points] Some names wrap, some don't. #2294

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments
Closed

[amenity-points] Some names wrap, some don't. #2294

openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments

Comments

@openstreetmap-trac
Copy link

Reporter: Geochang scribe
[Submitted to the original trac issue database at 1.37pm, Thursday, 17th September 2009]

I've noticed that some names wrap vertically, almost with a line break on every word, and some don't wrap, making a long horizontal label.

For example:

http://osm.org/go/54z6C6pPp-

You can see Hyeseong Girls' Middle School, Gaenjiseu and Yeongnak Church render nice and compactly, but Eokjo Fish Restaurant, Arim Mutual Savings and Sangdong Gas Station render horizontally only.

I think that names should render in the same way for all POIs, in the vertical, wrapped style. Certainly, if there are two pieces of code doing the same thing, but they happen to do it slightly differently, they should be rationalised to avoid code duplication and the likelihood of bugs.

Oh, and my library here renders the name:
http://osm.org/go/54z6I5hHS--

But this one doesn't:
http://osm.org/go/54z6JAiF4--

Is it because it's a horizontal label and too long?

Thank you.

@openstreetmap-trac
Copy link
Author

Author: Ldp
[Added to the original trac issue at 10.35pm, Friday, 18th September 2009]

I agree about line breaks.

And the library is probably caused by the name clashing with the gate symbols. Should also be fixed if it's rendered multi line.

@openstreetmap-trac
Copy link
Author

Author: math1985
[Added to the original trac issue at 6.26pm, Tuesday, 10th June 2014]

Solution: let all POI names wrap.

@openstreetmap-trac
Copy link
Author

Author: math1985
[Added to the original trac issue at 3.08pm, Tuesday, 29th July 2014]

This is duplicate with gravitystorm/openstreetmap-carto#710.

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

No branches or pull requests

1 participant