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

[amenity-points] text alignment for suboptimal for long and narrow features #2431

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

Comments

@openstreetmap-trac
Copy link

Reporter: dieterdreist
[Submitted to the original trac issue database at 12.28pm, Tuesday, 10th November 2009]

look here, the "pasetto del borgo" is a very long corridor, but the text is in 2 lines:
http://www.openstreetmap.org/?lat=41.903297&lon=12.461511&zoom=18&layers=B000FTF
it would be better to have it in one line (and probably also repeated or stretched).

@openstreetmap-trac
Copy link
Author

Author: Ldp
[Added to the original trac issue at 4.14pm, Tuesday, 10th November 2009]

Splitting in multiple lines is almost always the right choice for buildings/areas. We cannot detect* that this building is exceptionally long and narrow, and invoke other rendering rules on that basis.

The building involved, for reference:
http://www.openstreetmap.org/browse/way/23952274

  • Yet. Who knows what future developments in the render software will bring, but I have a feeling this won't be possible soon.

@openstreetmap-trac
Copy link
Author

Author: dieterdreist
[Added to the original trac issue at 4.38pm, Tuesday, 10th November 2009]

Replying to [comment:1 Ldp]:

Splitting in multiple lines is almost always the right choice for buildings/areas.

IMHO no, because this is ONE building, not several

We cannot detect* that this building is exceptionally long and narrow, and invoke other rendering rules on that basis.

you cannot detect it now, but maybe it would be worth to try to in the future. You don't have to solve this now, and sorry for misclassifying this as bug, it is an enhancement. Please keep this open as it helps to develop better rendering engines in the future.

The building involved, for reference:
http://www.openstreetmap.org/browse/way/23952274

  • Yet. Who knows what future developments in the render software will bring, but I have a feeling this won't be possible soon.
    might be

@openstreetmap-trac
Copy link
Author

Author: math1985
[Added to the original trac issue at 3.05pm, Friday, 30th May 2014]

I'm not sure if keeping it in one line would be better, especially for long but diagonal buildings.

In any case, we cannot solve this in the stylesheet for now, so the issue does not belong in this component. I will therefore close the issue.

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