Zh-hant:Overpass API/Overpass QL
Jump to navigation
Jump to search
Overpass API · Language reference · Language guide · Technical terms · Areas · Query examples · Sparse Editing · Permanent ID · FAQ · more (中文(繁體)) · Web site
Servers status · Versions · Development · Technical design · Installation · XAPI compatibility layer · Public transport sketch lines · 應用 · Source code and issuesOverpass turbo · Wizard · Overpass turbo shortcuts · MapCSS stylesheets · Export to GeoJSON · more (中文(繁體)) · Development · Source code and issues · Web siteOverpass Ultra · Examples · Overpass Ultra extensions · MapLibre stylesheets · URL Params · more (中文(繁體)) · Source code and issues · Web site
Servers status · Versions · Development · Technical design · Installation · XAPI compatibility layer · Public transport sketch lines · 應用 · Source code and issuesOverpass turbo · Wizard · Overpass turbo shortcuts · MapCSS stylesheets · Export to GeoJSON · more (中文(繁體)) · Development · Source code and issues · Web siteOverpass Ultra · Examples · Overpass Ultra extensions · MapLibre stylesheets · URL Params · more (中文(繁體)) · Source code and issues · Web site
Overpass QL ("Overpass檢索語言(Overpass Query Language)"的簡稱)是第二套為Overpass API創建的檢索語言,第一套是Overpass XML。Overpass QL是 程序式、 指令式,採用 C語言語法撰寫的程式語言。
這wiki頁面將會提供Overpass QL的完整技術參考文獻。要察看實用範例集合,請參照Overpass API by Examplewiki頁面。如果沒有技術背景你可以發現這一頁相當容易親近。
Overpass QL解析器所支援的功能會由伺服器所執行的Overpass API版本來決定。請確保你執行檢索的Overpass API伺服器的API版本夠新,能夠支援你想要執行的功能。 眾所睭知,該功能的最小Overpass API版本號碼會特別標明。 |
Language overview
Statements
Overpass QL原始碼被分為聲稱,而每個聲稱的結尾有分號;
。 Statements are executed sequentially by a process, and each statement run changes the process's execution state.
Execution state
The Overpass QL execution state consists of:
- the default set
_
(a single underscore) - other named sets, if created by the user
- a stack, during the execution of Overpass QL block statements