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

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 '18, 16:50

vishy91's gravatar image

vishy91
666611
accept rate: 0%

edited 11 Oct '18, 19:22

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554


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 '18, 17:00

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

1

This worked. Thank You

(09 Oct '18, 20:41) vishy91

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:

×341
×263
×204
×199

question asked: 08 Oct '18, 16:50

question was seen: 6,588 times

last updated: 11 Oct '18, 19:22

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