Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for multiple devices route print #47

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

Allow for multiple devices route print #47

antoniopaisfernandes opened this issue Dec 5, 2014 · 11 comments
Labels

Comments

@antoniopaisfernandes
Copy link
Contributor

@antoniopaisfernandes 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
Copy link
Owner

@vitalidze 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
Copy link
Contributor Author

@antoniopaisfernandes 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
Copy link
Owner

@vitalidze 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
Copy link
Contributor Author

@antoniopaisfernandes antoniopaisfernandes commented Dec 12, 2014

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

@antoniopaisfernandes
Copy link
Contributor Author

@antoniopaisfernandes 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
Copy link
Owner

@vitalidze 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
Copy link
Contributor Author

@antoniopaisfernandes 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
Copy link
Owner

@vitalidze 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
Copy link
Owner

@vitalidze 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
Copy link
Contributor Author

@antoniopaisfernandes antoniopaisfernandes commented Apr 4, 2015

That would be great.

vitalidze added a commit that referenced this issue May 5, 2015
…, moved sorting to server side, addded several stub methods
vitalidze added a commit that referenced this issue May 5, 2015
@vitalidze
Copy link
Owner

@vitalidze 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.