summaryrefslogtreecommitdiff
path: root/bin/get-kk.sh
blob: 1d50f1079190f8448b34e7fa83f56ba2ba075893 (plain)
  1. #!/bin/sh
  2. set -eu
  3. BINDIR="$(dirname "$0")"
  4. BASEPATH="$BINDIR/.."
  5. DATADIR="$BASEPATH/vendor/kk"
  6. mkdir -p "$DATADIR"
  7. 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'