https://github.com/1ec5/vainilla
Generate statistics from a vanilla extract of OpenStreetMap
https://github.com/1ec5/vainilla
Last synced: about 1 month ago
JSON representation
Generate statistics from a vanilla extract of OpenStreetMap
- Host: GitHub
- URL: https://github.com/1ec5/vainilla
- Owner: 1ec5
- License: mit
- Created: 2018-01-03T10:55:01.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-11T09:20:12.000Z (about 8 years ago)
- Last Synced: 2025-05-30T16:16:33.023Z (about 1 year ago)
- Language: JavaScript
- Size: 29.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vainilla
A command line tool that generates statistics from a vanilla extract of [OpenStreetMap](https://www.openstreetmap.org/).
## Serving suggestions
You’ll need these ingredients:
* 1 [Osmium](http://osmcode.org/osmium-tool/) command line tool
* 1 [Node.js](https://nodejs.org/) (known to work in v8.9.1)
* 1 fresh, PBF-flavored [regional extract](http://download.geofabrik.de/) from Geofabrik
Baking statistics is easy:
1. Clone this repository and run `npm install` to install Vainilla’s dependencies.
1. Run Vainilla on the filtered extract:
```
node index.js region.osm.pbf
```
Wait until you see a golden brown crust of centerline and lane lengths in meters. Let sit for a few moments, top with a building acreage, then serve on the appropriate OpenStreetMap Wiki page ([example](https://wiki.openstreetmap.org/wiki/Ohio/Statistics)).
## About the name
_Vainilla_ is the Spanish word for vanilla. This tool allows local OpenStreetMap communities to show off, perhaps _vainly_, how much progress they’ve made towards a complete map, using a plain-vanilla extract of OpenStreetMap as input.