kopia lustrzana https://gitlab.com/tomaszg/geostat
54e240f910 | ||
---|---|---|
.clang-format | ||
.gitignore | ||
Poland.png | ||
Poland_relief.png | ||
README.md | ||
api.h | ||
cache.cpp | ||
cache.h | ||
config_user_example.h | ||
debug.cpp | ||
debug.h | ||
geostat.cpp | ||
gpx.cpp | ||
gpx.h | ||
heat.cpp | ||
heat.h | ||
meson.build | ||
okapi.cpp | ||
okapi.h |
README.md
GEOSTAT
Tools for computing various statistics related to Geocaching/Opencaching
Usage
Usage: [-p] [-g file] [-MDHh]
Generate stats from Opencaching data or GPX files.
* Data source:
-p use Opencaching.pl
-u user user for Opencaching
-g file use specified gpx file
* Output:
-M print geographically extreme caches
-D print furthest and closest caches
-H file render a heat map to a file
-s n stamp size for a heat map (default = 15)
-L print all caches
-T print D/T matrix
-h display this help screen
Installation
To compile it requires:
- C++20 compliler (e.g. GCC-9 or Clang-8).
- meson (at least 0.47.0) + ninja build system
- libcurl
- JSON for Modern C++: https://github.com/nlohmann/json
- gpxlib: http://irdvo.nl/gpxlib/
- ImageMagick or GraphicsMagick Magick++ library
To build the project run meson build; cd build; ninja
. You might need to set CXX
variable to point to a correct compiler.
Credits
Map of Poland Poland.png
comes from https://pl.wikipedia.org/wiki/Plik:Poland_location_map.svg
and is licenced under CC-BY-SA and GNU FDL.
Map of Poland Poland_relief.png
comes from https://commons.wikimedia.org/wiki/File:Relief_Map_of_Poland.svg
and is licenced under CC-BY-SA.