Contents
Why do we use xAPI in OpenStreetMap?
It offers search queries for some common simple use cases and helps to take load off the main API. In particular, it reimplements the standard map request such that it can be performed much faster.
Is the OSM E X tended API compatible with xAPI?
Legacy XAPI applications can still leverage the XAPI Compatibility Layer, new projects should use Overpass QL instead. The OSM E x tended API (or xapi, pronounced zappy) is a read-only API protocol, based on a modified version of the OSM main API, that provides enhanced search and querying capabilities.
Is there an overpass API endpoint for OpenStreetMap?
An Overpass API endpoint is also available for Open Historical Map . Queries to the Overpass API are in XML or Overpass QL form. See the semantics explained below. You can use the Overpass turbo frontend to create and display queries for the above-mentioned Overpass API instances. Overpass API also provides permanent links .
How is the map query in OpenStreetMap similar to the API query?
The Map query is identical to the main API map query and returns: All nodes that are inside a given bounding box and any relations that reference them. All ways that reference at least one node that is inside a given bounding box, any relations that reference them [the ways], and any nodes outside the bounding box that the ways may reference.
Can a xAPI url be used in a web browser?
Xapi URLs can be used from within any web-browser, however a simple query can return several Mb of data which can overwhelm some browsers. It is recommended that a tool such as wget or curl be used with the output directed to a file.
Is it possible to use xAPI with overpass QL?
XAPI is no longer recommended as none of the original native installations are available anymore. Legacy XAPI applications can still leverage the XAPI Compatibility Layer, new projects should use Overpass QL instead.
Who is the creator of the xAPI service?
The original XAPI was created using GT.M (formerly MUMPS) by User:80n. There were multiple instances of the xapi service running on several different servers. Each server could be accessed directly or via a redirect which was used to direct the request to a suitable server of its choosing.