#
WFS (Web Feature Service) Catalogue
note
When specifying the URL for QGS project files, any backslashes must be converted to forward slashes.
{
"title": "Assets",
"group": "Assets",
"type": "WFSGetCapabilities",
"serverType": "qgis",
"config": {
"spatial": {
"url": "https://hrccsvrgis01.pozi.com/iis/qgisserver?service=WFS&request=GetCapabilities&MAP=//ad.hrcc.vic.gov.au/shared/GIS/workspaces/Pozi/Assets.qgs",
"id": "$id"
}
},
"styleGeoStyler": {
"url": "https://hrccsvrgis01.pozi.com/iis/qgisserver?service=WMS&VERSION=1.3.0&request=GetStyles&MAP=//ad.hrcc.vic.gov.au/shared/GIS/workspaces/Pozi/Assets.qgs",
"type": "SLD"
},
"localDataSource": true
}
Note the style URL has two critical differences from the data URL:
service=WMS
(not WFS)request=GetStyles
(not GetCapabilities)
#
Configuration
#
Parameters
#
Restrict results to bounding box
"params": {
"BBOX": "-38.27,144.66,-38.24,144.71"
}
{
"title": "Vicmap Features of Interest",
"group": "Features of Interest",
"type": "WFSGetCapabilities",
"config": {
"spatial": {
"url": "https://data.pozi.com/datavic/datavic_wfs_getcapabilities_vmfeat.xml",
"params": {
"BBOX": "-38.27,144.66,-38.24,144.71"
}
}
}
}
#
OGC Filter
WFS requests utilise OGC filters can be applied to target specific records.
- Example:
FILTER=<Filter><PropertyIsEqualTo><PropertyName>AssetID</PropertyName><Literal>12345</Literal></PropertyIsEqualTo></Filter>
- Reference: http://schemas.opengis.net/filter/2.0/filter.xsd