Create vector tile map server on Raspberry Pi
Requirements
Raspberry Pi 4B 8GB
USB Type-C power supply cable
Power Adapter for USB cable
Storage Device
microSD card
USB SSD (recommended)
LAN cable
LAN router
Use USB SSD as boot drive on Raspberry Pi
Build Wi-Fi AP with Raspberry Pi
Steps
Download and Install Raspberry Pi Imager
Raspberry Pi OS – Raspberry Pi
Write Raspberry Pi OS Lite (64-bit) to Storage Device
Important: Create empty file named ssh at boot drive
Connect LAN cable to Raspberry Pi
Connect power supply cable to Raspberry Pi
Login via SSH
code:bash
ssh pi@raspberrypi.local
Important: Enable SSH
sudo raspi-config nonint do_ssh 1
Setup Docker on Raspberry Pi (Raspbian)
Install and make vector-tile-builder
code:bash
sudo apt install git -y
git clone -b main --depth 1 https://github.com/yuiseki/vector-tile-builder.git
cd vector-tile-builder
cp .env.local .env
make
Launch map server
code:bash
make start
Open http://raspberrypi.local/