aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2023-04-03 21:15:17 +0200
committerDaniel Schadt <kingdread@gmx.de>2023-04-03 21:15:17 +0200
commit7ddf5e685ceff763f309df8d3ba43fb9762265a8 (patch)
tree46a7e25f790f1ea8bffd8eb20832269424cb3ec3 /doc
parent51b109c2452542d4ae0e7aef806040b77d1d3292 (diff)
downloadfietsboek-7ddf5e685ceff763f309df8d3ba43fb9762265a8.tar.gz
fietsboek-7ddf5e685ceff763f309df8d3ba43fb9762265a8.tar.bz2
fietsboek-7ddf5e685ceff763f309df8d3ba43fb9762265a8.zip
doc: document hittekaart configuration options
Diffstat (limited to 'doc')
-rw-r--r--doc/administration/configuration.rst34
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/administration/configuration.rst b/doc/administration/configuration.rst
index e77e3cc..d272234 100644
--- a/doc/administration/configuration.rst
+++ b/doc/administration/configuration.rst
@@ -213,3 +213,37 @@ true``. This will cause the tiles to be loaded directly by the client.
In addition, depending on the jurisdiction, you might be required to tell
your users that third party content is included in your site, and that
their IP will be accessible to the third party.
+
+Hittekaart Integration
+----------------------
+
+Fietsboek can use hittekaart_ to generate heat maps for users. For that, you
+can set ``hittekaart.bin`` to the path to the ``hittekaart`` binary. If unset,
+it is assumed that the binary can be found in your ``$PATH``.
+
+In addition, you can set ``hittekaart.autogenerate`` to the list of overlay
+maps you want to automatically generate and update. By default, this list is
+empty, which means that Fietsboek will not generate any overlays on its own.
+You can add ``heatmap`` and/or ``tilehunter`` to generate those maps
+automatically.
+
+.. note::
+
+ The ``hittekaart.autogenerate`` has no effect on the ``fietsctl
+ hittekaart`` command. You can always use ``fietsctl`` to generate heat maps
+ for specific users!
+
+.. warning::
+
+ Depending on the geospatial area that a user covers with their tracks, an
+ overlay map can get relatively large (~100 MiB for mine). Keep that in mind
+ when hosting a larger number of users.
+
+An example configuration excerpt can look like this:
+
+.. code-block:: ini
+
+ hittekaart.bin = /usr/local/bin/hittekaart
+ hittekaart.autogenerate = heatmap tilehunter
+
+.. _hittekaart: https://gitlab.com/dunj3/hittekaart