O'Reilly logo

OpenStreetMap by Jonathan Bennett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Automatically updating local data from diffs

Planet files take a long time to download and process, so if you can avoid doing it every week, you'll save yourself a lot of time and bandwidth. Fortunately, Osmosis can help you by automating much of the work involved using its replication tasks.

Given a suitably configured system, Osmosis will download and apply all the changes to the data since a planet file was created, creating a copy that's almost as up-to-date as the main OpenStreetMap database. Run the same commands regularly, and, in theory, you will never need to download another planet file.

In this section, we'll see how to:

  • Prepare your system for replication
  • Run the initial update
  • Schedule further updates to your data

Preparing your system ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required