Prediction map distribution - mapserv.predictmap
Obtains the spatio-temporal and other attributes of the prediction map.
JSON-RPC v2.0 is used as the execution method.
Sample Request
{
"jsonrpc": "2.0",
"method": "mapserv.predictmap",
"params": {
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [[
[139.25,35.25],[139.25,35.5],[139.625,35.5],
[139.625,35.25],[139.25,35.25]
]]
},
"properties": {
"start_datetime": "2018-09-15 00:00:00",
"end_datetime": "2018-09-15 01:00:00",
"themes": ["riskmap_fujisawa"]
}
},
"id":"mapserv_predictmap"
}
Parameter
Request parameters are described in GeoJSON Feature format.
Geometry is a spatial region to be searched for. The type can be Polygon, Line, Point, or Collection of these.
For Properties, specify the following parameters:
Parameter Name | Data Type | Details | Default Value |
---|---|---|---|
start_datetime | string | Date and Time ("YYYY-MM-DD hh:mm:ss+TZ") | Required |
end_datetime | string | Date and Time ("YYYY-MM-DD hh:mm:ss+TZ") | start_datetime + 1 seconds |
themes | [string, [string,...] | Target risk map | Required |
Output Sample
Return Values
GeoJSON (FeatureCollection) is returned. Each record of event data is stored as a Feature.
Each feature's geometry
is the GeoJSON representation of the geom.
In the properties
, the prediction map name will be stored in theme
, and the rest is stored as a set of column names and their values.
Description
Obtains the spatio-temporal attributes and all other attribute data contained in the prediction map.
Returns the polygon contour data in the period specified by start_datetime
and end_datetime
and in the map(s) specified by themes
that intersect
the region(s) specified in the geometry part of the request GeoJSON.
When the target period, number of target risk maps and geometry parts are large, an extremely large GeoJSON may be returned.
This API returns all other attributes in addition to the spatio-temporarl attributes. Use Riskmap distribution
API when only the risk values are needed.