Opened 10 years ago

Closed 5 years ago

#2431 closed enhancement (wontfix)

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

Reported by: dieterdreist Owned by: mapnik-team@…
Priority: minor Milestone:
Component: mapnik Version:
Keywords: text alignment Cc:

Description

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

Change History (4)

comment:1 Changed 10 years ago by Ldp

Resolution: wontfix
Status: newclosed

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.

comment:2 in reply to:  1 Changed 10 years ago by dieterdreist

Resolution: wontfix
Status: closedreopened
Type: defectenhancement

Replying to 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

comment:3 Changed 5 years ago by math1985

Summary: text alignment for suboptimal for long and narrow features[amenity-points] text alignment for suboptimal for long and narrow features

comment:4 Changed 5 years ago by math1985

Resolution: wontfix
Status: reopenedclosed

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.

Note: See TracTickets for help on using tickets.