GeoData Query API
Dataset

Description


NGO MapInfo Guide provides HTTP-based API for application developers to query and retrieve spatial data.



 


API URL


URL Format:

https://2mvy636ltf.execute-api.ap-east-1.amazonaws.com/dev/[id]?longMin=[value1]&longMax=[value2]&latMin=[value3]&latMax=[value4]

Example URL:



 


Query Parameters


  • The compulsory value of "id" is the unique ID of this dataset.

  • Use optional parameters "latMin", "longMin", "latMax" and "longMax" to filter the output by a spatial extent (use WGS84 coordinates).



 


Response


The data will be returned in JSON format.



 


Status Codes


This API uses the standard HTTP status code to indicate the status of the API request.


Status Code

Description

200

OK

400

Bad Request, e.g. invalid query parameters

500

Internal Server Error



 


Build a Query URL

DescriptionParameterValue
Dataset IDid
from WGS84 LongitudelongMin
to WGS84 LongitudelongMax
from WGS84 LatitudelatMin
to WGS84 LatitudelatMax

Query URL

https://2mvy636ltf.execute-api.ap-east-1.amazonaws.com/dev/

GEOSPATIAL LAB



Units 915-918, 9/F, Tower 1, Millennium City 1, 388 Kwun Tong Road, Kwun Tong, Kowloon

Telephone: 3708 7260
Email: services@csdigeolab.gov.hk

Opening Hours

Monday to Saturday
09:30 am - 1:00 pm
2:15 pm - 5:30 pm

Closed on Sundays and Public Holidays

Contact Info

Telephone: 3708 7260
WhatsApp : 9187 2916
Email: services@csdigeolab.gov.hk


Address

Units 915-918, 9/F, Tower 1, Millennium City 1, 388 Kwun Tong Road, Kwun Tong, Kowloon