No need to learn the Overpass Turbo Wizard in order to use it

At first I asked [major search engine]

overpass turbo query for bus stops with 市場 in their name in taichung?

It spit out a rather complicated answer.

Then I tried the Wizard, but it was very picky, so instead of learning the syntax, I hit the jackpot by asking [major search engine]

how to make “bus stops with 市場 in their name in taichung” understandable to overpass turbo wizard

and then I fed the result of that into the Wizard,

/*
This has been generated by the overpass-turbo wizard.
The original search was:
“highway=bus_stop and name~"市場" in "Taichung"”
*/
[out:json][timeout:25];
// fetch area “Taichung” to search in
{{geocodeArea:Taichung}}->.searchArea;
// gather results
nwr["highway"="bus_stop"]["name"~"市場"](area.searchArea);
// print results
out geom;

which can’t be beat!

If you want to catch PTv2 platforms too, not just objects tagged highway=bus_stop, I’d use:

[out:json][timeout:25];

{{geocodeArea:Taichung}}->.searchArea;

(
  nwr["highway"="bus_stop"]["name"~"市場"](area.searchArea);
  nwr["public_transport"="platform"]["bus"="yes"]["name"~"市場"](area.searchArea);
);

out geom;
2 Likes