Scraper fuer Geodaten der Pendlerstatistik der Arbeitsagentur
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

fetch-kreise.py 459B

123456789101112131415
  1. import requests
  2. kreiseUrl = 'http://geois.arbeitsagentur.de/arcgis/rest/services/Gebietsstrukturen/MapServer/3/query'
  3. kreiseParams = {
  4. 'f' : 'geojson',
  5. 'returnGeometry' : 'true',
  6. 'spatialRel' : 'esriSpatialRelIntersects',
  7. 'outSR' : '4326',
  8. 'outFields' : 'ID,region',
  9. 'where' : 'valid_from <= CURRENT_DATE AND valid_to >= CURRENT_DATE'
  10. }
  11. r = requests.get(kreiseUrl, params=kreiseParams)
  12. print(r.text)