aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
AgeCommit message (Collapse)Author
2023-03-13implement "proper" tile hunter modeDaniel Schadt
Now with fixed zoom level for the hunting.
2023-03-11first implementation of tile hunter modeDaniel Schadt
This is a very basic idea, the downside is that you basically cannot "fix" the tilehunt overlay to a specific zoom level. It might be nice to get a second renderer that renders the tile hunt for a fixed zoom, and then adjusts the output tiles accordingly (then it also takes more space again though).
2023-03-11abstract away tile rendering logicDaniel Schadt
This is in prepration for the tilehunt mode, where we want to render tiles differently.
2023-01-18add support for SQLite outputDaniel Schadt
2023-01-17factor out saving logicDaniel Schadt
Since we want to support SQLite at some point, it makes sense to have the exact storage method abstracted away.
2023-01-17parallelize reading of GPX filesDaniel Schadt
This is another pretty CPU bound task (parsing the XML files), so it makes sense to parallelize. We already have rayon, we already have the setting to control parallelism, so let's use it and make hittekaart fast!
2023-01-16import modules from crate instead of re-definingDaniel Schadt
This is a bit more DRY, as we only have one place where we need to list all submodules. It does not give us the "unused function" warning anymore, but we can maybe find a different solution for that?
2023-01-16use a single thread to write out filesDaniel Schadt
It seems like this does not make the encoding slower, and the main point is that we might want to support SQLite storage for the tiles, in which case it might be good to have only one writer. Even with the FS-based approach, maybe it's good to have a single thread responsible for writing everything, and not hammer the OS with 16 write requests at once.
2023-01-14add support for reading brotli and gzip filesDaniel Schadt
2023-01-14add a cli option for the output directoryDaniel Schadt
2023-01-14make number of threads configurable per CLIDaniel Schadt
2023-01-14start on a proper CLIDaniel Schadt
This involves actual command line arguments, and more progress bars!
2023-01-12parallelize PNG encodingDaniel Schadt
This gives a massive speedup
2023-01-12make progress bars a bit nicerDaniel Schadt
2023-01-11add some first benchmarksDaniel Schadt
2023-01-08Initial commitDaniel Schadt