Code Monkey home page Code Monkey logo

derive's People

Contributors

blascone avatar c-harding avatar dependabot[bot] avatar enigrest avatar erik avatar hugovk avatar jbuckner avatar kirkeaton avatar lint3 avatar samuelmeuli avatar unbe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

derive's Issues

How do I import files?

There's no button/dialog that let's me add files? It only say that I should drag files, but from where? The graphical file manager that I don't have?

Support FIT files

(gzipped or not)

My data dump from strava since the GDPR change (#17) contains .fit.gz files. Should look into parsing these.

Loading of some gpx files fails...

Hello there,

I have a good number of gpx files, that fail to be loaded.
I did manage to load them by manually:

  • Adding <name></name> under <trk>
  • Joining two traks by deleting </trkseg></trk> <trk><trkseg>

I'm not sure, but I think having two <trk> and <trkseg> elements in one gpx file seems to make sence.
I'm also not sure whether <name> for <trk> is mandatory or not (in which case I should open a bug report to OsmAND)

I have not faced this problem with other applications, so I thought that I should start by reporting here.
For reference, you will find attached the initial version of the sample gpx file that fails, as well as its edited version that works as expected.
2018-01-09.zip

Thank you very much for your time.

Thank you!

I love this repository. I use it to make a summary map of all the places I'm going to during holidays.

Thanks a lot for the amazing tool :)

How do I use this tool

I didnt see any instructions on how to use this. Download the source code and then what to I do with it? I dont understand how to import a gpx file to convert it to a heatmap.

Feature request: color activities lines by activity type

Hi Erik,

First of all, thanks creating and maintaining this amazing tool.

One feature that I miss is the possibility to change and choose the color by activity type (e.g. ride, run, hike).

It should be possible to retrieve the activity type from .tcx files (e.g. <Activity Sport="Biking">) and .gpx files (e.g. <type>cycling</type>).

Thanks!

Handling of <trkseg>

It appears that an empty <trkseg></trkseg> block stops the parser from reading the rest of the GPX file. Also, the progress meter appears to reference the number of <trkseg> blocks rather than the number of files being processed.

20200929-123021

Feature Request: set directory for files

Hi,
It'd be cool if you could set a directory with all the .gpx files I want to view, instead of dragging them every time to the window.
Maybe it's not even possible, but if it is I hope you'll implement this feature one day!

Style changes in URL?

I love derive! I have just one wish: I always change the settings when I use the app (black routes, Positron). Is there a way to change those settings from the URL, so that I could bookmark it and not have to manually adjust it each time?
Thanks <3

What window

Readme.md says pull gpx-files in to the window, which window, the terminal?
#Drag and drop one or more GPX/TCX/FIT files or JPEG images into the window

Export as png x2 or more

It'd be really nice to be able to export the png in higher quality for example x2, x3 and x4.

Same picture, just better definition.

GPX without track points

Unfortunately my strava dump contains some activities which do not have any <trk> node and cause TypeError during import.
It would be nice if the app could ignore them automatically.

Inconsistency in counting loaded tracks/files

When dragging and dropping files, I observed the loading screen to say "240 loaded of 238". I think this inconsistency comes from the fact that the total is given by the number of files (numFiles):

<p>${numLoaded} loaded${failureString} of <b>${numFiles}</b></p>`;

but numLoaded is incremented for each track (and not for each file):

derive/src/ui.js

Lines 89 to 96 in ed9d902

const handleTrackFile = async (file) => {
for (const track of await extractTracks(file)) {
track.filename = file.name;
tracks.push(track);
map.addTrack(track);
modal.addSuccess();
}
};

So if there are files with multiple tracks, this inconsistency can occur that the number of loaded is more than the number of total.

Perhaps a quick fix would be to move modal.addSuccess(); out of the loop?

Support GPX routes

The attached GPX file (zipped for GitHub) is not supported, as it contains a route rather than a track. If there are no tracks, we should fall back to routes (or even plot all routes as well as tracks). It was generated by the ViewRanger website.

Not getting the exepcted outcome.

After dragging and dropping a .fit file, a pop-up comes up to save the .fit file. If I click save, it get saved on the desktop.
What window should I be dropping it? In the github project window?
Am I doing something wrong?

Maybe it is not working because I'm on mac?
Using chrome browser.

OpenStreetMap.BlackAndWhite not working

Hi Erik!

First, thank you for this amazing tool.

I have noticed that the OpenStreetMap.BlackAndWhite is currently not working.

Would it be possible to fix it?

Thanks

Feature Request: Mark each individual track.

Hi there,

First of all, awesome!
I was looking to build something like this myself, but then found your awesome project.

My idea i was thinking about was adding some sort of selector, so you could hightlight each track and see data like max speed, length and date.

Here i added a mockup:
Screenshot 2020-04-22 at 11 27 34

feature request: Animated png

I know, this one must be a quite heavy, that you may have already thought of, but nevetherless I thought I should mention.

a sample file:
derive-export by year

This has been created by exporting png's from derive, and converting them through https://ezgif.com/apng-maker

To actually manage something like this, I'm pretty sure that a much deeper handling of the gpx info is needed than now, adding a lot of complexity.

Steps that I can think of:

  1. parse all gpx files to locate a rectangle that will be able to contain all the gpx files
  2. keep a list of the files ordered by date
  3. Probably, depending on the number of tracks, decide a numder of them that would be proccessed simultaneously. If the feeded tracks are thousands, a huge file would be created having one track per frame. Easy choises whould be to group the tracks by month / year, but given few tracks that could lead to a one frame non-animated animation. Maybe an approach could be targeting a 15 - 30 second animation)
  4. create the file (sounds so simple :p).

Of course the output could be the much more widely used gif, avoiding problems that animated png seems to face (e.g. Edge and I.E. not rendering them), but... you already do export png, png does seem to be technically superior, it is an open standard... well I don't know, in practise whichever format would do :)

Thank you for listening,

Christos

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.