portal
portal copied to clipboard
Button to download all tracks at once
We need to get some privacy concerns resolved first. After that we can add the button to download the downloadable tracks en bloc.
One part of this would be to download your own uploaded files only. There is no privacy concerns if you own the tracks ;)
I believe this is a very interesting feature for people using the OBS to directly upload their data, then download on the PC for themselves. That way you don't have to fiddle around with an SD card.
This needs to be done server-side by the way. It would be too much to rebuild the CSV or GPX in JS and then zip (?) them up for download. You do want separate files, I assume.
Maybe we should store the actual uploaded file alongside the processed track data so we don't have to do much processing server side, or can fix the files if a processing bug happened. That way building a download stream (for a bunch of files in their original format) becomes very easy as well.
Depends on https://github.com/Friends-of-OpenBikeSensor/obsAPI/issues/18
Additionally, a download -filter option by region or user would be very interesting for people who want to process all track of multple users in one city or region.
I've thought about this already, and came to the conclusion that per-user downloads should only be possible for the users themselves. It's too easy to stalk a single user otherwise, IMO. Per region sounds good though.
Depends on openbikesensor/portal#33 now