Twinkle HubTwinkle Hub

香港圖資搜尋 (CSDI)

hk_search_spatial

🇭🇰 香港読み取り専用

Scope: Hong Kong public datasets and government data.

Search HK Common Spatial Data Infrastructure (CSDI · 1,143 layers).

Coverage: Lands / Planning / Transport / Buildings / Environment / Water Supplies departments. OGC CSW 3.0.0 backend.

Args: query: freetext (searched across title / abstract / keywords). Omit to enumerate the whole catalog page-by-page. limit: max records per call (server cap 100). start: 1-indexed pagination offset.

Returns {total, next_record, records[]}. Each record has identifier, title (en/tc/sc), type, modified, abstract, subjects[], bbox_wgs84,

パラメータ

名前説明
querystring
limitinteger
startinteger
生の JSON schema
{
  "properties": {
    "query": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Query"
    },
    "limit": {
      "default": 20,
      "title": "Limit",
      "type": "integer"
    },
    "start": {
      "default": 1,
      "title": "Start",
      "type": "integer"
    }
  },
  "title": "hk_search_spatialArguments",
  "type": "object"
}

呼び出し方

スターター——パラメータは​上表参照
hk_search_spatial({ query: "…" })