Skip to main content

GeoSpatial Services

What are GeoSpatial Services?
GeoSpatial Services are application development or programming interfaces for users and developers to utilize the datasets provided on Common Spatial Data Infrastructure (CSDI) Portal in developing relevant application or programs for users in different aspects. The open standard Web Feature Service (WFS) and Web Map Service (WMS) are provided under our Geospatial Services.
What are WFS and WMS?
WFS (Web Feature Service) and WMS (Web Map Service) both follow the standards set by the Open Geospatial Consortium (OGC), an international standards organization that promotes and develops open standards for geospatial data and services.
With WFS, users can access vector data and perform various operations, such as querying, filtering, and data retrieval.
With WMS, users can access map images and display them in their web browser or desktop GIS software.
How do I access WFS and WMS on CSDI Portal?
To access the WFS and WMS services, simply navigate to Metadata Page of an dataset and click GeoSpatial Service under Other Resources and Services Section. Select and click the service (WFS/WMS) you wish to use. The Service URL will be copied automatically.
How do I customize my WFS/WMS request based on the copied URL?
Please select WFS/WMS for details:
WFS URL Format
https://[WFS URL]?[SERVICE]&[VERSION]&[REQUEST]&[TYPENAME]&[OUTPUTFORMAT]&[SRSNAME]&[BBOX]&[COUNT]
WFS Example URL
WFS Query Parameters
Parameter Sample Value Description
SERVICE WFS Service name. Value is “WFS”.
VERSION 2.0.0 Service version. Values are “1.0.0”, “1.1.0” & “2.0.0” (recommended).
REQUEST GetFeature Requested operation. Typical values are "GetFeature", “GetCapabilities”, etc.
TYPENAME GEO_PLACE_NAME Collection of feature instance(s) to be returned. TYPENAMES can be obtained via “GetCapabilities”.
OUTPUTFORMAT GeoJSON The returned data format. Common formats include “GeoJSON”, “GML32”, “CSV”, etc.
SRSNAME EPSG:4326 Spatial Reference System. Supported values are “EPSG:4326” and “EPSG:2326”.
BBOX# 22.262474243164064,
114.1035038986206,
22.32152575683594,
114.25302095794677
Bounding Box. Values should be in the format of “minx,miny,maxx,maxy”.
COUNT# 100 Number of features to be returned. The maximum value is “10,000” .
# Optional Parameters
Sample Source Code and Preview
How do I work with the data returned by a WFS/WMS request?
You can work with the data returned by a WFS/WMS request using a compatible software tool, such as a GIS or web mapping application. You can also use a variety of analysis and visualization tools to explore and analyze the data further.

You can refer to the following page for instructions on how to add and visualize WFS and WMS data in QGIS using the specified WFS/WMS URL.

Adding WFS and WMS to QGIS
Where can I find documentation and tutorials for using WFS and WMS?
You can use the information and sample source code on this page as a reference while using WFS and WMS. For further technical information on WFS and WMS, you may make reference to the following OGC standards.

OGC Standard - Web Feature Service (WFS)
OGC Standard - Web Map Service (WMS)

You may also see following technical guides.

OGC e-Learning - Data Access Standards WFS
OGC e-Learning - Visualization Standards WMS
ESRI - Communicating with a WFS service in a web browser
ESRI - Communicating with a WMS service in a web browser
Link Copied
Link Copy Failed, URL to you to copy: