Giter Site home page Giter Site logo

jakecoppinger / safe-cycling-map Goto Github PK

View Code? Open in Web Editor NEW
33.0 7.0 2.0 3.36 MB

Home Page: https://safecyclingmap.com/

License: GNU Affero General Public License v3.0

JavaScript 71.66% HTML 1.77% CSS 2.73% TypeScript 23.84%
better cycling safe streets urbanism openstreetmap

safe-cycling-map's Introduction

Safe Cycling Map

A map showing how safe a street is for cycling, based on (arbitrary) metrics. See the key for how street safety is calculated.

This is a work in progress side project. This data is not guaranteed to be accurate.

When zoomed in close, individual road and bicycle lanes are shown. When zoomed out, streets are coloured by their safety ratings.

Disclaimer

Warning: This is an arbitrary rating system. Data is open source and not guaranteed to be accurate.

This map uses OpenStreetMap data. It is not a complete or accurate map of the world and should not be used in such a manner that deficiencies, omissions, inaccuracies or errors could result in death, loss or injury. The maps are an iterative ongoing work-in-progress and everyone is welcome to contribute editing the OpenStreetMap data if you spot inaccuracies. (warning courtesy of CyclOSM)

Contributing: Found a mislabelled street? You can fix it!

Head to https://bikemaps.org/blog/post/improving-bicycling-data-on-openstreetmap for instructions on how to fix OpenStreetMap data.

Screenshot of map

A map of bike infrastructure using osm2streets output.

Uses osm2streets-vector-tileserver, a vector tileserver I wrote to generate Protobuf GeoJSON vector tiles using the JS bindings to osm2streets (which is written in Rust).

Local development

See instructions for setting up the backend tileserve at https://github.com/jakecoppinger/osm2streets-vector-tileserver

Install packages: nvm install npm i --legacy-peer-deps

Run dev server: npm run start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It bundles React in production mode and optimizes the build for the best performance.

License

GNU GPL v3

safe-cycling-map's People

Contributors

jakecoppinger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

safe-cycling-map's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.