Opened 11 years ago

Closed 7 years ago

#1644 closed enhancement (wontfix)

osmarender: render areas with label

Reported by: hawke@… Owned by: Knut Arne Bjørndal
Priority: minor Milestone:
Component: osmarender Version:
Keywords: Cc:


It would be great if all the place=* areas had names rendered according to the size of the area, and if possible what other place areas were in proximity to them.

Most likely, place=island should be labeled in italics, and place=city/town/village/hamlet/suburb should be labeled in regular type.

It would also be nice if labels for areas could take priority over labels for nodes, when the labels would otherwise overlap.

Change History (4)

comment:1 Changed 11 years ago by hawke@…

Labels for natural=water would be good candidates for this too. See for example, Lake Joanis at

comment:2 Changed 11 years ago by Knut Arne Bjørndal

1) Osmarender cannot (at least not yet) set size depending directly on the size of the feature - it would be a nice feature though. What it can do is inhibit drawing of labels for features of less than a certain size 2) Adjusting size depending on size of nearby features is not possible in osma. Such a feature would be part of a very good label placement algorithm, which I doubt osmarender will ever get - it may however be doable as a postprocessor. 3) Like I mentioned on IRC it can't inhibit drawing of the node caption if there is also an area caption. I consider this a feature since duplicated data is bad, and the node should be removed in the data. 4) I don't understand what's happened to Lake Joanis, I would expect the minSize algorithm to inhibit drawing of that caption. Maybe it's a bad render client, or some limit values or something in the stylesheet needs to be adjusted.

comment:3 Changed 11 years ago by hawke@…

also consider: landuse=forest,amenity=university

comment:4 Changed 7 years ago by iandees

Resolution: wontfix
Status: newclosed

Cleaning aging tickets.

Note: See TracTickets for help on using tickets.