An open API service indexing awesome lists of open source software.

https://github.com/alifeee/river-walks

geojson files mapping river walks
https://github.com/alifeee/river-walks

geojson river-walk rivers

Last synced: 6 months ago
JSON representation

geojson files mapping river walks

Awesome Lists containing this project

README

          

# River walks

River walks!

View geojson on a map on

![screenshot of map website showing traces](images/geojson_map.png)

How to get data, from [weeknote 2024/29](https://weeknotes.alifeee.co.uk/2024-29/).

```text
Here is the River Sheaf on Open Street Map (OSM)

It is made up of a series of "ways", which are lines with coordinates, added by normal people.

I used Overpass Turbo () to export a [`geoJSON`](https://geojson.org/) file for the River Sheaf (i.e., with `relation(11890887); out geom;`)

to crop:

sudo apt install gdal-bin
ogr2ogr -clipsrc -1.47927 53.34511 -1.49590 53.35812 export2.geojson export.geojson
```

## combine geojson

```bash
endfile="all-river-walks.geojson"
while read file; do
cat "${file}";
done <<< $(find geojson -type f | sort -n) | jq -c --slurp '{
"type": "FeatureCollection",
"name": "combined",
"features": ([.[] | .features[0]])
}' > "${endfile}"
```