Allow for multiple devices route print #47

Closed
antoniopaisfernandes opened this Issue Dec 5, 2014 · 11 comments

Comments

Projects
None yet
2 participants
@antoniopaisfernandes
Contributor

antoniopaisfernandes commented Dec 5, 2014

Today only one device route is printed.
It would be a nice feature to have multiple routes printed at the same time (in different colors).
For that, archive would have to be able to allow adding several devices.

Best regards,
Antonio

@vitalidze

This comment has been minimized.

Show comment
Hide comment
@vitalidze

vitalidze Dec 5, 2014

Owner

Please suggest how multiple devices selector should look like. I know that another guy which implemented this exact feature has done it via new column with check box in main 'Devices' table.

Owner

vitalidze commented Dec 5, 2014

Please suggest how multiple devices selector should look like. I know that another guy which implemented this exact feature has done it via new column with check box in main 'Devices' table.

@antoniopaisfernandes

This comment has been minimized.

Show comment
Hide comment
@antoniopaisfernandes

antoniopaisfernandes Dec 5, 2014

Contributor

Please consider the Archive area that starts minimized.

Instead of only one Device and its grid of points, there should be an option to Add devices to that area (with the selection - from and to date/time - pretty much what already exists and points grid).

That part of the UI would by like an array of selections/grid pairs.

For each Device line, there should be a color controller that would allow for vector in the map follow that color.

Contributor

antoniopaisfernandes commented Dec 5, 2014

Please consider the Archive area that starts minimized.

Instead of only one Device and its grid of points, there should be an option to Add devices to that area (with the selection - from and to date/time - pretty much what already exists and points grid).

That part of the UI would by like an array of selections/grid pairs.

For each Device line, there should be a color controller that would allow for vector in the map follow that color.

@vitalidze

This comment has been minimized.

Show comment
Hide comment
@vitalidze

vitalidze Dec 5, 2014

Owner

It's still not clear to me. Can you draw it somehow? Also what happens with archive table? Right now it can calculate total distance and average speed.

Owner

vitalidze commented Dec 5, 2014

It's still not clear to me. Can you draw it somehow? Also what happens with archive table? Right now it can calculate total distance and average speed.

@antoniopaisfernandes

This comment has been minimized.

Show comment
Hide comment
@antoniopaisfernandes

antoniopaisfernandes Dec 12, 2014

Contributor

I'm just ending the password hashing feature and I'll start adding new info right after.

Contributor

antoniopaisfernandes commented Dec 12, 2014

I'm just ending the password hashing feature and I'll start adding new info right after.

@antoniopaisfernandes

This comment has been minimized.

Show comment
Hide comment
@antoniopaisfernandes

antoniopaisfernandes Dec 26, 2014

Contributor

Something like this:
image

Consider n rows in a table.
The "+" adds a Device (row)
The "-" removes a Device (row)
The colors should be set sequentially (and roll after k colors/devices) but the user could change the color.
Each Device could be expanded and collapsed.

Contributor

antoniopaisfernandes commented Dec 26, 2014

Something like this:
image

Consider n rows in a table.
The "+" adds a Device (row)
The "-" removes a Device (row)
The colors should be set sequentially (and roll after k colors/devices) but the user could change the color.
Each Device could be expanded and collapsed.

@vitalidze

This comment has been minimized.

Show comment
Hide comment
@vitalidze

vitalidze Dec 26, 2014

Owner

Generally looks good. I think that there should at least be a possibility to draw these tracks for same date-time range, so you won't have to synchronize it manually for each device. Same goes for 'speed' filter on toolbar. Thus, there should either be a global 'from-to' and 'speed' fields (and maybe 'export/import/load' buttons, etc.) or a check box like 'synchronize selection'. What do you think?

Owner

vitalidze commented Dec 26, 2014

Generally looks good. I think that there should at least be a possibility to draw these tracks for same date-time range, so you won't have to synchronize it manually for each device. Same goes for 'speed' filter on toolbar. Thus, there should either be a global 'from-to' and 'speed' fields (and maybe 'export/import/load' buttons, etc.) or a check box like 'synchronize selection'. What do you think?

@antoniopaisfernandes

This comment has been minimized.

Show comment
Hide comment
@antoniopaisfernandes

antoniopaisfernandes Dec 26, 2014

Contributor

Yes, nice design/thinking. And the "synchronize" really simplifies viewing data uniformly.

The only thing from the #37 it doesn't fit is multiple colors for the same device ("if traccar-web is loaded with more days for eg. , it would be nice to see easily which route was how long."). Don't really know how that could be done at the front end... Why days as the color splitter and not hours (or anything else - like a new item "subtrack")?

Contributor

antoniopaisfernandes commented Dec 26, 2014

Yes, nice design/thinking. And the "synchronize" really simplifies viewing data uniformly.

The only thing from the #37 it doesn't fit is multiple colors for the same device ("if traccar-web is loaded with more days for eg. , it would be nice to see easily which route was how long."). Don't really know how that could be done at the front end... Why days as the color splitter and not hours (or anything else - like a new item "subtrack")?

@vitalidze

This comment has been minimized.

Show comment
Hide comment
@vitalidze

vitalidze Dec 26, 2014

Owner

Regarding that colorised tracks - from my understanding there should be some condition inside device profile (or archive view), which tells when to start "subtrack". This may be a time condition, or an regular expression (like @vzoltan says when additional info has 'status=1'). Once this condition met the track line should switch color. Well, I still don't clearly understand how to combine all these feature into one. Maybe they don't intersect at all. Will think about it.

Owner

vitalidze commented Dec 26, 2014

Regarding that colorised tracks - from my understanding there should be some condition inside device profile (or archive view), which tells when to start "subtrack". This may be a time condition, or an regular expression (like @vzoltan says when additional info has 'status=1'). Once this condition met the track line should switch color. Well, I still don't clearly understand how to combine all these feature into one. Maybe they don't intersect at all. Will think about it.

@vitalidze

This comment has been minimized.

Show comment
Hide comment
@vitalidze

vitalidze Apr 4, 2015

Owner

In theory to solve this issue I can merge this pull request traccar/traccar-web#262 if anyone is interested.

Owner

vitalidze commented Apr 4, 2015

In theory to solve this issue I can merge this pull request traccar/traccar-web#262 if anyone is interested.

@antoniopaisfernandes

This comment has been minimized.

Show comment
Hide comment
@antoniopaisfernandes

antoniopaisfernandes Apr 4, 2015

Contributor

That would be great.

Contributor

antoniopaisfernandes commented Apr 4, 2015

That would be great.

vitalidze added a commit that referenced this issue May 5, 2015

For #47 - started implementation: added tab panel to the archive view…
…, moved sorting to server side, addded several stub methods

vitalidze added a commit that referenced this issue May 5, 2015

@vitalidze

This comment has been minimized.

Show comment
Hide comment
@vitalidze

vitalidze May 11, 2015

Owner

Implemented, written news, updated latest and demo versions.

Owner

vitalidze commented May 11, 2015

Implemented, written news, updated latest and demo versions.

@vitalidze vitalidze closed this May 11, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment