NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

1
1

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

http://overpass-api.de/api/interpreter?data=[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
46225
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 http://overpass-turbo.eu/s/4BV in the visible box. Replace the BBox with the one you need.

permanent link

answered 17 Aug '14, 16:15

escada's gravatar image

escada
19.0k16166302
accept rate: 21%

2

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 overpass-turbo.eu 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

stephan75
12.6k556210
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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×483
×290
×181

question asked: 17 Aug '14, 16:00

question was seen: 8,846 times

last updated: 18 Aug '14, 14:49

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum