Is there a way to query OpenStreetMap features?

3706
1
12-03-2015 02:14 PM
JamesSampica
New Contributor

On the OSM basemap there are some nice features like restaurants, parking, banks etc. I noticed on OpenStreetMap official website you can also edit attributes of these features to include Address, Hours, Capacity, etc. However these features are obviously not queryable since they are coming from a tile. Is there a way that this data can be queried to be displayed?

0 Kudos
1 Reply
TanyaHaddad
New Contributor III

OpenStreetMap has something called the Overpass API that allows you to query for any item in the OSM database:

Overpass API - OpenStreetMap Wiki

You should be able to use this service to request exactly what you want and return the vector data along will all available attributes (tags).