Skip to content

Vonter/blr-road-quality

Repository files navigation

BLR Road Quality

A map to visualize the quality of roads in Bengaluru, using data from OpenStreetMap.

Site Deployment

Motivation

Inspired by a post on Skyscraper City and my time spent on the roads of Bengaluru.

Contribution Guide

Create an Issue

Submit a new issue with details about:

  • Name of the road
  • Quality of the road
  • Date on which observation was made

Once the issue is created, a volunteer will add the data to OpenStreetMap within a few days. The information will be reflected on the visualization the day after data is added to OpenStreetMap.

Google Forms (TODO)
Telegram (TODO)

Deploying the site

  • Install osmtogeojson

npm install -g osmtogeojson

  • Export a .geojson with the latest data from OpenStreetMap by running the overpass-query.sh script

bash overpass-query.sh

Local
  • Setup a HTTP server for serving the site locally with Python

python3 -m http.server

The site will be available at http://127.0.0.1:8000

Internet

Deploy the site to a static site hosting service of your choice (GitHub Pages, Netlify, Cloudflare)

Future Plans

Ideas and future plans are documented on the issues page

About

Visualizing the quality of roads in BLR

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published