Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anvaka/index-large-cities
A simple indexer of road networks from OSM. Data for @anvaka/city-roads
https://github.com/anvaka/index-large-cities
Last synced: 3 months ago
JSON representation
A simple indexer of road networks from OSM. Data for @anvaka/city-roads
- Host: GitHub
- URL: https://github.com/anvaka/index-large-cities
- Owner: anvaka
- Created: 2020-01-18T04:43:52.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T16:07:27.000Z (almost 2 years ago)
- Last Synced: 2024-05-02T01:00:55.539Z (6 months ago)
- Language: JavaScript
- Homepage: https://anvaka.github.io/city-roads/
- Size: 3.17 GB
- Stars: 98
- Watchers: 8
- Forks: 14
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# City data
This repository contains script to download graphs of major cities, stored in the `cities.txt`
and save them into protocol buffers forma inside `data` folder.The actual `.pbf` file can then be rendered by https://github.com/anvaka/city-roads
Note: Previously the `.pbf` file were stored inside this repository, but github removed them.
I assume they were too large.## How to use it
One time setup:
```
git clone https://github.com/anvaka/index-large-cities
cd index-large-cities
npm install
```Then you should be able to download all cities from `cities.txt` file by running
```
node index.js
```