From bd5a6a0bc79289035e79e2952200be6334d4777e Mon Sep 17 00:00:00 2001 From: Bjorn Reppen Date: Thu, 2 Jan 2020 22:45:22 +0100 Subject: [PATCH] Nye kommuner: Klikk i kart Fixes https://github.com/Artsdatabanken/nin-kart/issues/1652 --- stages/deploy/punkt.sh | 5 +++++ stages/transform/20_punkt_oppslag.sh | 4 ++++ 2 files changed, 9 insertions(+) create mode 100755 stages/deploy/punkt.sh create mode 100644 stages/transform/20_punkt_oppslag.sh diff --git a/stages/deploy/punkt.sh b/stages/deploy/punkt.sh new file mode 100755 index 0000000..9eaf577 --- /dev/null +++ b/stages/deploy/punkt.sh @@ -0,0 +1,5 @@ +#/bin/bash +set -e + +scp build/kommune.tif grunnkart@hydra:~/punkt-oppslag/kommune.tif +ssh grunnkart@hydra /home/grunnkart/punkt-oppslag/go.sh AO diff --git a/stages/transform/20_punkt_oppslag.sh b/stages/transform/20_punkt_oppslag.sh new file mode 100644 index 0000000..5d91090 --- /dev/null +++ b/stages/transform/20_punkt_oppslag.sh @@ -0,0 +1,4 @@ +#/bin/bash +set -e + +gdal_rasterize -a autorkode -tr 100 100 build/kommune_25833.geojson build/kommune.tif \ No newline at end of file