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

I am trying to locate businesses in a certain area bounded by specific streets .

asked 21 Jul '14, 18:44

ctrumbach's gravatar image

ctrumbach
1111
accept rate: 0%


You could try writing an overpass query, e.g. http://overpass-turbo.eu/s/4i9 This query looks for all shops, restaurants and pubs in the current view. This does not solve your problem of an area "bounded by streets". This is not possible with the overpass language as far as I know.

Also, what is "all businesses"? Shops can easily be found with shop=* (as in the example I gave you), crafts could be done in a similar way. But this does not work for businesses in the amenity group: cafe, restaurant, pub etc.

I hope that this gives you at least an idea of what is possible with Overpass.

You could of course also import OSM data into a database and start writing a query against the database.

permanent link

answered 21 Jul '14, 20:29

escada's gravatar image

escada
19.0k16166302
accept rate: 21%

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:

×15
×2
×1
×1

question asked: 21 Jul '14, 18:44

question was seen: 7,004 times

last updated: 21 Jul '14, 20:29

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