Acquiring Map Data
Map data distribution refers to the series of APIs that use HTTP to obtain spatio-temporal data such as radar data and risk maps in EvWH. They are mainly designed to be used by web applications.
Procedures for Implementation
As a general rule, map data distribution uses JSON-RPC v2.0. When the results are raster data, they are transmitted in PNG format, and when vector data, as GeoJSON.
To execute map data distribution using JSON-RPC, POST the request data (text string) described in JSON format in the endpoint URL of the web service provided by EvWH.
API Key
An API key and private key are required to use this API. Please apply to the system administrator to obtain it.
It is necessary to send each with the following key name to the HTTP header part when sending an HTTP request.
- API Key: APIKey
- Secret key: Secret
API List
-
mapserv.contour Contour-vector distribution
Obtains precipitation data from PANDA and XRAIN of the specified spatio-temporal range as vector data expressed in contour polygons, and returns it in GeoJSON format.
-
mapserv.eventdata Event data distribution
Obtains event data records in GeoJSON format that intersect the specified spatial range and match the search conditions.
-
mapserv.predictmap Prediction map distribution
Obtains geometry and other attribute data that intersects the specified spatio-temporal range from the prediction map and returns it in GeoJSON format.
-
mapserv.riskmap Riskmap distribution
Obtains geometry data from the riskmap that intersects the specified spatio-temporal range as contor vector polygons, and returns it with the risk values in GeoJSON format.