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”
*/
[out:json][timeout:25];
// gather results
(
  // query part for: “type=route and route=bus”
  relation["type"="route"]["route"="bus"](-56.236095,-34.927072,-56.094131,-34.849064);
);
// 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

mel
16225
accept rate: 0%

edited 04 Apr '18, 21:25

1

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

permanent link

answered 04 Apr '18, 20:03

Hjart's gravatar image

Hjart
2.8k42455
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

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:

×125
×23

question asked: 04 Apr '18, 17:54

question was seen: 3,219 times

last updated: 04 Apr '18, 21:25

powered by OSQA