Tools for computing various statistics related to Geocaching/Opencaching.
 
 
 
Go to file
Tomasz Goliński 91fc2ff7e4 Support for HTML output together with a sample CSS style 2019-11-04 21:13:20 +01:00
.clang-format
.gitignore
Dolnoslaskie.png
Europe.png
Kujawsko-Pomorskie.png
Lodzkie.png
Lubelskie.png
Lubuskie.png
Malopolskie.png
Mazowieckie.png
Opolskie.png
Podkarpackie.png
Podlaskie.png
Poland.png
Poland_big.png
Poland_relief.png
Pomorskie.png
README.md
Slaskie.png
Swietokrzyskie.png
Warminsko-Mazurskie.png
Wielkopolskie.png
Zachodniopomorskie.png
api.h
cache.cpp Support for HTML output together with a sample CSS style 2019-11-04 21:13:20 +01:00
cache.h Support for HTML output together with a sample CSS style 2019-11-04 21:13:20 +01:00
config_user_example.h
debug.cpp
debug.h
geo.css Support for HTML output together with a sample CSS style 2019-11-04 21:13:20 +01:00
geodb.cpp
geostat.cpp Support for HTML output together with a sample CSS style 2019-11-04 21:13:20 +01:00
gpx.cpp
gpx.h
heat.cpp
heat.h
maps.h
meson.build
ocdb.cpp
ocdb.h
okapi.cpp
okapi.h

README.md

GEOSTAT

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)
	-e	use exponential to flatten the heat map
	-m map	chosen map: Poland, Poland_relief, Poland_big, Europe or a name of voivodeship (default = Poland)
	-L	print all caches
	-T	print D/T matrix
	-O	print owner count for found caches
	-Y	print types count for found caches
	-h	display this help screen

Installation

To compile it requires:

To build the project copy config_user_example.h to config_user.h and fill it out (at least API key is needed). Then run meson build; cd build; ninja. You might need to set CXX variable to point to a correct compiler.

Credits

  • Maps of Poland Poland.png and Poland_big.png come from https://pl.wikipedia.org/wiki/Plik:Poland_location_map.svg and are licensed 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 licensed under CC-BY-SA.

  • Map of Europe Europe.png comes from https://pl.wikipedia.org/wiki/Plik:Europe_location_map.svg and is licensed under PD.

  • Maps of Voivodeships of Poland come from https://commons.wikimedia.org/wiki/File:Podlaskie_Voivodeship_location_map.svg, https://commons.wikimedia.org/wiki/File:Pomeranian_Voivodeship_location_map.svg, https://pl.wikipedia.org/wiki/Plik:Kuyavian-Pomeranian_Voivodeship_location_map.svg, https://pl.wikipedia.org/wiki/Plik:Warmian-Masurian_Voivodeship_location_map.svg, https://pl.wikipedia.org/wiki/Plik:Masovian_Voivodeship_location_map.svg, https://pl.wikipedia.org/wiki/Plik:Lesser_Poland_Voivodeship_location_map.svg, https://pl.wikipedia.org/wiki/Plik:Greater_Poland_Voivodeship_location_map.svg, https://pl.wikipedia.org/wiki/Plik:Opole_Voivodeship_location_map.svg, https://pl.wikipedia.org/wiki/Plik:Lower_Silesian_Voivodeship_location_map.svg, https://pl.wikipedia.org/wiki/Plik:Silesian_Voivodeship_location_map.svg, https://pl.wikipedia.org/wiki/Plik:Lublin_Voivodeship_location_map.svg, https://pl.wikipedia.org/wiki/Plik:Subcarpathian_Voivodeship_location_map.svg, https://pl.wikipedia.org/wiki/Plik:West_Pomeranian_Voivodeship_location_map.svg, https://pl.wikipedia.org/wiki/Plik:%C5%9Awi%C4%99tokrzyskie_Voivodeship_location_map.svg, https://pl.wikipedia.org/wiki/Plik:Lubusz_Voivodeship_location_map.svg, https://pl.wikipedia.org/wiki/Plik:%C5%81%C3%B3d%C5%BA_Voivodeship_location_map.svg and are licensed under CC-BY-SA.