sashuk / watsonc

WatsonC Vidi extension
0 stars 2 forks source link

Both sensor.sensordata_without_correction and chemicals.boreholes_time_series_without_chemicals are shown always #43

Closed mapcentia closed 5 years ago

mapcentia commented 5 years ago

One layer is selected: image

Both layers are rendered: image

sashuk commented 5 years ago

@mapcentia Fixed in https://github.com/sashuk/watsonc/commit/ce19a8e24535c92d0754d6205409762cd7096126

mapcentia commented 5 years ago

Both layers are still getting SVG symbols when switching on only one:

Peek 2019-06-12 21-01

sashuk commented 5 years ago

@mapcentia @JacobBirk Seems like the SQL queries are correct for "v:sensor.sensordata_with_correction,sensor.sensordata_without_correction", but the result returned always includes the "sensordata" features, which is not correct. Could you please specify if there were any changes to the tables or views made that could possibly influence the output?

I've checked the chemicals.boreholes_time_series_with_chemicals View definition and it seems correct, maybe the data from sensor.sensordata_with_correction is duplicated in the chemicals.boreholes_time_series_with_chemicals as well?

watsonc2

sashuk commented 5 years ago

@mapcentia Could you please check if the issue is fixed now? Just tried your example, seems like data is displayed correctly:

watsonc2

When two boreholes are located at the same location, the tabbed view is available:

watsonc

Reference link: https://vidi.alexshumilov.ru/app/jupiter/chemicals/?tmpl=watsonc.tmpl#osm/15/9.9156/57.0374/v:chemicals.boreholes_time_series_with_chemicals,sensor.sensordata_without_correction,chemicals.boreholes_time_series_without_chemicals

mapcentia commented 5 years ago

@sashuk Seems to work. Closing