Twinkle HubTwinkle Hub

香港圖資搜尋 (CSDI)

hk_search_spatial

🇭🇰 Hong Konglecture seule

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,

Paramètres

NomTypeDescription
querystring
limitinteger
startinteger
Schéma JSON brut
{
  "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"
}

Comment appeler

Amorce — paramètres dans le tableau
hk_search_spatial({ query: "…" })