All Projects → zappingseb → rayshaderanimate

zappingseb / rayshaderanimate

Licence: other
Animate GPX data on a 3D map

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to rayshaderanimate

GPS-Video-Logger
Android App to record video and track GPS data simultaneously. GPS Logger with Video. GPS and video recording.
Stars: ✭ 17 (-37.04%)
Mutual labels:  gpx
nrc-exporter
Download your runs data from Nike Run Club and convert it to GPX format that can be imported in other running apps.
Stars: ✭ 78 (+188.89%)
Mutual labels:  gpx
iOS-Geofence-Demo
Setup Geofences and get notifications when the device enters or leaves the geofence.
Stars: ✭ 71 (+162.96%)
Mutual labels:  gpx
garmin-connect-export
Downloads gpx, tcx or original fit files from your Garmin Connect Account.
Stars: ✭ 42 (+55.56%)
Mutual labels:  gpx
wp-plugin-trackserver
A WordPress plugin for GPS tracking and publishing
Stars: ✭ 34 (+25.93%)
Mutual labels:  gpx
gc-gpx-viewer
Geocaching GPX Viewer is a web app to display caches from a gpx file on a map.
Stars: ✭ 24 (-11.11%)
Mutual labels:  gpx
LocationMapViewer
Android App to view Locations in a map with support for gpx, kml and kmz data
Stars: ✭ 31 (+14.81%)
Mutual labels:  gpx
gpx-interpolate
Python function to interpolate GPX data using piecewise cubic Hermite splines
Stars: ✭ 35 (+29.63%)
Mutual labels:  gpx
Strava-local-heatmap
Python script to generate a high resolution heatmap from Strava GPX files
Stars: ✭ 102 (+277.78%)
Mutual labels:  gpx
togeojson
convert KML, TCX, and GPX to GeoJSON, without the fuss
Stars: ✭ 315 (+1066.67%)
Mutual labels:  gpx
GeoConvert
Converting between Geojson and GIS file formats
Stars: ✭ 32 (+18.52%)
Mutual labels:  gpx
strava-uploader
utility to migrate Runkeeper data (GPX and CSV) to Strava
Stars: ✭ 72 (+166.67%)
Mutual labels:  gpx
google maps
🗺 An unofficial Google Maps Platform client library for the Rust programming language.
Stars: ✭ 40 (+48.15%)
Mutual labels:  elevation-data
TET
TET- Trans Euro Trail - Public Files
Stars: ✭ 27 (+0%)
Mutual labels:  gpx
django-for-runners
Store your GPX tracks of your running (or other sports activity) in django.
Stars: ✭ 49 (+81.48%)
Mutual labels:  gpx
stravaV10
Open source bike GPS: with Strava segments !
Stars: ✭ 34 (+25.93%)
Mutual labels:  gpx
pentaho-gis-plugins
🗺 GIS plugins for Pentaho Data Integration
Stars: ✭ 42 (+55.56%)
Mutual labels:  gpx
open route service
An encapsulation made around openrouteservice API for Dart and Flutter projects. Made for easy generation of Routes and Directions on Maps, Isochrones, Time-Distance Matrix, Pelias Geocoding, POIs, Elevation and routing Optimizations using their amazing API.
Stars: ✭ 20 (-25.93%)
Mutual labels:  elevation-data
xavc rtmd2srt
Extract real time meta-data and GPS tracks from Sony XAVC video
Stars: ✭ 29 (+7.41%)
Mutual labels:  gpx
gpx-converter
python package for manipulating gpx files and easily converting gpx to other different formats
Stars: ✭ 54 (+100%)
Mutual labels:  gpx

Build Status

rayshaderanimate

A package to animate a GPX path on a 3d landscape - with rayshader

Purpose

This package shall be used to create a 3d flyover video of a GPX path. You can imagine a cycling trip or a hike. You did it with a GPX tracker. This data shall now be plotted onto a 3d landscape. This is what this package will do for you.

As an example the package contains one of my cycling trips at the 21 hard hairpin bends of Alpe d'Huez. You can go through the vignette of this package which explains How to create the video? or read my blog article about the package.

Final videos

as a gif

as a mp4

https://www.youtube.com/watch?v=iEqoR-HpKeU

Functionality

Getting started:

devtools::install_github("zappingseb/rayshaderanimate")

How to create a video?

Please go step by step through the vignette: How to create the video?.

API

GPX read functions

Read in a gpx file to a table

get_table_from_gpx()

Enrich the table with distance and speed measures. Convert it to a boundary box

get_enriched_gpx_table()

get_bbox_from_gpx_table()s

Elevation data functions

Elevation data can be downloaded from SRTM or be directly added by an EUDEM file.

el_mat <- get_elevdata_from_bbox()

el_mat_eudem <- get_elevdata_from_bbox(bbox = bbox,
  type ="EUDEM",
  file = "eu_dem_v11_E40N20/eu_dem_v11_E40N20.TIF")
  
get_elevdata_long(el_mat)

Output plot functions

Two functions are provided for 2D outputs within this package:

# Animate GPX line on 2d plot
plot_2d_animation()

# Plot a 2D raster of the bbox
plot_2d_elevdata()

Creating a video

To create a video there is just the function video_animation() which will do the most important job of this package. Rendering the video.

To create a video on shere shades there is the function video_animation_rayshade() which will render an even nicer story video:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].