about summary refs log tree commit diff
path: root/src/inc/making-the-map.htm
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2026-09-22 19:04:43 +0200
committerRobert Günzler <r@gnzler.io>2026-09-22 22:54:29 +0200
commit45b882af8d69bde7d6959c52ea6e92b91ba93962 (patch)
treee1235b8c3e780e361c9634127feb8f7301ea2432 /src/inc/making-the-map.htm
parente8fc8b47f957dc03981e72eb4e2289bcb05da9c3 (diff)
downloadsite-45b882af8d69bde7d6959c52ea6e92b91ba93962.tar.gz
*
Automated-commit-by: commitall
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to 'src/inc/making-the-map.htm')
-rw-r--r--src/inc/making-the-map.htm52
1 files changed, 52 insertions, 0 deletions
diff --git a/src/inc/making-the-map.htm b/src/inc/making-the-map.htm
new file mode 100644
index 0000000..18ad0fd
--- /dev/null
+++ b/src/inc/making-the-map.htm
@@ -0,0 +1,52 @@
+<p>
+	I run <a href="https://github.com/tess1o/geopulse">geopulse</a>
+	and log my
+	current position to it using <a href="https://gpslogger.app/">gpslogger</a>.
+	while the details might change i always want something like this: a way to
+	know where i've been at any given point in time.
+</p>
+
+<p>
+	Some years ago i was gifted a map which would have you scratch out countries
+	you had visited. I wanted something like that, but digital and ideally created
+	automatically.
+</p>
+
+<p>
+	Since I had an upcoming trip to Japan, my goal was simple: setup enough of a
+	system to turn my gps logs into "unlocked prefectures".
+</p>
+
+<h2>challenge 1: get the boundary data</h2>
+
+<p>
+	https://osm-boundaries.com
+</p>
+
+<h2>challenge 2: get the gps logs from gepulse</h2>
+
+<p>
+	geopulse is at the core an instance of <a href="https://postgis.net/">postgis</a>
+	and Java service + frontend. I just have to connect to the database and select
+	mytime window of logs to process.
+</p>
+
+<code>
+	TODO
+</code>
+
+<h2>challenge 3: match to boundary=administrative</h2>
+
+<p>
+	I use <a href="#geopandas">geopandas</a>
+	for the spatial calculations and
+	process the final result into <a href="#protomaps">pmtiles</a>
+	using
+	<a href="#tippecanoe">tippecanoe</a>.
+</p>
+
+<h2>challenge 4: building the map</h2>
+
+<p>
+	maplibre duh
+</p>