diff options
| author | Daniel Schadt <kingdread@gmx.de> | 2026-05-05 11:41:35 +0200 |
|---|---|---|
| committer | Daniel Schadt <kingdread@gmx.de> | 2026-05-05 11:41:35 +0200 |
| commit | 3dda6b0330446a5e070090ba4de0e0d41ad1503a (patch) | |
| tree | 1105aec647e35522d724ea0a1b72683c8072cb58 | |
| parent | cf6ac862cb0d04e39adf6ad66a128597043976a9 (diff) | |
| download | fietsboek-3dda6b0330446a5e070090ba4de0e0d41ad1503a.tar.gz fietsboek-3dda6b0330446a5e070090ba4de0e0d41ad1503a.tar.bz2 fietsboek-3dda6b0330446a5e070090ba4de0e0d41ad1503a.zip | |
make hittekaart available by default
| -rw-r--r-- | doc/administration/configuration.rst | 14 | ||||
| -rw-r--r-- | pyproject.toml | 7 |
2 files changed, 7 insertions, 14 deletions
diff --git a/doc/administration/configuration.rst b/doc/administration/configuration.rst index 24c5fdb..98f3592 100644 --- a/doc/administration/configuration.rst +++ b/doc/administration/configuration.rst @@ -221,15 +221,12 @@ true``. This will cause the tiles to be loaded directly by the client. 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``. +Fietsboek can use hittekaart_ to generate heat maps for users. -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. +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. By default, ``hittekaart`` will use as many threads as CPU cores are available. This leads to the fastest heatmap generation, but might be undesired on shared @@ -253,7 +250,6 @@ An example configuration excerpt can look like this: .. code-block:: ini - hittekaart.bin = /usr/local/bin/hittekaart hittekaart.autogenerate = heatmap tilehunter hittekaart.threads = 2 diff --git a/pyproject.toml b/pyproject.toml index 748a6ac..e5b0eaf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,6 +44,8 @@ dependencies = [ "pillow (>=12.0.0, <13.0.0)", "typst (>=0.14.1,<0.15.0)", "matplotlib (>=3.10.7,<4.0.0)", + + "hittekaart-py @ git+https://gitlab.com/dunj3/hittekaart@013dc01683c42177e132847475c8b57d1a67fc14#subdirectory=hittekaart-py", ] [project.urls] @@ -51,11 +53,6 @@ documentation = "https://docs.fietsboek.org/" homepage = "https://fietsboek.org/" repository = "https://gitlab.com/dunj3/fietsboek" -[project.optional-dependencies] -hittekaart = [ - "hittekaart-py @ git+https://gitlab.com/dunj3/hittekaart@013dc01683c42177e132847475c8b57d1a67fc14#subdirectory=hittekaart-py", -] - [tool.poetry] classifiers = [ 'Development Status :: 3 - Alpha', |
