{"slug": "os-open-rivers", "name": "OS Open Rivers", "tagline": "Connected river network with names and flow direction", "source": "Ordnance Survey", "category": {"slug": "rivers", "name": "Rivers", "icon": "river", "tone": "blue"}, "meta": ["Generalised from OS MasterMap Water Network", "Updated twice a year", "Great Britain"], "thumb": "/static/catalog/thumbs/os-open-rivers.e56135be3546.jpg", "bbox": [-8.7, 49.8, 1.8, 60.9], "global": false, "access": "download", "url": "/datasets/os-open-rivers/", "subtitle": "Ordnance Survey open river network for Great Britain", "summary": "A generalised, connected network of watercourses with names and flow direction, designed for routing and for linking to other water data.", "categories": [{"slug": "rivers", "name": "Rivers", "icon": "river", "tone": "blue"}], "sources": [{"slug": "ordnance-survey", "name": "Ordnance Survey", "label": "Ordnance Survey", "url": "https://www.ordnancesurvey.co.uk/", "page": "/sources/ordnance-survey/"}], "facts": [["Source", "Ordnance Survey"], ["Resolution", "Generalised from OS MasterMap Water Network"], ["Time span", "Updated twice a year"], ["Temporal", "Semi-annual"], ["Access type", "Direct download (external)"], ["Formats", "GeoPackage, Shapefile, GML"], ["Coverage", "Great Britain"]], "access_note": "", "coverage": "Great Britain", "license": {"name": "Open Government Licence v3.0", "url": "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/"}, "citation": "", "doi": "", "landing_url": "https://osdatahub.os.uk/downloads/open/OpenRivers", "provider_url": "https://osdatahub.os.uk/downloads/open/OpenRivers", "methods": [{"type": "files", "label": "OS Open Rivers downloads (OS Data Hub)"}], "preview": {"type": "layer", "layer": "rivers", "label": "Rivers (Natural Earth)"}, "thumb_credit": "Rivers (Natural Earth) over Blue Marble (NASA GIBS)", "selection": [-4.45, 54.35, -2.45, 56.35], "selection_text": "-4.45,54.35,-2.45,56.35", "snippets": {"curl": "curl -fsSL \"https://hydrological.org/api/v1/datasets/os-open-rivers/links.txt?bbox=-4.45,54.35,-2.45,56.35\" \\\n  | xargs -n 1 curl -fLO", "python": "import requests\n\nurls = requests.get(\"https://hydrological.org/api/v1/datasets/os-open-rivers/links.txt?bbox=-4.45,54.35,-2.45,56.35\").text.split()\nfor url in urls:\n    name = url.rsplit(\"/\", 1)[-1]\n    with requests.get(url, stream=True) as r, open(name, \"wb\") as f:\n        for chunk in r.iter_content(1 << 20):\n            f.write(chunk)", "javascript": "const res = await fetch(\"https://hydrological.org/api/v1/datasets/os-open-rivers/links?bbox=-4.45,54.35,-2.45,56.35\");\nconst { groups } = await res.json();\nfor (const g of groups) g.links.forEach(l => console.log(l.url));"}, "api": {"links": "/api/v1/datasets/os-open-rivers/links?bbox=-4.45,54.35,-2.45,56.35", "manifest": "/api/v1/datasets/os-open-rivers/manifest?bbox=-4.45,54.35,-2.45,56.35"}}