wiederkehr / topotrack-r

A script to plot GPS tracks onto 2D or 3D topographic maps.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Topotrack R

A script to plot GPS tracks onto 2D or 3D topographic maps.

Install

  • This script has been developed with R version 3.6.3.
  • This script requires XQuartz to render the 3D view on macOS 10.9 or later.

Dependencies

  • av: Tools for working with audio and video.
  • elevatr@0.2.0: Tools for accessing elevation data from various APIs.
  • plyr: Tools for splitting, applying, and combining data.
  • raster: Tools for reading, writing, manipulating, analyzing and modeling of spatial data.
  • rayshader: Tools for creating and visualizing data in 2D and 3D.
  • sf: Standardized way to encode spatial vector data.
  • sp: Tools for working with spatial data.
  • XML: Tools for parsing and creating XML.

Usage

  • Replace the GPS file track.gpx with your own track in the working directory.
  • Replace the path to the working directory in setwd.

Credits

Contributing

  • Please submit questions and comments as issues.

License

MIT License

Copyright (c) 2021 Benjamin Wiederkehr

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A script to plot GPS tracks onto 2D or 3D topographic maps.


Languages

Language:R 100.0%