Skip to content

Map Acquisition API - mapserv.predictmap

Note

This document has been machine translated.

The Prediction Map Retrieval API retrieves the spatio-temporal and other attributes of a prediction map.
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.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"
}

Parameters

Request parameters are in GeoJSON Feature format.
Geometry is the spatial range to be searched. Type can be Polygon, Line, Point, or a collection of these.
Properties is a list of the following parameters.

parameter name data type content default value
start_datetime string Datetime ("YYYY-MM-DD hh:mm:ss+TZ") Required
end_datetime string Datetime ("YYYY-MM-DD hh:mm:ss+TZ") start_datetime + 1秒
themes [string, [string,...] Target prediction map Required

Output Samples

Output sample

Return value

Returns in GeoJSON (FeatureCollection) format.

Each Feature's geometry contains the GeoJSON representation of the geom, The properties of each Feature contains the GeoJSON representation of the geom in the geometry, the theme is the name of the predictive map, and the rest is a set of column names and values.

Description

Get the spatiotemporal attributes and all other attribute data contained in the prediction map(s).

  • Returns contour polygon data in the prediction map(s) specified in themes for the time period specified in start_datetime and end_datetime that intersect the region specified in the geometry part of GeoJSON.
  • If the period of interest, the number of prediction maps, or the geometry part is large, a very large GeoJSON may be returned.
  • In addition to the spatio-temporal attributes, the “Get Prediction Map API” also returns all other attribute data. If you want to get only risk values, use “Risk Map Get API”.