NOTICE: is being shutdown on 1st March 2024. Please use the OpenStreetMap Community Forum


This is my first time using Overpass.

I want a list of all the PoI within a bounding box.

I can get a list of all nodes using[out:json];node(51.7248487,-1.2328819,51.7249487,-1.2329819);out;

I just want the shops, cafes, bus stops, benches, etc - not the empty nodes. Is there any way to prune out all the nodes and just get the places / things?

asked 17 Aug '14, 16:00

Terence%20Eden's gravatar image

Terence Eden
accept rate: 0%

You have to realise that some POI (i.e. restaurants, etc.) are not represented by points, but by ways or even relations. The following query returns all amenities and shops in the visible box. Replace the BBox with the one you need.

permanent link

answered 17 Aug '14, 16:15

escada's gravatar image

accept rate: 21%


bus stops are not amenities, nor shops. So you might have to add highway=bus_stop and public_transport=stop_position

(17 Aug '14, 17:15) escada

If you get any result file from overpass-api or in format of raw OSM data in XML format, you can try osmconvert to produce a list of all POIs in CSV format.

Try also osmfilter if needed.

Search for CSV on this FAQ to find some more hints.

permanent link

answered 18 Aug '14, 14:49

stephan75's gravatar image

accept rate: 6%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 17 Aug '14, 16:00

question was seen: 8,806 times

last updated: 18 Aug '14, 14:49

NOTICE: is being shutdown on 1st March 2024. Please use the OpenStreetMap Community Forum