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

I want to create one tile server that is having data for India only. Can it be possible?

asked 16 Mar '16, 07:07

reddemonfox's gravatar image

reddemonfox
26112
accept rate: 0%

edited 16 Mar '16, 19:12

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554


switch2osm.org has instructions on setting up tile servers, and frequently mentions ways to load smaller extracts only.

permanent link

answered 16 Mar '16, 07:54

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

thank you but could you please give me link for the same because m not able to find a clear solution for that, Thankyou

(16 Mar '16, 11:02) reddemonfox
4

Check out this step-by-step guide: https://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/

When you come to "Loading data into your server" do not choose the planet.osm file but a country extract (e.g. http://download.geofabrik.de/asia/india-latest.osm.pbf for India) and adjust the filenames correspondingly.

(16 Mar '16, 11:12) jot

For users who are looking for such requirement. Here is simple solution to create all openstreetmap tiles for a single country osm-for-my-country. osm-for-my-country is a stack of all OSM related packages and has many scripts/commands for all tasks on a Linux machine. These are the tasks which can be achieved by this package:

  • Install all necessary software like osm2pgsql, postgres, mapnik, kosmtik etc

  • Download your country data

  • Download and install map style openstreetmap-carto

  • Create all tiles for your country

  • Update tiles on daily basis

  • Serve tiles with node.js or you can serve these offline map tiles with any simple http serevr or apache

permanent link

answered 18 Mar '17, 15:46

Gagan's gravatar image

Gagan
3053515
accept rate: 14%

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:

×204
×83
×58
×57

question asked: 16 Mar '16, 07:07

question was seen: 5,247 times

last updated: 18 Mar '17, 15:46

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