UAV coordinate flyability check
tw_dronegis_check_point
TW-specificMIT
**關鍵字 / Keywords**: 無人機 禁航區 點位查詢 UAV drone no-fly-zone point-in-polygon 民航局 restricted-zone
檢查指定 WGS84 座標是否落在無人機禁航 / 限航 / 緊急管制區內.
Server-side point-in-polygon over ~9783 features (v1.40.1: 9 layer
含商港/金馬邊界/臨時管制) mirrored from dronegis.caa.gov.tw (民航局
ArcGIS Server, 每日 cron 同步). Cold-load ~700ms, warm < 5ms.
EPSG:4326 / WGS84.
Args:
lat: 緯度 (WGS84), e.g. 25.0338 for 臺北 101
lon: 經度 (WGS84), e.g. 121.5645
Returns dict:
coord: [lat, lon]
in_zones: list of zone dicts — 每個含 dataset_id, 空域名稱,
空域顏色 (紅區/黃區/綠區, 若 uav-zones layer), 空域類別名稱,
主管機關名稱, 罰則, severity (danger/caution/safe/info).
同名 polygon 跨 layer 已 dedup, `also_in` 列出其他覆蓋 layer.
count: len(in_zones)
color_breakdown: {紅區: n, 黃區: n, 綠區: n}
warning_level: "danger" / "caution" / "safe"
is_safe_to_fly: bool — True 僅在無 danger / caution / 黃區 命中
summary: 中文一句話 summary
典型問句:
「臺北車站可以飛無人機嗎?」「123,45.6789 這個座標 OK 嗎?」
「我家在桃園機場旁能不能飛?」
Source: dronegis.caa.gov.tw (民航局). License: OpenData Extension
(≈ OGDL). 警語: 結果僅供參考, 實際飛行前請另行查詢
drone.caa.gov.tw 公告與當地縣市政府.Input schema
{
"properties": {
"lat": {
"title": "Lat",
"type": "number"
},
"lon": {
"title": "Lon",
"type": "number"
}
},
"required": [
"lat",
"lon"
],
"title": "tw_dronegis_check_pointArguments",
"type": "object"
}How to call
Once your Twinkle Hub MCP client is configured, your agent will see tw_dronegis_check_point. Just ask it to call — example:
# Ask Claude / any MCP client: 請用 tw_dronegis_check_point 處理 "…"。 # It will call: tw_dronegis_check_point(input="…")
Haven't set up a client yet?
Claude Desktop in 3 minutes — download the .mcpb and double-click, or see docs for other clients.
See user docs