Mapbox OpenStreetMap

OpenStreetMap is the free and editable map of the world, created and maintained by a huge international community. Mapbox Streets, our customizable map layer of streets, buildings, and places from all around the world, is powered by open data from OpenStreetMap. Anybody can create an account and start editing on within minutes.

Our data team updates OpenStreetMap based on quality analysis and customer feedback. Our principle is to work in the open, these mapping guides are primarily consolidated and maintained by our data team for various mapping projects and on-boarding new team members.

You are welcome to join one of our open mapping projects over on the issue queue and use these best practice mapping guides. These guides are licensed under Public Domain (CC0), if you would like to contribute or have an feedback on these, please feel free to raise an issue in this repository.

Useful Overpass queries

Mapping guides

Useful Overpass queries

Need Query
Newer than a given date [out:xml][timeout:600];(way["highway"](newer:"2015-05-30T07:00:00Z")(););out body;>;out skel qt;
Changes in a given time period [out:xml][timeout:600];(way["highway"](changed:"2015-05-14T07:00:00Z","2015-05-30T07:01:00Z")(););out body;>;out skel qt;
provide two dates and generate a difference between the two [diff: "2015-06-30T15:00:00Z","2015-09-21T15:00:00Z"][out:xml][timeout:25];(way["highway"](););out body;>;out skel qt;
extract edits of a user [out:json][timeout:25];(node(user:"ramyaragupathy")();way(user:"ramyaragupathy")();relation(user:"ramyaragupathy")(););out body;>;out skel qt;
extract a particular tag [out:json][timeout:25];(node["amenity"="hospital"]();way["amenity"="hospital"]();relation["amenity"="hospital"](););out body;>;out skel qt;
extract all amenities [out:json][timeout:25];(node["amenity"]();way["amenity"]();relation["amenity"](););out body;>;out skel qt;
find a particular tag without someother key value [out:json][timeout:25];(node["highway"="footway"]["footway"!~"."]();way["highway"="footway"]["footway"!~"."]();relation["highway"="footway"]["footway"!~"."](););out body;>;out skel qt;
query within query [out:json][timeout:250];((way()[highway='primary'];relation()[highway='primary'])->.a;node.a[name='Sand Hill Road'];);out body;>;out skel qt;
search for a tag in an area [out:json][timeout:250];(area[name="Palo Alto"];way(area)["building"];relation(area)["building"];);out body;>;out skel qt;