TerriaJS / de-australia-map

Digital Earth Australia platform developed for publishing Satellite Imagery processed by Geoscience Australia (GA) and National Computational Infrastructure (NCI)
http://de-australia.terria.io/
2 stars 1 forks source link

DE Australia - Waterbodies - dots on chart line #72

Closed AnaBelgun closed 2 years ago

AnaBelgun commented 3 years ago

Ability to put dots on the line chart to show where the valid observations are.

This is a symbology change, so quite different to the Water discharge level example.

Instead of a line chart the irrigators would like a line with markers chart. Here is a very basic example using excel. Data is on the left.

Please note that there are fewer points in the DEA waterbodies time series than there are in the imagery stack (surface area isn't calculated for cloud affected / partial coverage of waterbody), so the plot symbology needs to be drawn from the data in the CSV's not from the imagery service stack at that location.

image

AnaBelgun commented 3 years ago

Context: Q: Vanessa, just to clarify a bit your second point. Do you mean to have the same functionality like we currently have for Water discharge levels (BoM) and Satellite Imagery (i.e. show me the imagery for this location/water sensor point on the graph)? Below the BoM water + satellite (with dots on the chart showing where the imagery is). image image

A: Hi Ana, yes to your second point, having that styling applied to DEA Waterbodies is what we're after aesthetically.

Please note that there are fewer points in the DEA waterbodies time series than there are in the imagery stack (surface area isn't calculated for cloud affected / partial coverage of waterbody), so the plot symbology needs to be drawn from the data in the CSV's not from the imagery service stack at that location.

Kind regards, Leo.

KeyboardSounds commented 3 years ago

Done, just needs to be deployed.

AnaBelgun commented 3 years ago

Update 11 Aug 2021: it appears that the dots on the charts for waterbodies have disappeared since last update of the catalogue (last week)

image

wibily commented 3 years ago

Ana: quite important as users are using this

na9da commented 3 years ago

That's easy to do with a catalog config change image

However we need a small change to Terria so that the satellite imagery dots will line up correctly along with the waterbodies dots. image

I'll create a PR for that.

Also, ideally we need to assign different glyphs for the satellite & waterbody dots so that users can tell them apart properly. I'll check if we can add support to do that.

na9da commented 3 years ago

Sub tickets:

na9da commented 3 years ago

PR: https://github.com/TerriaJS/terriajs/pull/5760

Test URL: http://ci.terria.io/chart-glyphs/#share=s-i7hq5sJJaQbo51BUs3TCli4zlQt&clean&https://gist.githubusercontent.com/na9da/657916be03e1541629f2018501e80a4d/raw/95cfe3ce7ee4deb8c8fb730fecb28f25aaf04be5/waterbodies.json

na9da commented 3 years ago

After PR merged and deployed a config update is required on the production site to get the chart right.

na9da commented 2 years ago

The config change for this is adding chart-type='lineAndPoint' to the <chart> component in the feature info template of "DEA Waterbodies" as seen in this catalog definition.