Why not ask your question on the new OpenStreetMap Community Forum?

I'm trying to understand how to extract data from overpass-turbo, but it's quite difficult for a newbie with my goal. I'm trying to find a quick way to: 1) isolate only cities with +100,000 inhabitants in Europe and North America 2) for each of them obtain 9 different parks (or any other POI, I mean it could even be 9 different squares)

For the moment the closest thing I've found is this example for a pub tour in Dublin. I don't ask you to write the code for me, I just need to know if it's feasible or not, so that I don't waste my time with an impossible task. Then of course if you can help me directly with queries it's even better!

Edit: it would be enough to have the possibility of extracting the 9 parks in every city of a given list, I mean even if it's not possible to select the cities from overpass, is it possible to give it a list of (as an example) 1000 cities?

asked 19 Mar '21, 16:09

sfngll's gravatar image

sfngll
11113
accept rate: 0%

edited 19 Mar '21, 16:50

Here's an Overpass query which provides a start (based on an example on the wiki): https://overpass-turbo.eu/s/15eN. There are numerous things which need tweaking with it (1 km from centre is not large enough, it doesn't limit the number of elements returned, it only works on place=city not all places over 100k, etc., etc.)

(20 Mar '21, 20:01) SK53 ♦

Thank you, this is helping a lot. Do you know if it's possible to set a limit to the no. of parks? Like "look for 10 parks around this point", without the full list of all parks in that area but just 10 random ones

(21 Mar '21, 16:20) sfngll

Nope, or I would have done it!

(21 Mar '21, 21:14) SK53 ♦
Be the first one to answer this question!
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:

×478
×360
×227
×180
×106

question asked: 19 Mar '21, 16:09

question was seen: 1,676 times

last updated: 21 Mar '21, 21:14

powered by OSQA