I found this similar question. I tried this on my queries, but none worked as when using {{bbbox}}.

My coordinates are the following: -56.236095,-34.927072,-56.094131,-34.849064, which were generated using http://lxbarth.com/bbox/

In the following query, if I use {{bbox}} instead of the coordinates, I do get the corresponding information. If I put the coords, then the results are empty.

This has been generated by the overpass-turbo wizard.
The original search was:
“type=route & route=bus”
// gather results
  // query part for: “type=route and route=bus”
// print results
out body;
out skel qt;

EDIT ANSWER: The coords were written in a wrong order. That is why I had no results.

asked 04 Apr '18, 17:54

mel's gravatar image

accept rate: 0%

edited 04 Apr '18, 21:25


You can look in the "Data" tab to see what coordinates the {{bbox}} is putting in, just to make sure they match up reasonably closely with the coordinates you are using in the query.

(04 Apr '18, 21:24) maxerickson

for prosperity; Overpass API value order is: minimum latitude, minimum longitude, maximum latitude, maximum longitude ~ from Bounding Box.

(14 Feb, 18:46) arkriger

permanent link

answered 04 Apr '18, 20:03

Hjart's gravatar image

accept rate: 18%

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](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: 04 Apr '18, 17:54

question was seen: 8,789 times

last updated: 14 Feb, 18:46

powered by OSQA