Skip to content

gpx-animator/gpx-animator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

GPX Animator

All Contributors

Introduction

GPX Animator generates a top-down view map video from one or more GPX files generated by most standard GPS tracking devices.

GPX Animator has a graphical user interface that works on most operating systems, but works with a pure command-line interface as well.

More information and downloadable executables can be found at https://gpx-animator.app.

Basic usage

# help
java -jar gpx-animator-x.y.z-all.jar --help

# create movie with default settings
java -jar gpx-animator-x.y.z-all.jar --input track.gpx

(where x.y.z refers to the version of the jar you built or downloaded)

Advanced command line example

This example takes GPX file input.gpx as input, uses Google Maps as background map, makes the background non-transparent, makes the map movable by placing a 640x640 viewport over the map, forces the video to be 120000ms (2 minutes) long, makes the dot trail 10000ms (10 seconds) long, pre-draws the full track in grey (RGB color code #808080), hides the attribution overlay, and places the default information (lat/lng, speed, time) overlay at the bottom left. Output is stored in movie.mp4.

java -jar ./build/libs/gpx-animator-x.y.z-all.jar
	  --tms-url-template 'https://mt1.google.com/vt/lyrs=m&x={x}&y={y}&z={zoom}'
	  --background-map-visibility 1.0
	  --viewport-height 640 --viewport-width 640
	  --total-time 120000
	  --tail-duration 10000
	  --pre-draw-track true
	  --pre-draw-track-color '#808080'
	  --attribution-position hidden
	  --information-position 'bottom left'
	  --input input.gpx
	  --output movie.mp4

(where x.y.z refers to the version of the jar you built or downloaded)

Contributors

Special thanks for all these wonderful people who had helped this project so far (emoji key):

Marcus Fihlon
Marcus Fihlon

๐Ÿ“† ๐Ÿค” ๐Ÿ’ป
Martin ลฝdila
Martin ลฝdila

๐Ÿ“† ๐Ÿค” ๐Ÿ’ป
n76
n76

๐Ÿ’ป
Markus Schmidlin
Markus Schmidlin

๐Ÿ’ป
Franรงois Martin
Franรงois Martin

๐Ÿ’ป
Maebli
Maebli

๐Ÿ’ป
rindy22
rindy22

๐Ÿค” ๐Ÿ’ป
Andy Oakey
Andy Oakey

๐Ÿ’ป
fgaignat
fgaignat

๐Ÿ’ป
charlysog
charlysog

๐Ÿ›
waschulte
waschulte

๐Ÿ›
Donato Wolfisberg
Donato Wolfisberg

๐Ÿ’ป
Gal Zahavi
Gal Zahavi

๐Ÿ’ป
poorlymac
poorlymac

๐Ÿ’ป
Antonio D Barber
Antonio D Barber

๐Ÿ’ป
herrwusel
herrwusel

๐Ÿ›
Ramiro Martรญnez Pinilla
Ramiro Martรญnez Pinilla

๐Ÿ›
Peter Droogers
Peter Droogers

๐Ÿ›
Friso van Wieringen
Friso van Wieringen

๐Ÿ›
Thomer Gil
Thomer Gil

๐Ÿ› ๐Ÿ’ป
mundry
mundry

๐Ÿ’ป
Thรฉo Chamley
Thรฉo Chamley

๐Ÿ’ป
triskaidekafeliks
triskaidekafeliks

๐Ÿ’ป
krugerk
krugerk

๐Ÿ›
peacecop kalmer:
peacecop kalmer:

๐Ÿ›
rneppi
rneppi

๐Ÿ›
szolnokit
szolnokit

๐Ÿ› ๐Ÿš‡ ๐Ÿ’ป
Franz Krรถpfl
Franz Krรถpfl

๐Ÿ›
Stefan WeiรŸwange
Stefan WeiรŸwange

๐Ÿ›
Stefano Cordio
Stefano Cordio

๐Ÿ’ป
Interactiondesigner
Interactiondesigner

๐ŸŽจ
Andrey N.
Andrey N.

๐Ÿ’ป
Hendrik
Hendrik

๐Ÿ› ๐Ÿ’ป
FadriPestalozzi
FadriPestalozzi

๐Ÿ’ป
blacksun777
blacksun777

๐Ÿ’ป
Patrick Reinhart
Patrick Reinhart

๐Ÿ’ป
Daniel Mischler
Daniel Mischler

๐Ÿ’ป
Andrey
Andrey

๐Ÿ’ป

Contributing

Good First Issues

For your first contribution to this repository, you can take a look at the issues listed here: Good first issue.

Gitpod Online IDE

You can open this project in a preconfigured Gitpod online IDE based on Theia (Visual Studio Code) and edit, run, test, debug and commit directly from your browser.

Open in Gitpod

Slack Channel

There is a public Slack channel for GPX Animator available, which is hosted by the Java User Group Switzerland. If you are not already a member of this workspace, you can request a free invitation link with your email address (and nothing more) here: Join Slack Workspace.

After you have entered the Slack Workspace, join the #gpx-animator channel.

Build

GPX Animator uses the Gradle build system to build a JAR file. You do not need Gradle installed on your system. This project uses the Gradle Wrapper.

./gradlew assemble
# successful build puts .jar file in build/libs/

After a successful build, the JAR file can be found in the build/libs/ directory.

Tests can be temporarily skipped by running

./gradlew assemble -x test

Run

To run GPX Animator from source:

./gradlew run

To run GPX Animator from source with command line parameters:

./gradlew run --args="--input ./src/test/resources/gpx/bikeride.gpx --output test.mp4"

If necessary, the project will be (re)compiled.

Test

To run tests in src/test/:

./gradlew test

GPX Animator as Lib

if you want use GPX Animator as Lib see manual

Gradle

  1. Add the JitPack maven repository to the list of repositories: jitpack
repositories {
	....
	maven { url 'https://jitpack.io' }
}
  1. Add the dependency in dependencies block: 'com.github.gpx-animator:gpx-animator:{TAG}'
dependencies {
    ...
    implementation 'com.github.gpx-animator:gpx-animator:v1.8.2'
}

Maven

  1. Add the JitPack maven repository to the list of repositories: jitpack
<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>
  1. Add the dependency in dependencies block:
<dependency>
    <groupId>com.github.gpx-animator</groupId>
    <artifactId>gpx-animator</artifactId>
    <version>Tag</version>
</dependency>

see details jitpack.io/#gpx-animator/

Related projects

  • gopro-map-sync: uses GPX Animator to synchronize a moving map video with GoPro footage.

Credits

Icons included in application and their source:

Sounds included in application and their source:

Test files (GPX files and images) and their source:

To create the installers, we use a free license of Install4J for open-source projects.

Install4J multi-platform installer builder