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

OpenStreetMap's REST API

The main OpenStreetMap Application Programming Interface (API) is a web service that provides direct access to the OpenStreetMap database, and for virtually all purposes is the only way of accessing the database directly. All the editors we considered in Chapter 5 use this API to download and upload data.

The version of any feature you get from the main API is always the most up-to-date and is authoritative; that is to say, if there's a conflict between any OpenStreetMap data you have from another source and the API, you should always use the API data. The main API is also currently the only way of programmatically examining any feature's editing history and a particular user's actions, although development work is taking ...

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