Why not ask your question on the new OpenStreetMap Community Forum?


I am using my own tiles. How to increase font size of placenames being displayed on map?

How to add scale?

asked 16 Oct '11, 08:16

Reshma%20Maner's gravatar image

Reshma Maner
accept rate: 0%

It would help if you could add a link to the instructions that you followed to create those tiles - that people will know what tools to give advice about.

(16 Oct '11, 11:02) SomeoneElse ♦


I have used followed insructions given on this link. I am using mapnik to generate tiles.

(16 Oct '11, 11:04) Reshma Maner

The font size comes from the style file osm.xml. This includes several lines on the form "<textsymbolizer name="name" fontset_name="bold-fonts" size="11"/>". You can edit the size parameter in the wanted areas to generate a new style with other font sizes.

permanent link

answered 16 Oct '11, 13:19

Gnonthgol's gravatar image

Gnonthgol ♦
accept rate: 16%

For the scale, if you are using OpenLayers, you have to add the ScaleLine control

permanent link

answered 17 Oct '11, 08:41

NicolasDumoulin's gravatar image

accept rate: 13%

Your answer
toggle preview

Follow this question

By Email:

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



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:


question asked: 16 Oct '11, 08:16

question was seen: 11,715 times

last updated: 17 Oct '11, 08:41

powered by OSQA