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

Hi,

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
235303136
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 ♦

http://weait.com/content/build-your-own-openstreetmap-server

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 ♦
13.8k16103198
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

NicolasDumoulin
3.3k42256
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

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:

×191
×30
×20
×15

question asked: 16 Oct '11, 08:16

question was seen: 12,530 times

last updated: 17 Oct '11, 08:41

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