Crates.io | earthwyrm-bin |
lib.rs | earthwyrm-bin |
version | 0.8.1 |
source | src |
created_at | 2024-01-11 20:27:34.79362 |
updated_at | 2024-06-06 13:17:09.830072 |
description | Vector tile map server using MVT |
homepage | |
repository | https://github.com/DougLau/earthwyrm/earthwyrm-bin |
max_upload_size | |
id | 1096636 |
size | 51,879 |
EarthWyrm is an open-source map server developed for the Minnesota Department of Transportation (MnDOT). It can serve GIS data from OpenStreetMap or other sources.
Features:
Z/X/Y.mvt
naming conventionπ Install using cargo (tested on Fedora Linux):
cargo install earthwyrm-bin
sudo bash
Β«enter password at promptΒ»
install ~/.cargo/bin/earthwyrm /usr/local/bin/
useradd --system -m -b /var/local earthwyrm
sudo -i -u earthwyrm /usr/local/bin/earthwyrm init
This file tree will be created:
/var/local/earthwyrm/
βββ earthwyrm.muon
βββ earthwyrm.service
βββ loam/
βββ osm/
π Edit the configuration file at /var/local/earthwyrm/earthwyrm.muon
. It
contains examples and instructions.
π Download an OpenStreetMap extract of your region in PBF format into the
/var/local/earthwyrm/osm/
directory. For example, files such as
minnesota-latest.osm.pbf
are provided daily from Geofabrik.
π Dig the configured layers into .loam
cache files:
sudo -i -u earthwyrm /usr/local/bin/earthwyrm dig
NOTE: This step may take a while, depending on the region size.
π Configure systemd service
cp /var/local/earthwyrm/earthwyrm.service /etc/systemd/system/
systemctl daemon-reload
systemctl enable earthwyrm
systemctl start earthwyrm
π Test
From the server host, browse to 127.0.0.1:3030