Hello, I'm trying to query all the "mall" and "department_store" for the key "shop" using the Overpass API and the following query:
This however gives me only department_store because I put it first. So, basically it returns only the first shop I ask. I also tried with the pyrosm package from Python. When I query for all shops it returns around 3330 records, but when I query to get both all shops and some amenities the records are less which doesn't make sense. Any help please? :) asked 19 Feb '21, 12:27 Katerina_Kourou scai ♦ |
The result of the first shop query is stored in the default set, which the second query is written to use for the search area. Storing the area results to a named set makes it available for multiple queries:
In general, any statement without a named result set is stored in the default set, and any statement that takes an input (like answered 19 Feb '21, 13:03 maxerickson This worked! Thanks a lot :)
(19 Feb '21, 15:04)
Katerina_Kourou
|