Skip to content

Contour-vector distribution - mapserv.contour

Obtains contour polygon of precipitation data.

JSON-RPC v2.0 is used as the execution method.

Request Sample

{
    "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",
}

Parameter

Parameter Name Data Type Details Default Value
theme string "Xrain" or "panda" Required
spatial_extent [number, number, number, number] Latitude and longitude of the spatial range in decimal degree (W, S, E, N) Required
start_datetime string Date and Time ("YYYY-MM-DD hh:mm:ss+TZ") Required

Output Sample

Output Sample

Return Values

Returned in the GeoJSON (FeatureCollection) format.

Precipitation (mm/h) is included in rainfall under Feature.properties.

Description

Returns contoured polygon data of XRAIN or PANDA rainfall in designated intervals.

Of the date and time specified with start_datetime and the contoured polygon data of precipitation from XRAIN or PANDA specified with theme, items intersecting with the spatial range specified with spatial_extent are returned. Therefore, when the spatial range is large, an extremely large GeoJSON may be returned.