Tomasz Golinski
dc6d088479
Add maps of a few cities for testing
2023-01-31 01:36:26 +01:00
Tomasz Golinski
bde35a83b4
Fix FTF code, I don't know what changed, was cache_id really reported as string before?
2022-09-30 21:29:08 +02:00
Tomasz Golinski
fdce7bc17c
Cppcheck: add some consts
2022-09-01 17:23:29 +02:00
Tomasz Golinski
6cbd0e6efa
Do not install extra files for now
2022-07-20 15:01:03 +02:00
Tomasz Golinski
5573a6d929
Try to prepare standalone library to hold common code
2022-07-20 14:22:11 +02:00
Tomasz Golinski
d4d8011be1
Add some more data to powertrails table
2022-07-18 22:13:27 +02:00
Tomasz Golinski
30d38d8fc4
Precompute treshold for powertrails, note rounding is always up
2022-07-18 22:12:31 +02:00
Tomasz Golinski
6706ef9898
Grab more data about powertrails (type, active caches)
2022-07-18 19:36:46 +02:00
Tomasz Golinski
637a637626
Move constants around
2022-07-18 19:05:52 +02:00
Tomasz Golinski
d33957af6c
Fix segfault in traildb by fixing shallow copy of PowertrailDB
2022-07-18 19:00:48 +02:00
Tomasz Golinski
add9b37d2a
Fix rounding and optimize code a bit
2022-07-15 20:26:07 +02:00
Tomasz Golinski
70499296d7
clang-format
2022-07-14 14:47:15 +02:00
Tomasz Golinski
d00a852295
Move some constants (like urls) to common.h
2022-07-14 14:39:47 +02:00
Tomasz Golinski
277cdc058e
Protect OCpl only features like FTF and trails with if, so they don't appear for other users
2022-07-14 14:27:22 +02:00
Tomasz Golinski
91d250cb3a
Replace trails histogram with a table and add some convenience functions to powertrail.h
2022-07-14 14:23:30 +02:00
Tomasz Golinski
68813370b0
Apparently some OC sites store internal_id as a string (e.g. OCde)
2022-07-13 21:22:11 +02:00
Tomasz Golinski
3d5887218b
Add links in histogram of powertrails
2022-07-13 19:52:55 +02:00
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