biodiversitydata-se / biologging-sensor-client

SBDI Biologging Sensor project - Client
GNU General Public License v3.0
2 stars 0 forks source link

Maps : add legends #92

Open mathieuLU opened 3 months ago

mathieuLU commented 3 months ago

from jira https://biologging-data-lu.atlassian.net/jira/software/projects/BIOSENSOR/boards/1/backlog?selectedIssue=BIOSENSOR-127

To add a legend

mathieuLU commented 2 months ago

ok so i need more details about how to display these information. Do we need a generic text block ? Displayed for all the maps ? do we want it to be visible all the time ?

Some information are common to all the maps display :

And then about the legend :

Screenshot from 2024-08-08 16-21-42

mathieuLU commented 2 months ago

format to be determined for the mouseover event. Is it something we want only for the map or anywhere ? and which format ? here is a first suggestion for the map mouseover Screenshot from 2024-08-08 16-59-37

DeboraArlt commented 1 month ago

for det legend of things that are always the same I guess we need what you call a generic text block, e.g.: Map displays a maximum of 5 tracks, each track is from one animal with a maximum of 20 position points displayed. (here comes a follow up question: which tracks? which points? who/what decides which tracks are displayed, and which points (which part of a track?)? maybe don't need to explain in legend but would be good to know if someone asks) [print black circle] last position (on the WRAM pages for example it shows bild

At the moment the figure headers are not very user friendly. I think they display the sensor type or similar, e.g. the map has title "Geographic spherical coordinate system" - I think it would be clerar with a specific image title (or use as subtitle) like e.g. "animal tracks" - with "animal tracks" in the title we do not any specific legend text. same gors for e.g. the temperature diagram - has now title "thermometer" but more user friendly would be something like "body temperature"? may have to carefully select the title text so it is representative for different types of thermometer sensor data.

For the colours of the different tracks - yes, have the same kind of legend as for altimeter/thermometer. Ideally use the same colours for a track and as the temperature lines if this is data from the same animals (I assume it is).

map mouseover positions: looks good. BUT - is it possible to add also the date and time for the position? Similar to the temperature diagram: there it is date and time and animal now that is dipslayed at map mouseover, ideally would also be nice to see the exact temperature value.

Let's look at this together during the next meeting.

mathieuLU commented 1 month ago

same comment here as what was decided here same comment as here https://github.com/biodiversitydata-se/biologging-sensor-client/issues/93#issuecomment-2334221020

of course the mouse over for the map can display date+time !

mathieuLU commented 3 weeks ago

status of the discussion regarding the maps

Screenshot from 2024-09-13 17-49-38 Screenshot from 2024-09-13 17-49-43

mathieuLU commented 1 week ago

OMG what a mess it was only to change this tooltip for the map... quite tough to deal with this Coordinate object and to send extra info to the map (tag id, date, ..) https://github.com/biodiversitydata-se/biologging-sensor-client/commit/1c5156e6f39add0c841fdea4cb7229899f3d7039 and https://github.com/biodiversitydata-se/biologging-sensor-client/commit/ada0965486ae501006661b87a0e1662f9d586fe3 and

looks like we have something ok now Screenshot from 2024-09-26 14-25-10 Screenshot from 2024-09-26 14-25-32

the legend is still missing

DeboraArlt commented 1 week ago

looks good enough! very acceptable! just the legend now ;-)

mathieuLU commented 5 days ago

ok so we now have an embedded legend box. last commit => https://github.com/biodiversitydata-se/biologging-sensor-client/commit/9d0188d7a82256bf94a9553348ae8290a08a2895

it works well to have the text "scientific name + tagID" for the moose project. But unfortunately it does not work for the tracking radar. Since there is no tagID attached to the animal. See the screenshots below

Moose : Screenshot from 2024-10-02 11-17-05

Tracking radar : Screenshot from 2024-10-02 11-17-16

Since i have the same text without tagID, the legend does not know how to solve it and displays only the first one. Several options :

DeboraArlt commented 5 days ago

I vote for option 1: attaching the animaID instead of the tagID when no unique tagID