OpenStreetMap (OSM) POI Tools and API – Resources

openstreetmappoint-of-interest

Currently I'm working with OSM. I just need to use it's POI tools/API – https://wiki.openstreetmap.org/wiki/POI_tools/API in order to receive data in json format. But I can't understand what the URL for the request to API. In the wiki there is example like: /tag/amenity/restaurant/all/ids.json?bbox= [your bbox]

Please, could anyone provide me a really working example with API url requst?

I'm just confused how all this OSM works.

Best Answer

Looks like you stumbled upon some dead project (POI tools). What are you really trying to achieve?

Take a look Overpass API instead. The Overpass_API Language_Guide has lots of useful examples for retrieving specific POIs in a given area.

There is also a nice frontend available: https://overpass-turbo.eu/. Try using the wizward and search for simple tags like amenity=restaurant. Example: https://overpass-turbo.eu/s/yR6. Check the export button as well as the Overpass API documentation about various output formats.

Related Question