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

The extended API (XAPI)

In addition to the normal OpenStreetmap API, there is an extended API (XAPI) that gives you the ability to query OpenStreetMap data for particular sets of data. For instance, you can request data that has specific tags, covers a specific area, or is used in a particular combination of primitive elements. It's the most versatile way of getting customized sets of data from OpenStreetMap, and if you don't have the resources to set up a local copy of the OpenStreetMap database, XAPI is your next best way of getting the data you need.

XAPI doesn't run on the main OpenStreetMap servers, but instead on separate machines, so that the main servers aren't overloaded. There are several instances of XAPI running at present, each with ...

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