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

I am using OSM in my website. Now i want to use the images from my server and not from OSM. I have downloaded PBF files from the following link,

PBF DOWNLOAD PAGE Now i need to point the tiles to the downloaded pbf file. How and where i need to do that. In openLayers Js or where i need to do and what i need to do exactly for this?

asked 13 Aug '13, 12:04

Vinothbabu%2013's gravatar image

Vinothbabu 13
accept rate: 0%

Have a look at the serving tiles section of the switch2osm site which explains how to set up a tile server using PBF data that you have downloaded. Then have a read of the using tiles section for how to use a Javascript framework such as OpenLayers to display the tiles.

permanent link

answered 13 Aug '13, 12:47

SomeoneElse's gravatar image

SomeoneElse ♦
accept rate: 16%

Can i get/download all tiles in PNG? If possible where can i download it?

(13 Aug '13, 13:05) Vinothbabu 13

You cannot download all tiles. You need to set up your own tile server and produce them yourself.

(13 Aug '13, 13:09) Frederik Ramm ♦

I didnt get you Mr.Frederik? How can i set up it? If i set up it then total file size will be min how much GB?

(13 Aug '13, 13:34) Vinothbabu 13

SomeoneElse already gave you a link with instructions for setting up your own tile server. The wiki has an overview of the tile disk usage but your personal tile server will most probably require less storage. Note that your DB will also consume additional disk space. The previously mentioned instructions contain a System requirements section.

(13 Aug '13, 14:11) scai ♦

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]( "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: 13 Aug '13, 12:04

question was seen: 9,696 times

last updated: 13 Aug '13, 14:14

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