Matches objects that have a tag with the specified key/value pair. This works for all objects for which a preset is defined in the iD editor.įor the meanings of "key" and "value", please see the Glossary. For example one can use the terms Hotel, "Drinking Water", Hospital, etc. The simplest way of searching is to use object categories. The Wizard syntax described on this Wiki page is incompatible with Overpass QL itself. Overpass Turbo Wizard uses a simplified query syntax, which has to be always entered in the "Wizard" popup for translation into a new Overpass QL query. Here is an example of how to search in a certain city: ![]() But the Wizard also understands some other location filters. (highway=primary or highway=secondary) and type:wayīy default, the data to be searched is limited to the current map viewport.Those can be combined with logical operations like and or or. An example: To get drinking water fountains, all you have to do is fire up the Wizard and type in the appropriate tag amenity=drinking_water.Ī search consists of individual filter expressions, for example key=value (for a simple tag search) or type:node (to restrict the result to only nodes). Overpass turbo's Query Wizard helps you by converting simple, human readable search terms into functional Overpass queries. Writing Overpass queries requires knowledge of the Overpass query language, and even then can sometimes be quite tedious, repetitive work. To get information from a database you send it a "query" (a question) in a language the computer can understand (the "query language").
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |