Hi folks,
I used this statement to query the Overpass API for several different tags (railway=station
and railway=halt
) in the same relation.
[out:json][timeout:120];
relation(4189512);
map_to_area;
nwr[railway=station][usage!=tourism](area)->.stations;
nwr[railway=halt][usage!=tourism](area)->.halts;
//union block statement
(
.stations;
.halts;
);
out center body;
Next I like to combine the following 2 statements for a specific tag (railway=station
) that are only distinguished by the relation into a single statement.
- Statement:
[out:json][timeout:120];
relation(4189513);
map_to_area;
(
nwr[railway=station][usage!=tourism](area);
);
out center body;
- Statement:
[out:json][timeout:120];
relation(4189512);
map_to_area;
(
nwr[railway=station][usage!=tourism](area);
);
out center body;
Does anyone has an idea how to combine these 2 statements into 1 query?
Cheers!