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

Chapter 9. Getting Raw OpenStreetMap Data

We've looked at some small-scale uses of OpenStreetMap data covering a single village. This is fine up to a point, but you need larger amounts of data than this for any reasonably serious application. There are many ways of getting at the raw data in the OpenStreetMap database, depending on how much you want, how often you want it, and how much processing you're prepared to do yourself. The main methods are:

  • Planet files
  • The main OpenStreetMap API
  • The Extended API (XAPI)

Each of these provides data in a different way, each with advantages and disadvantages. We'll discuss these in this chapter, and you should get an idea of which method will suit your application best.

As all of these methods provide data using ...

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