hi I'm using overpass turbo and im trying to get all the node in this bounded box using recurse poly I tried this code

//[out:json][timeout:25][bbox:40.73112,-73.89061,40.73391,-73.88807];
way(poly:"40.73112,-73.89061,40.73391,-73.88807")
node(w);
out center;

but it gives me an error how can I solve it

asked 03 Jan, 07:23

rabeeqasem's gravatar image

rabeeqasem
313511
accept rate: 0%


In the future, when asking for help it is generally good to specify exactly what the error message is that you receive, rather than "it gives me an error".

You say you want to get all the nodes in a given bounding box.

The query to use for that would be

node  (40.73112,-73.89061,40.73391,-73.88807);
out;

No ways or recursion involved.

permanent link

answered 03 Jan, 14:08

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
77.9k886911204
accept rate: 24%

Your solution is provided in the error dialog: "at least 3 lat/lon float value pairs must be provided.", but you don't need it. If you want nodes of ways:

[bbox:40.73112,-73.89061,40.73391,-73.88807];
way;
node(w);
out;

Else use Fredrik's solution.

Plus you were missing a semicolon.

permanent link

answered 03 Jan, 14:34

DaveF's gravatar image

DaveF
2.4k6782111
accept rate: 12%

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:

question asked: 03 Jan, 07:23

question was seen: 304 times

last updated: 03 Jan, 14:34

Related questions

powered by OSQA