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

0
1

I have the idea to setup my own Server with osm data so i dont have to take the server power from osm to download my maps to my android phone (locus). as an "output" i want to use the data on locus in sqlite format, not tiles.

i tried to set up an ubuntu machine with help of the following instructions: http://wiki.openstreetmap.org/wiki/The_Rails_Port http://wiki.openstreetmap.org/wiki/Rails_on_Ubuntu http://weait.com/content/build-your-own-openstreetmap-server

all i get to now is what you can see here: http://217.92.52.58/ im kinda stuck now and hope to get some help over here

asked 13 May '11, 16:39

sebbo's gravatar image

sebbo
1111
accept rate: 0%


As I understand it Locus caches tiles rather than vector data in its sqlite database. You do not need the rails port to render tiles, just Postgres+Postgis and Mapnik are required.

For a limited area you might choose to generate all tiles using the generate_tiles.py python script provided with mapnik. For larger areas some kind of selectivity for tile generation is useful using mod_tile and renderd/tirex.

permanent link

answered 13 May '11, 17:37

SK53's gravatar image

SK53 ♦
28.1k48268433
accept rate: 22%

so i just need this: http://weait.com/content/build-your-own-openstreetmap-server

but how do i continue after that. i dont get it on how to use the generate_tiles.py

permanent link

answered 13 May '11, 18:10

sebbo's gravatar image

sebbo
1111
accept rate: 0%

I cant remember if you change the params in the file or add them on the command line, but basically you choose a bounding box + two tile levels and it will generate all the tiles for those levels & bbox. You need to say which directory to use (usually tiles in the mapnik root). A useful set might be from z10 to z13 for a 1 degree square.

(13 May '11, 19:01) SK53 ♦

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:

×181
×123
×51
×6
×6

question asked: 13 May '11, 16:39

question was seen: 16,788 times

last updated: 13 May '11, 19:01

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