Twinkle HubTwinkle Hub

HK spatial layer detail

hk_get_spatial_layer

🇭🇰 Hong Kongread-only

Scope: Hong Kong public datasets and government data.

Fetch full CSDI record + WMS/WFS service URLs (call after hk_search_spatial).

Returns references[] containing OGC WMS/WFS/service endpoints usable a promising layer.

Parameters

ParamTypeDescription
identifier *string—
Raw JSON schema
{
  "properties": {
    "identifier": {
      "title": "Identifier",
      "type": "string"
    }
  },
  "required": [
    "identifier"
  ],
  "title": "hk_get_spatial_layerArguments",
  "type": "object",
  "additionalProperties": false
}

How to call

Starter — params in the table above
hk_get_spatial_layer({ identifier: "…" })