Code Monkey home page Code Monkey logo

runway's Introduction

runway

suggest running tracks on an interactive map

https://brry.shinyapps.io/runway
https://brry.github.io/runway

usage

Zoom / pan to the area of interest, then click on get running tracks.
The app will download OSM "highway" elements, remove large roads, categorize the remaining tracks and display them on the leaflet map. Each segment can be clicked for more information.

Hopefully, this will also aid others to find runnning tracks, as the OSM maps will only display those at high zoom levels, where they also look very similar to administrative boundaries.

further features

Besides displaying tracks, GPX tracks can be imported and displayed, along with popup information for each recorded coordinate and a km-counter.
This has only been tested for GPX files exported from OSMtracker for Android; Let me know if this feature needs more development.

A measurement tool and a selection of base maps for the background are available as well. Both work best without any tracks downloaded.

This repository contains the app source code along with a GPX example file.
The app is entirely written in R (a language mainly for data analysis, visualisation and statistics) and heavily relies on the leaflet and shiny packages.

background information

This app was created in December 2019 by Berry Boessenkool. Any feedback is welcome.
If you like my work, feel free to recommend me as R trainer and consultant.
This project is licenced under CC-BY, so use the source (Luke) as you like, but please do cite me.

runway's People

Contributors

brry avatar

Stargazers

 avatar

Watchers

 avatar  avatar

runway's Issues

map performance is suboptimal

  • after adding tracks, panning with a non-default bg map causes leaflet to reset to OSM bg
  • sometimes, the app reloads map frantically after get tracks, then zoom in, then pan

pan/zoom to layer group

Would be a cool feature:
enable pan/zoom to layer group, e.g. to gpx or tracks.

I researched a tiny bit but didn't find anything.
Unless there are +1 requests in this thread, this will probably never get implemented.

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.