Dear Sir, I want to render tiles for India only. I tried India coordinates in generate_tiles.py. But it does not generate tiles. Currently, generate_tiles.py contains following lines. What should I change if I need tiles for India only.

bbox = (-180.0,-90.0, 180.0,90.0) render_tiles(bbox, mapfile, tile_dir, 0, 15, "India")

should required anything more to generate India Tiles ?

asked 05 Feb '12, 06:08

baban's gravatar image

baban
41447
accept rate: 0%

edited 06 Feb '12, 08:19

NicolasDumoulin's gravatar image

NicolasDumoulin
3.3k42256


First, a correct bbox for India should be (66.4,5.2,90.5,36.2).

Then, which procedure have you followed for your attempt? Have you installed mapnik? Have you downloaded OSM data, and imported it into pgsql? If not, you must read the mapnik documentation on the wiki. If you're aware of that, do you have any message output by the python script that can give us some hint for helping you?

permanent link

answered 06 Feb '12, 08:18

NicolasDumoulin's gravatar image

NicolasDumoulin
3.3k42256
accept rate: 13%

edited 06 Feb '12, 11:16

SomeoneElse's gravatar image

SomeoneElse ♦
32.3k63335756

2

To add to what NicolasDumoulin said, you might find that the "serving tiles" instructions at switch2osm might be a little easier to follow than the various wiki pages (which might not have been written with each other in mind).

(06 Feb '12, 11:19) SomeoneElse ♦
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:

×313
×233
×22

question asked: 05 Feb '12, 06:08

question was seen: 3,549 times

last updated: 06 Feb '12, 11:19

powered by OSQA