portal icon indicating copy to clipboard operation
portal copied to clipboard

Button to download all tracks at once

Open Natenom opened this issue 4 years ago • 6 comments

Natenom avatar Oct 31 '20 20:10 Natenom

We need to get some privacy concerns resolved first. After that we can add the button to download the downloadable tracks en bloc.

groma84 avatar Nov 02 '20 19:11 groma84

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.

opatut avatar Nov 20 '20 09:11 opatut

Depends on https://github.com/Friends-of-OpenBikeSensor/obsAPI/issues/18

opatut avatar Nov 30 '20 19:11 opatut

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.

stberg-os avatar Jan 21 '21 06:01 stberg-os

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.

opatut avatar Jan 21 '21 07:01 opatut

Depends on openbikesensor/portal#33 now

opatut avatar Feb 17 '21 21:02 opatut