#!/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'