GetWSCapabilities
Parameters
Name | Type | Description | Required? |
---|---|---|---|
wmsurl | URI | URL encoded wmsurl used in capabilities query | **true** |
key | string | Search string for finding specific key inside of capabilities JSON | **false** |
Response
Success
{
"WMS_Capabilities":{
// WMS capability result
}
}
Error
Returns HTTP code 500 with an error message as a JSON in response body.
Key not found (200): null
Incorrect WMS URL (500):
{
"EXCEPTION":"INCORRECT URL"
}
Could not request WMS GetCapabilities (500):
{
"EXCEPTION": "Couldn't request WS CetGapabilities"
}
Examples
Example query for Paikkatietoikkuna (example.com)
Response: { "WMS_Capabilities":{ // capability result } }
Example curl request
TODO
- I think we need to change the name of this action route to GetWMSCapabilities.
- Error messages are not good enough
Last modified: Mon Sep 11 2023 18:13:06 GMT+0300 (Eastern European Summer Time)