Opened 13 years ago

Closed 5 years ago

#348 closed enhancement (duplicate)

[placenames] Word-wrap place=*

Reported by: David Earl Owned by: mapnik-team@…
Priority: minor Milestone:
Component: mapnik Version:
Keywords: Cc:

Description

A long caption, such as "Browns Field Youth And Community Centre" in the middle of http://labs.metacarta.com/osm/?lat=6807229.85682&lon=16195.33102&zoom=14&layers=B0 would be better wrapped by word. I see you do this elsewhere, e.g. "Trinity Hall Farm Industrial Estate" on NE of the previous example - I think this should apply everywhere.

Change History (12)

comment:1 Changed 13 years ago by David Earl

Also, would be helpful for those nodes which don't have an icon to put a small blob atth enode to indicate where the caption refers to.

comment:2 Changed 12 years ago by Bruce Cowan

Component: adminslippy_map

comment:3 Changed 11 years ago by Tom Hughes

Owner: changed from crschmidt to Tom Hughes

The text is now wrapped, but the second point about a dot marker being a good idea still stands.

comment:5 Changed 11 years ago by Tom Hughes

Owner: changed from Tom Hughes to steve8@…

Could the dot be added with the current technology? or does this need an enhancement to mapnik?

comment:6 Changed 10 years ago by Ldp

Owner: changed from steve8@… to mapnik-team@…

Current mapnik can handle this, as the dot would really be just another icon, with the text offset from that.

Whether it's desirable is a matter of cartographic style.

comment:7 Changed 9 years ago by eda@…

What's the rule for when the text is wrapped, in general? I was thinking about the estate names shown in

<http://www.openstreetmap.org/?lat=51.4762&lon=-0.072&zoom=14&layers=B000FTF>

comment:8 Changed 9 years ago by Ldp

If and where things wrap differs per type of object involved.

In the case of these estate names, it's place=locality. Place=* is currently not wrapped at all.

comment:9 Changed 9 years ago by eda@…

Could I ask you to consider turning on word-wrap for place= names?

comment:10 Changed 8 years ago by Ldp

Priority: majorminor
Summary: long captions would be better wrappedWord-wrap place=*
Type: defectenhancement

comment:11 Changed 5 years ago by math1985

Summary: Word-wrap place=*[placenames] Word-wrap place=*

comment:12 Changed 5 years ago by math1985

Resolution: duplicate
Status: newclosed

This is now also being discussed on Github:

https://github.com/gravitystorm/openstreetmap-carto/issues/378

Therefore, I will close the issue here.

Note: See TracTickets for help on using tickets.