SLAPIS Sahel Les Géoservices Retour à la carte
API & Web Services

Les Géoservices

SLAPIS a mis en place une infrastructure de géoservices (web services) permettant de consulter et de télécharger des données géoréférencées via des requêtes adaptées. Les formats disponibles sont : CSV, JSON, GeoJSON, WFS, WKT.

OGC Web Services
WMS / WFS
Services standardisés OGC pour données raster (WMS) et vectorielles (WFS). Référence : opengeospatial.org
RESTful API
REST API Services
Interfaces de programmation compatibles REST (GET/PUT/POST/DELETE) pour l'échange de données entre applications.

Base URL

Endpoint racine
http://slapis.fi.ibimet.cnr.it:8080/SlapisWS/api
⚠ La section suivante est destinée aux utilisateurs experts et est disponible en anglais.
GET j_get_stations_data JSON
/data/j_get_stations_data/json/{id_station}/{stat_name}/{n_record}
ParameterTypeDescription
id_stationInteger1 = Garbey Kourou · 2 = Bossey Bangou · 8 = Niamey
stat_nameStringLabel for output file
n_recordIntegerNumber of records to retrieve
GET j_get_stations_data CSV
/data/j_get_stations_data/csv/{id_station}/{stat_name}/{year}
ParameterTypeDescription
id_stationInteger1 = Garbey Kourou · 2 = Bossey Bangou · 8 = Niamey
stat_nameStringLabel for output file
yearIntegerSelected year
GET j_get_optimized_glofas JSON — GloFAS optimisé
/data/j_get_optimized_glofas/{id_station}
ParameterTypeDescription
id_stationInteger1 = Garbey Kourou · 2 = Bossey Bangou · 8 = Niamey
GET j_get_glofas_rawdata JSON — GloFAS brut 30j
/data/j_get_glofas_rawdata/{id_station}

Returns D1…D30 raw GloFAS forecast values for the specified station.

GET j_get_stations_geojson GeoJSON — stations
/vector/j_get_stations_geojson

Returns all hydrometric stations in GeoJSON format.

GET j_get_stations_scenario GeoJSON — scénarios inondation
/vector/j_get_scenario{lvl:(/lvl/.+?)?}
Lvl (optional)Scénario
Q5Crue Fréquente
Q15Situation normale
TR30Inondation grave
TR100Inondation catastrophique