Twinkle HubTwinkle Hub

環域查 POI

tw_query_geo_theme_buffer

Autres outils · 26 outils🇹🇼 Taïwanlecture seule

座標 + theme_id + 半徑(公尺) → 環域內所有 POI list.

Args: theme_id: 主題 ID (from list_geo_themes). lng / lat: WGS84. radius: 半徑公尺 1-5000. Returns: {found, count, features: [GeoJSON Feature]}

典型問: 「100 公尺內所有避難所」「500m 內測速桿」「1km 內寺廟」.

Paramètres

NomTypeDescription
theme_id *string
lng *number
lat *number
radius *integer
Schéma JSON brut
{
  "properties": {
    "theme_id": {
      "title": "Theme Id",
      "type": "string"
    },
    "lng": {
      "title": "Lng",
      "type": "number"
    },
    "lat": {
      "title": "Lat",
      "type": "number"
    },
    "radius": {
      "title": "Radius",
      "type": "integer"
    }
  },
  "required": [
    "theme_id",
    "lng",
    "lat",
    "radius"
  ],
  "title": "query_geo_theme_bufferArguments",
  "type": "object"
}

Comment appeler

Amorce — paramètres dans le tableau
tw_query_geo_theme_buffer({ theme_id: "…" })