Request format for GeoAddress Lookup Service (XML Output)

Download
Description

GET request:

https://www.als.ogcio.gov.hk/galookup?ga=<input GeoAddress>

POST request:

POST /galookup HTTP/1.1
Host: www.als.ogcio.gov.hk
Content-Type: application/x-www-form-urlencoded
Content-Length: <number of bytes in the body of the request>

ga=<input GeoAddress>

Notes:

This web service allows data consumers to look up address records using GeoAddress.

  • Input parameters:
  • "ga" – input GeoAddress (mandatory; 19 characters string);
  • "n" – maximum number of records to be returned (optional; range: 1-200; default: 200).
  • The request and response are encoded in UTF-8.
  • The data output format, language (Chinese / English / Both Chinese and English) and compression method can be specified using the HTTP header parameters: Accept=application/xml, Accept-Language=en,zh-Hant and Accept-Encoding=gzip
  • Please refer to the "Data Dictionary" for details.
loading
Loading...
Additional Information of Data Resource
Date Created
2020-02-28
Date Published
2020-02-28
Content Language
English, Traditional Chinese