...
Code Block |
---|
{ "legend" : [ { "lowerValue" : 30.0, "color" : "#042333" }, { "lowerValue" : 32.9, "color" : "#3c0912" }, { "lowerValue" : 35.7, "color" : "#730e27" }, { "lowerValue" : 38.6, "color" : "#a62225" }, { "lowerValue" : 41.4, "color" : "#c0583b" }, { "lowerValue" : 44.3, "color" : "#d08b73" }, { "lowerValue" : 47.1, "color" : "#dfbcb0" }, { "lowerValue" : 50.0, "color" : "#f1edec" } ] } |
GET version (2022.01)
GET version inforamtion of the current installed Web Services.
Request parameters
- documentFormat (string): PI_XML (default) or PI_JSON
Response
- PI-XML or PI-JSON file content.
Example request
Code Block |
---|
curl "http://localhost:8080/FewsWebServices/rest/fewspiservice/v1/version"
|
Example PI-XML response
Code Block |
---|
<?xml version="1.0" encoding="UTF-8"?>
<Version xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.wldelft.nl/fews/PI" xsi:schemaLocation="http://www.wldelft.nl/fews/PI http://fews.wldelft.nl/schemas/version1.0/pi-schemas/pi_version.xsd">
<implementation>2017.02</implementation>
<buildType>stable</buildType>
<buildNumber>12345</buildNumber>
<buildTime>2017-10-31T23:00:00Z</buildTime>
</Version> |
GET oas (2022.01)
GET open api specification of the REST API.
Response
- JSON response with the open api specification.
Example request
Code Block |
---|
curl "http://localhost:8080/FewsWebServices/rest/fewspiservice/v1/oas"
|
Example PI-XML response
Code Block |
---|
{
"openapi" : "3.0.3",
"info" : {
"title" : "Delft-FEWS Web Services - WMS Service",
"description" : "Delft-FEWS Web Services - WMS Service",
"version" : ""
},
"servers" : [ {
"url" : "/FewsWebServices",
"description" : "API server"
} ]
} |
WMS Test Page
Most functionality of the WMS service can be tested using the WMS service test page.
...
Downloading the same image as TIFF, will result in the following image: The Red channel is used for the U component of wind and the Green channel is used for the V component of wind.
Information about the offset and scale can be determined using GeoTIFF tags. The following is the meta information stored in the TIFF image, displayed with the tool jhove.
...