From 1084ecf65c5bfcb195cf29e123bf1c33e938bad9 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 16 May 2018 16:35:29 +0200 Subject: Add targets to fetch and transform bydele.json. --- bin/get-kk.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 bin/get-kk.sh (limited to 'bin') diff --git a/bin/get-kk.sh b/bin/get-kk.sh new file mode 100755 index 0000000..1d50f10 --- /dev/null +++ b/bin/get-kk.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +set -eu + +BINDIR="$(dirname "$0")" +BASEPATH="$BINDIR/.." +DATADIR="$BASEPATH/vendor/kk" + +mkdir -p "$DATADIR" + +wget -O "$DATADIR/bydele.geojson" 'http://wfs-kbhkort.kk.dk/k101/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=k101:bydel&outputFormat=json&SRSNAME=EPSG:4326' -- cgit v1.2.3