5774 shaares
305 results
tagged
data
The Overpass API (or OSM3S) is a read-only API that serves up custom selected parts of the OSM map data. It acts as a database over the web: the client sends a query to the API and gets back the data set that corresponds to the query.
example, getting state borders:
relation
["boundary"="administrative"]
["adminlevel"="2"]
["name:en"="People's Republic of China"];
(.;>;);
out body;