Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stefanhuber/osm-astar-demo
A* Demo with leaflet and osm data
https://github.com/stefanhuber/osm-astar-demo
a-star-algorithm leaflet osm
Last synced: about 1 month ago
JSON representation
A* Demo with leaflet and osm data
- Host: GitHub
- URL: https://github.com/stefanhuber/osm-astar-demo
- Owner: stefanhuber
- Created: 2019-06-07T06:40:23.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-26T23:01:58.000Z (over 1 year ago)
- Last Synced: 2024-04-14T22:45:44.529Z (7 months ago)
- Topics: a-star-algorithm, leaflet, osm
- Language: JavaScript
- Size: 1.87 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A* Routing Demo
> [Demo](https://stefanhuber.github.io/osm-astar-demo/)
## Usage
- Install dependencies `npm i`
- Extract a small section from OSM (e.g., via [openstreetmap.org](https://www.openstreetmap.org/export#map=14/47.5855/12.2242)) and save it as `map.osm` in the project folder
- Generate the routing graph representation with `npm run graph`
- Change the bounding box according the `` from the osm file inside the `index.html` (line 40-41)
- `npm run serve` for local deployment