NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I have a elongated building. The name of the building does not appear until it is zoomed in. I believe the algorithm is to check if the bounding box of the building bigger than the font before the font is displayed. However, if the building is elongated, the text can be displayed correctly at lower zoom factor is it is slightly rotated or placed elsewhere. Anything could be done?

Sorry that I could not upload the image as my karma is low :)

You can see it in http://www.openstreetmap.org/#map=17/1.33276/103.77563

Look for "Blk 56".

asked 21 Jun '14, 03:33

yoonghm's gravatar image

yoonghm
1111
accept rate: 0%

edited 21 Jun '14, 04:22

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

I find it interesting that the Blk 56 label is at the lhs.
You could try using a different rendered version of the osm such as this french one
http://layers.openstreetmap.fr/?zoom=17&lat=1.33276&lon=103.77563&layers=B0000
The MapQuest layers does a good job of the building # but other items are not rendered. http://www.openstreetmap.org/#map=18/1.33301/103.77519&layers=Q

(21 Jun '14, 05:36) nevw

The rendering rules for the "standard" style are located here https://github.com/gravitystorm/openstreetmap-carto

The relevant rules for rendering names are in https://github.com/gravitystorm/openstreetmap-carto/blob/master/addressing.mss

As you can see, if you tagged the name with the "name" tag, when it gets rendered depends on the zoom level and the size of the polygon, not on orientation.

If you need to render the names earlier I would suggest using tilemill and creating a custom version of the style.

permanent link

answered 21 Jun '14, 08:59

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

edited 21 Jun '14, 09:00

4

It also depends on collisions with icons (they are rendered before names). In this case the toilets block the rendering of the name of the building that contains them on zoom 17.

(21 Jun '14, 10:56) cartinus
2

@yoonghm: Simon mentions «"standard" style» – there are many other styles. And someone caring especially for building names could make his own style (for our OSM data). You can find a small selection of other styles by using the layers function of the osm.org homepage. All styles may change/improve in future, so please care that the data is correct, not that the standard style shows it in the way you would like to see it. And if you have a improvement suggestion you can contact the style programmers at the github page (new account needed).

(21 Jun '14, 12:04) aseerel4c26 ♦

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×341
×252
×219
×75

question asked: 21 Jun '14, 03:33

question was seen: 3,680 times

last updated: 21 Jun '14, 12:06

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum