Skip to content

Commit

Permalink
reset to north-america
Browse files Browse the repository at this point in the history
  • Loading branch information
cldellow committed Oct 4, 2024
1 parent fc1c8b1 commit 4958d62
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/tilemaker-layers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ jobs:
build:
runs-on: ubuntu-latest
env:
#AREA: north-america
#BBOX: --bbox -170,20,-48,75

AREA: nova-scotia
AREA: north-america
BBOX: --bbox -170,20,-48,75

strategy:
matrix:
Expand Down
24 changes: 24 additions & 0 deletions prod/build-all
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/bash
set -euo pipefail

fetch_git() {
git clone https://github.com/hikeratlas/basemap.git
}

# A rough-and-ready script to configure a Hetzner CAX41 box to do a build
# of the world, and publish it to R2.

wget https://download.geofabrik.de/north-america/canada/nova-scotia-latest.osm.pbf

apt-get update
apt-get dist-upgrade --yes

apt install libboost-dev libboost-filesystem-dev libboost-iostreams-dev libboost-program-options-dev libboost-system-dev libluajit-5.1-dev libshp-dev libsqlite3-dev rapidjson-dev zlib1g-dev luarocks lua-sql-sqlite3 --yes
curl -fsSL https://bun.sh/install | bash
ln -s ~/.bun/bin/bun /usr/bin/bun

( cd basemap && bun install )

( cd basemap && wget --progress=dot:giga https://github.com/hikeratlas/qrank/releases/download/latest/qrank.db )

( cd basemap && wget --progress=dot:giga https://osmdata.openstreetmap.de/download/water-polygons-split-4326.zip && unzip water-polygons-split-4326.zip && mv water-polygons-split-4326 slices/coastline )

0 comments on commit 4958d62

Please sign in to comment.