Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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