I have successfully built my tile server by following this link (https://switch2osm.org/manually-building-a-tile-server-18-04-lts/ ) and open layers for viewing the tiles. How do I keep automate the process of updating my tile server periodically from OpenStreetMap server? I couldn't find any tutorial related to the same.

P.s. I read that Mapnik has tools that pulls data from the OpenStreetMap periodically but could not figure out how to get it up and running. I also tried to do it using the updating section of (https://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/ ) but it wasn't helpful too.

asked 08 Oct, 16:50

vishy91's gravatar image

vishy91
5127
accept rate: 0%

edited 11 Oct, 19:22

aseerel4c26's gravatar image

aseerel4c26 ♦
31.6k15234541


There are some instructions here. One of these days I'll actually update the switch2osm site with those as well :)

The map style used higher up that wiki page is different to OSM's standard style, but updating the database should work fine.

A couple of notes on the process:

The "regional" stuff is needed if you only want to apply updates to OSM within the area that you first imported data. You'll want to edit the lat and long values within openstreetmap-tiles-update-expire to reflect your area of interest (the example file has an area for Britain and Ireland in it).

If you get any other errors add a comment back here (perhaps create a gist and link to it if there's lots of error log), or contact someone on #OSM on IRC - the chances are that there will be someone familiar with the process in that channel.

permanent link

answered 08 Oct, 17:00

SomeoneElse's gravatar image

SomeoneElse ♦
31.0k62321714
accept rate: 15%

1

This worked. Thank You

(09 Oct, 20:41) vishy91
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:

×301
×179
×157
×130

question asked: 08 Oct, 16:50

question was seen: 241 times

last updated: 11 Oct, 19:22

powered by OSQA