A routing and map-tiles generation script to find possible routes for swimpacking.
The aim is to find a graph of connected islands that are reachable within a certain distance you are capable to swim. This script builds a nxGraph from the islands where you can find shortest path from island A to island B.
Additionaly it marks islands that:
- finds all neigbouring islands and draws a line between the shortest distances
- are not reachable from the mainland
- finds islands that are inhabited
- e.g there is a house on the island
- not appropiate to camp on
- finds islands that are not inhabited and have a squarearea larger than X
- finds strongly connected Components in the graph, isnide of you can reach any islands.
- red boarder: islands that are not suitable to camp on (to small, houses, not reachable from mainland)
- green boarder: islands that are suitable to camp on (no houses,reachable from mainland)
- crossed grey: island that are not reachable from mainland
- blue line: shortest path between neighbouring island (distance in Meters)
- crossed green: Strong connected Swim areas where you can do "island hopping"
- A file with the coatsline including the mainland
- A file conatining all Houses in the area
- All files labeld explained in the "Map legend" as
.geojson
or.shp
file
[out:json];
(
way["building"]
({{bbox}});
);
(._;>;);
out;
- Shape Data for coastlines: https://osmdata.openstreetmap.de/data/land-polygons.html
- Get OSM features into GeoJSON: https://overpass-turbo.eu/