Twinkle HubTwinkle Hub

POI in radius buffer

tw_query_geo_theme_buffer

More tools · same family🇹🇼 Taiwanread-only

座標 + 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 內寺廟」.

Parameters

ParamTypeDescription
theme_id *string—
lng *number—
lat *number—
radius *integer—
Raw JSON schema
{
  "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",
  "additionalProperties": false
}

How to call

Starter — params in the table above
tw_query_geo_theme_buffer({ theme_id: "…" })