[timeout:300][out:json];
(
node(around:1000,51.52580,-2.56230)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
way(around:1000,51.52580,-2.56230)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
rel(around:1000,51.52580,-2.56230)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
node(around:1000,51.52580,-2.56230)["building"="train_station"][~"^(addr:housenumber|.*name.*)$"~".",i];
way(around:1000,51.52580,-2.56230)["building"="train_station"][~"^(addr:housenumber|.*name.*)$"~".",i];
rel(around:1000,51.52580,-2.56230)["building"="train_station"][~"^(addr:housenumber|.*name.*)$"~".",i];
node(around:1000,51.52580,-2.56230)[building=yes][~"^(addr:housenumber|.*name.*)$"~".",i];
way(around:1000,51.52580,-2.56230)[building=yes][~"^(addr:housenumber|.*name.*)$"~".",i];
rel(around:1000,51.52580,-2.56230)[building=yes][~"^(addr:housenumber|.*name.*)$"~".",i];
node(around:1000,51.52580,-2.56230)[landuse=railway][name];
way(around:1000,51.52580,-2.56230)[landuse=railway][name];
rel(around:1000,51.52580,-2.56230)[landuse=railway][name];
node(around:1000,51.52580,-2.56230)["public_transport"="platform"][~"^(addr:housenumber|.*name.*)$"~".",i];
way(around:1000,51.52580,-2.56230)["public_transport"="platform"][~"^(addr:housenumber|.*name.*)$"~".",i];
rel(around:1000,51.52580,-2.56230)["public_transport"="platform"][~"^(addr:housenumber|.*name.*)$"~".",i];
node(around:1000,51.52580,-2.56230)["public_transport"="station"][~"^(addr:housenumber|.*name.*)$"~".",i];
way(around:1000,51.52580,-2.56230)["public_transport"="station"][~"^(addr:housenumber|.*name.*)$"~".",i];
rel(around:1000,51.52580,-2.56230)["public_transport"="station"][~"^(addr:housenumber|.*name.*)$"~".",i];
node(around:1000,51.52580,-2.56230)["public_transport"="stop_area"][~"^(addr:housenumber|.*name.*)$"~".",i];
way(around:1000,51.52580,-2.56230)["public_transport"="stop_area"][~"^(addr:housenumber|.*name.*)$"~".",i];
rel(around:1000,51.52580,-2.56230)["public_transport"="stop_area"][~"^(addr:housenumber|.*name.*)$"~".",i];
node(around:1000,51.52580,-2.56230)["public_transport"="stop_position"][~"^(addr:housenumber|.*name.*)$"~".",i];
way(around:1000,51.52580,-2.56230)["public_transport"="stop_position"][~"^(addr:housenumber|.*name.*)$"~".",i];
rel(around:1000,51.52580,-2.56230)["public_transport"="stop_position"][~"^(addr:housenumber|.*name.*)$"~".",i];
node(around:1000,51.52580,-2.56230)[railway=facility][name];
way(around:1000,51.52580,-2.56230)[railway=facility][name];
rel(around:1000,51.52580,-2.56230)[railway=facility][name];
node(around:1000,51.52580,-2.56230)[railway=halt][name];
way(around:1000,51.52580,-2.56230)[railway=halt][name];
rel(around:1000,51.52580,-2.56230)[railway=halt][name];
node(around:1000,51.52580,-2.56230)["railway"="historic_station"][name];
way(around:1000,51.52580,-2.56230)["railway"="historic_station"][name];
rel(around:1000,51.52580,-2.56230)["railway"="historic_station"][name];
node(around:1000,51.52580,-2.56230)[railway=station][name];
way(around:1000,51.52580,-2.56230)[railway=station][name];
rel(around:1000,51.52580,-2.56230)[railway=station][name];
node(around:1000,51.52580,-2.56230)["railway"="tram_stop"][name];
way(around:1000,51.52580,-2.56230)["railway"="tram_stop"][name];
rel(around:1000,51.52580,-2.56230)["railway"="tram_stop"][name];
rel(around:1000,51.52580,-2.56230)[site=railway][~"^(addr:housenumber|.*name.*)$"~".",i];
rel(around:1000,51.52580,-2.56230)["site"="railway_station"][~"^(addr:housenumber|.*name.*)$"~".",i];
rel(around:1000,51.52580,-2.56230)[site=station][~"^(addr:housenumber|.*name.*)$"~".",i];
rel(around:1000,51.52580,-2.56230)[type=site][~"^(addr:housenumber|.*name.*)$"~".",i];
);
out center tags;
Patchway railway station is on the South Wales Main Line, serving the town of Patchway and village of Stoke Gifford in South Gloucestershire, England. It is 6 miles (10 km) from Bristol Temple Meads. Its three letter station code is PWY. It is managed by Great Western Railway, who provide all train services at the station; there is generally a train every hour in each direction between Cardiff Central and Taunton.
found a single match candidate
| station (Q12819564) | public_transport=station |
| building (Q41176) | building=yes |
| public transport stop (Q548662) | public_transport=platform, public_transport=stop_position |
| railway station (Q55488) | railway=station |
| railway facility (Q800279) | landuse=railway |