Tomasz Golinski
5cc8291488
Add some more uint
2022-07-13 19:40:26 +02:00
Tomasz Golinski
6de198b9c6
Templates for common functions like average or sum
2022-07-13 18:56:48 +02:00
Tomasz Golinski
d673bdd7b9
cppcheck partial cleanup
2022-07-13 18:37:55 +02:00
Tomasz Golinski
89e9b4d8c6
Change some int to uint and thus silence warnings
2022-07-13 18:30:26 +02:00
Tomasz Golinski
87b35c5594
Try to write each "see more" entry in new line
2022-07-13 17:48:27 +02:00
Tomasz Golinski
54b077de6d
Include list of FTFs
2022-07-13 01:11:44 +02:00
Tomasz Golinski
fc0372a887
Minor style updates
2022-07-12 12:55:11 +02:00
Tomasz Golinski
ffa05441c7
Rudimentary power trail support
...
Relies on pre-existing JSON databases generated by traildb. Note that completion of trail is calculated basing on current treshold and number of caches.
2022-07-12 12:54:56 +02:00
Tomasz Golinski
fd8ceea907
Make explicit conversion to string in JSON parsing
...
For some reason old code no longer works, but including explicit request for string fixes the problem.
2022-05-16 21:11:43 +02:00
Tomasz Golinski
59d8b7007c
Fix debug so that multithreaded output doesn't overlap (not needed here, just for consistency with other projects)
2021-10-07 14:58:52 +02:00
Tomasz Golinski
dcaa8fbf71
Merge branch 'master' of gitlab.com:tomaszg/geostat
2021-09-05 19:47:19 +02:00
Tomasz Golinski
c29f97546a
Add distance to the Moon
2021-09-05 19:47:13 +02:00
Tomasz Golinski
47f7edf3bc
Add countries histogram
2021-09-05 19:44:44 +02:00
Tomasz Golinski
dc1bcdb009
Add per row completion percentage to some tables
2021-09-05 19:36:33 +02:00
Tomasz Golinski
c133eb70ca
Comment out highest rating table, it's rather pointless.
2021-08-08 19:18:51 +02:00
Tomasz Golinski
f4dd497639
Add region info to tables.
2021-08-08 19:15:12 +02:00
Tomasz Golinski
6e959ea058
Fix for heatmap powiaty making output colored
...
Background image was grayscale and IM needed to be told to promote it to color.
2021-07-27 23:47:06 +02:00
Tomasz Golinski
8ef3e92ca3
cppcheck: fix for possibly undefined field
2021-06-01 21:26:52 +02:00
Tomasz Golinski
38d0003f06
Avoid some nan with new caches
2021-05-10 22:17:03 +02:00
Tomasz Golinski
c62045492b
Disable months not possible on OCDE and OCPL in hidden month matrix
2021-05-06 00:54:34 +02:00
Tomasz Golinski
43aebec5fd
Fix more trivial mistakes in calculations
2021-05-06 00:15:43 +02:00
Tomasz Golinski
a76df5e753
Fix broken if. Works only for OCPL and OCDE
2021-05-05 23:55:01 +02:00
Tomasz Golinski
5f6f8c7acc
Include stats for hidden month matrix
2021-05-05 23:53:11 +02:00
Tomasz Golinski
cfbacb2c0d
Include owner in geolist
2021-05-05 23:13:04 +02:00
Tomasz Golinski
5cfd28ff42
Add codes tag to all other matrices, missing bits
2021-04-20 22:47:20 +02:00
Tomasz Golinski
ff95bc6be4
Replace long map type by correct typedef
2021-04-20 22:44:03 +02:00
Tomasz Golinski
4d2c947c08
Add explicit dependency on Boost to meson.build. Not sure why can't use only one module.
2021-04-20 22:42:09 +02:00
Tomasz Golinski
25ae4af2a8
Add codes tag to all other matrices
2021-04-20 22:41:20 +02:00
Tomasz Golinski
0a7383ba64
Experimentally add codes tag to D/T matrix
2021-04-20 20:20:19 +02:00
Tomasz Golinski
23fb4f850a
geolist: remove unnecessary code
2021-04-20 20:11:12 +02:00
Tomasz Golinski
c906d61b98
Remove some unnecessary includes
2021-04-20 17:23:46 +02:00
Tomasz Golinski
b47297453e
Update README.md
2021-04-20 16:41:56 +02:00
Tomasz Golinski
64613df224
Add geolist tool
2021-04-20 16:37:15 +02:00
Tomasz Golinski
acc16d1dbf
Update README.md and usage notes
2021-04-20 16:35:18 +02:00
Tomasz Golinski
8bcd122621
geodb now reports current revision after update/init
2021-04-04 00:09:29 +02:00
Tomasz Golinski
f262101468
Might as well use M_PI instead of defining our own
2021-01-03 05:51:33 +01:00
Tomasz Golinski
1f558ef50d
Apparently database dump can contain cache codes with no data. Don't crash in that case
2021-01-03 04:52:34 +01:00
Tomasz Golinski
490714ec43
Make sure we don't crash on empty lists and we don't divide by zero
2021-01-03 04:51:54 +01:00
Tomasz Golinski
be8e2b783e
Remove toy code that got commited by mistake
2021-01-03 04:42:52 +01:00
Tomasz Golinski
24acae7625
Fix previous commits by using correct database file for OCde
2021-01-03 04:05:48 +01:00
Tomasz Golinski
4d4e62c89e
Fix previous commit removing duplicate bit of code
2021-01-03 04:04:00 +01:00
Tomasz Golinski
5f99c8019b
Fix ocdb to correctly read German cache names as well
2021-01-03 03:56:09 +01:00
Tomasz Golinski
d423d58714
Support local db for OCde in geostat_cli
2021-01-03 03:25:46 +01:00
Tomasz Golinski
afdc37aba1
Support local db for OCde in geostat
2021-01-03 03:21:11 +01:00
Tomasz Golinski
7539454052
SQL: fix previous commits by adding missing to_string
...
Removed part concerning the commit not picked
2021-01-03 03:03:16 +01:00
Tomasz Golinski
c7d8d8ee53
SQL: change log type to integer using enum
2021-01-03 03:00:42 +01:00
Tomasz Golinski
a98472eb1c
SQL: update comments with database layout
2021-01-03 03:00:42 +01:00
Tomasz Golinski
6aa8e1426e
SQL: change cache status to integer using pre-existing enum
2021-01-03 03:00:42 +01:00
Tomasz Golinski
e23fdcfcb8
Fix function to grab only ratings from OKapi - should use simpler OKapi call
2020-12-04 18:54:50 +01:00
Tomasz Golinski
9a13be52f0
Add some consts to make cppcheck happy
2020-12-04 18:51:00 +01:00