52North / helgoland

Visual Exploration and Analysis of Sensor Web Data
Apache License 2.0
57 stars 45 forks source link

time series selected via List selection does not work #51

Open CarstenHollmann opened 4 years ago

CarstenHollmann commented 4 years ago

If you select a time series via List selection in Helgoland 2.0 with REST-API version 2.0.0-alpha.x, Helogland executes another request than selecting the time series via the map view.

Map view query (valid): https://nexos.demo.52north.org/52n-sos-bsh-webapp/api/timeseries/71?lang=en&locale=en

List selection query (invalid): https://nexos.demo.52north.org/52n-sos-bsh-webapp/api/timeseries/quantity_71?lang=en&locale=en

Querying the /timeseries endpoint would only require the number, here 71 (Map view query).

While querying the /dataset endpoint quantity_71 is required:

https://nexos.demo.52north.org/52n-sos-bsh-webapp/api/datasets/quantity_71?lang=en&locale=en