Map Acquisition API - mapserv.contour
Note
This document has been machine translated.
Obtains contour polygons for precipitation data.
The execution method is JSON-RPC v2.0
Use the following.
Endpoint
https://<api-server-endpoint>/api/v1/evwhapi/jsonrpc
Request Example
{
"jsonrpc":"2.0"
"method":"mapserv.contour",
"params":[{
"theme": "xrain",
"spatial_extent": [
139.7259, 35.7023, 139.7809, 35.7321
],
"start_datetime": "2018-09-18 18:00:00+09"
}],
"id":"mapserv_contour",
}
Parameters
| parameter name | data type | content | default value |
|---|---|---|---|
| theme | string | "xrain" or "panda" | required |
| spatial_extent | [number, number, number, number] | Decimal longitude and latitude in spatial extent(W,S,E,N) | required |
| start_datetime | string | Datetime ("YYYY-MM-DD hh:mm:ss+TZ") | required |
Output Samples
Return value
Returns in GeoJSON (FeatureCollection) format.
rainfall in Feature.properties includes the amount of precipitation (mm/h).
Description
Returns polygon data of rainfall contoured at regular intervals for XRAIN or PANDA.
The date and time specified in start_datetime, the date and time of the XRAIN or PANDA specified in theme, and the date and time of the rainfall contour polygon for the XRAIN or PANDA specified in theme.
If the spatial extent is large, it will be very large.
If the spatial extent is large, a very large GeoJSON may be returned.