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

osmarender: render areas with label #1644

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

osmarender: render areas with label #1644

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

Comments

@openstreetmap-trac
Copy link

Reporter: hawke[at]hawkesnest.net
[Submitted to the original trac issue database at 9.06am, Wednesday, 11th March 2009]

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.

@openstreetmap-trac
Copy link
Author

Author: hawke[at]hawkesnest.net
[Added to the original trac issue at 3.23pm, Friday, 13th March 2009]

Labels for natural=water would be good candidates for this too. See for example, Lake Joanis at http://www.informationfreeway.org/?lat=44.530497991814386&lon=-89.57463447393998&zoom=12&layers=B0000F000F

@openstreetmap-trac
Copy link
Author

Author: bob[at]cakebox.net
[Added to the original trac issue at 4.11pm, Friday, 13th March 2009]

  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.

@openstreetmap-trac
Copy link
Author

Author: hawke[at]hawkesnest.net
[Added to the original trac issue at 4.39pm, Friday, 13th March 2009]

also consider: landuse=forest,amenity=university

@openstreetmap-trac
Copy link
Author

Author: iandees
[Added to the original trac issue at 9.10pm, Monday, 9th September 2013]

Cleaning aging tickets.

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