3 ms·
Show HN: Generate interesting running routes locally
Hi, I have been working on an a website that generates interesting running routes to help you reach your fitness goals!
The website
0. Downloads spatial data from OpenStreetMaps based on your location and target distance
1. Processes the data into a mathematical graph and calculate paths between points
2. Generates routes using a genetic algorithm that minimises back-tracking
This means that you are only sharing your location with OpenStreetMaps and your browser. No one else. No other APIs or service. Nada. All the processing and routing is done on your device.
If you have any questions or comments, please reach out to me on HN or on `hello @ running-routes.com`.
Thanks checking it out.
- zeristor 2y agoLooks impressive, I gave it a try. Using Safari on an iPad, it doesn’t seem to ask for my location. I can move over to my part of Essex, but it whips back to Melbourne, the other side of the world-ish.
- monospacey 2y agoThanks for your feedback! I wonder if you've blocked Safari from accessing your current location and that's why it is snapping back to Melbourne. I'm using leaflet's locate function to determine the user's location. Maybe I should use another mapping library... Sorry for the late response.