Path/GPX animation

For discussions about bikes and equipment.
Jdsk
Posts: 24636
Joined: 5 Mar 2019, 5:42pm

Re: Path/GPX animation

Post by Jdsk »

Psamathe wrote:
ConRAD wrote:
sjs wrote:... gpx files are straightforward text files. As already suggested it would be fairly easy to put artificial time stamps in them.

... well, if you have to "animate" a 1000 km track with a resolution of ONE POINT every 1000 m ... this makes something like ONE THOUSAND lines to edit!! ... not to bad :?

It's a very easy file to write a trivial program to do the "additions" automatically - reading in a text file looking for certain entries. each "point" starts with a "<trkpt" and ends with a </trkpt>...

Thank you, that saved me from making a less informed response.

: - )

Jonathan
doxsey@gmail.com
Posts: 1
Joined: 31 Mar 2021, 8:20pm

Re: Path/GPX animation

Post by doxsey@gmail.com »

ConRAD wrote:
sjs wrote:I have used https://www.mygpsfiles.com/app/ which will "replay" several gpx files on a map. Not as mp4, just in a browser. A bit buggy though. Or perhaps I just hadn't quite got the hang of it.

... but that's just a static viewer ... what I'd like is a dynamic rendering picture ... ie my position dynamically moving on a map.
RELIVE DOES IT but as I said above you must feed it with a "real" track recording and not just with an "artificial" generated gpx file (like the one that you can gety from basecamp/ridewithgps/openrunner/etc.




You can definitely do this with GPX Animator as I've just tried it out with a gpx from RideWithGPS. You have to use the "Forced Point Time Interval Option" which I set to 10 minutes for a ride of 100 miles, although other values didn't seem to make any difference to the final video.

Documentation for GPX animator is poor at present but the app is superb and in the UK I can (legally) incorporate Ordnance Survey maps and OSM maps using official API keys (which are free) and change the zoom level of the overall trail. Well worth the effort to get to grips with it.
st599_uk
Posts: 1092
Joined: 4 Nov 2018, 8:59pm

Re: Path/GPX animation

Post by st599_uk »

doxsey@gmail.com wrote: 31 Mar 2021, 8:35pm
ConRAD wrote:
sjs wrote:I have used https://www.mygpsfiles.com/app/ which will "replay" several gpx files on a map. Not as mp4, just in a browser. A bit buggy though. Or perhaps I just hadn't quite got the hang of it.
... but that's just a static viewer ... what I'd like is a dynamic rendering picture ... ie my position dynamically moving on a map.
RELIVE DOES IT but as I said above you must feed it with a "real" track recording and not just with an "artificial" generated gpx file (like the one that you can gety from basecamp/ridewithgps/openrunner/etc.


You can definitely do this with GPX Animator as I've just tried it out with a gpx from RideWithGPS. You have to use the "Forced Point Time Interval Option" which I set to 10 minutes for a ride of 100 miles, although other values didn't seem to make any difference to the final video.

Documentation for GPX animator is poor at present but the app is superb and in the UK I can (legally) incorporate Ordnance Survey maps and OSM maps using official API keys (which are free) and change the zoom level of the overall trail. Well worth the effort to get to grips with it.
Could you explain a bit more on the adding of API keys, are they added to the maps.xml file? https://raw.githubusercontent.com/zdila ... s/maps.xml

Would like to use OS mapping and also add in some of the funky maps that are available based on OSM data: https://leaflet-extras.github.io/leafle ... s/preview/
A novice learning...
“the dreamers of the day are dangerous men, for they may act their dreams with open eyes, to make it possible.”
User avatar
ConRAD
Posts: 761
Joined: 20 May 2010, 10:55am

Re: Path/GPX animation

Post by ConRAD »

... definitely still investigating on the subject ... confident that somebody will surely showup with even a somehow better presentation....

Image
Image
User avatar
geomannie
Posts: 1093
Joined: 13 May 2009, 6:07pm

Re: Path/GPX animation

Post by geomannie »

Plotaroute?

It animates any GPX you create. An example https://www.plotaroute.com/route/919273
geomannie
Psamathe
Posts: 17650
Joined: 10 Jan 2014, 8:56pm

Re: Path/GPX animation

Post by Psamathe »

I had a play using Google Earth to animate a gpx track and it can be quite pretty except it really highlights altitude issues. I even tried removing the altitude from the gpx and letting Google Earth tie the track to ground but that must be interpolation based so sometimes still flying above ground level then ducking below ground level. So works best on flat and level rides.

Ian
User avatar
ConRAD
Posts: 761
Joined: 20 May 2010, 10:55am

Re: Path/GPX animation

Post by ConRAD »

geomannie wrote: 13 Apr 2021, 9:01pm... Plotaroute?...
It seems very interesting, I'm trying to register but something for some reason is going wrong!!
Do you know whether it's possible to download an mp4 or anything alike?
Image
User avatar
geomannie
Posts: 1093
Joined: 13 May 2009, 6:07pm

Re: Path/GPX animation

Post by geomannie »

ConRAD wrote: 14 Apr 2021, 1:02pm
geomannie wrote: 13 Apr 2021, 9:01pm... Plotaroute?...
It seems very interesting, I'm trying to register but something for some reason is going wrong!!
Do you know whether it's possible to download an mp4 or anything alike?
AFAIK you can't download an MP4, but you could try to capture one using software like Wink https://www.debugmode.com/wink/
geomannie
User avatar
ConRAD
Posts: 761
Joined: 20 May 2010, 10:55am

Re: Path/GPX animation

Post by ConRAD »

geomannie wrote: 14 Apr 2021, 1:50pm...AFAIK you can't download an MP4, but you could try to capture one using software like Wink https://www.debugmode.com/wink/
.. thank you, maybe the "go-premium" version can do the mp4 straightforward!!
Image
User avatar
geomannie
Posts: 1093
Joined: 13 May 2009, 6:07pm

Re: Path/GPX animation

Post by geomannie »

ConRAD wrote: 14 Apr 2021, 8:05pm
geomannie wrote: 14 Apr 2021, 1:50pm...AFAIK you can't download an MP4, but you could try to capture one using software like Wink https://www.debugmode.com/wink/
.. thank you, maybe the "go-premium" version can do the mp4 straightforward!!
I have paid for premium access (well worth buying) but I can't see any way of downloading an animation. There are options to download as various image formats but nothing animated that I can see.

Cheers
geomannie
User avatar
geomannie
Posts: 1093
Joined: 13 May 2009, 6:07pm

Re: Path/GPX animation

Post by geomannie »

FWIW, using the Plotaroute animation & using an Android phone app called Screen Recorder, here is a Twitter link to a route animation I recorded as an MP4 on my phone. Works ok I think.
https://twitter.com/geomannie531/status ... 58594?s=19
geomannie
User avatar
ConRAD
Posts: 761
Joined: 20 May 2010, 10:55am

Re: Path/GPX animation

Post by ConRAD »

…. it works!!

Image
Image
Post Reply