All Projects → mfbx9da4 → Brightpath Backend

mfbx9da4 / Brightpath Backend

Find the safest well lit walking path between two locations on earth.

Programming Languages

go
31211 projects - #10 most used programming language

Labels

Projects that are alternatives of or similar to Brightpath Backend

is-osm-uptodate
Find outdated nodes in OpenStreetMap
Stars: ✭ 16 (-86.09%)
Mutual labels:  osm
Osrm Backend
Open Source Routing Machine - C++ backend
Stars: ✭ 4,716 (+4000.87%)
Mutual labels:  osm
Fortistacks
Project gathering how to use Fortinet product as VNFs, with examples, MANO, VIM etc.. see website for details
Stars: ✭ 26 (-77.39%)
Mutual labels:  osm
Tilemill
TileMill is a modern map design studio
Stars: ✭ 2,952 (+2466.96%)
Mutual labels:  osm
Overpass Turbo
A web based data mining tool for OpenStreetMap using the Overpass API.
Stars: ✭ 435 (+278.26%)
Mutual labels:  osm
Osmbuildings
3d building geometry viewer based on OpenStreetMap data
Stars: ✭ 652 (+466.96%)
Mutual labels:  osm
osmapi
Java client for the OSM API 0.6
Stars: ✭ 71 (-38.26%)
Mutual labels:  osm
Quickosm
QGIS plugin to fetch OSM data with the Overpass API
Stars: ✭ 91 (-20.87%)
Mutual labels:  osm
Mapsui
Mapsui is a .NET Map component for WPF, Xamarin.Forms, Xamarin.Android, Xamarin.iOS and UWP
Stars: ✭ 447 (+288.7%)
Mutual labels:  osm
Osm2geojson
Convert OSM and Overpass JSON to GeoJSON
Stars: ✭ 25 (-78.26%)
Mutual labels:  osm
Name Suggestion Index
Canonical common brand names, operators, transit and flags for OpenStreetMap.
Stars: ✭ 332 (+188.7%)
Mutual labels:  osm
Vectiler
A vector tile, terrain and city 3d model builder and exporter
Stars: ✭ 394 (+242.61%)
Mutual labels:  osm
Osm4j Core
Core components of osm4j
Stars: ✭ 16 (-86.09%)
Mutual labels:  osm
Hootenanny
Hootenanny conflates multiple maps into a single seamless map.
Stars: ✭ 264 (+129.57%)
Mutual labels:  osm
Leaflet Geoman
🍂🗺️ The most powerful leaflet plugin for drawing and editing geometry layers
Stars: ✭ 1,088 (+846.09%)
Mutual labels:  osm
basemaps
Scripts to generate MapServer mapfiles based on OpenStreetMap data. Please submit pull requests to the 'main' branch.
Stars: ✭ 51 (-55.65%)
Mutual labels:  osm
Blender Osm
One click download and import of OpenStreetMap and terrain for Blender! Global coverage! Source code is in the branch 'release'.
Stars: ✭ 588 (+411.3%)
Mutual labels:  osm
Cyclosm Cartocss Style
Cycle oriented CartoCSS style.
Stars: ✭ 109 (-5.22%)
Mutual labels:  osm
Osmic
CC0 SVG Map Icons, mirror of repo on Gitlab
Stars: ✭ 89 (-22.61%)
Mutual labels:  osm
Osmproxy
OpenStreetMap tile proxy for REDAXO
Stars: ✭ 17 (-85.22%)
Mutual labels:  osm

Brightpath

Demo

Using the demo

  • Demo can be found here
  • Click two points anywhere on the map of London.
  • The animation between points is just an animation, the response from the server is instant.
  • Limited to London due to memory constraints of the free tier of heroku.
  • Your live location will be updated regularly if you are walking or cycling.

brightpath-demo

brightpath-demo

Mission

To provide the safest well lit walking route between two locations.

Problem

  • Google maps can often provide unsafe walking routes.
  • If you are new to a city or travelling you are highly dependent on google maps for navigating safely between locations and you will often be on foot.
  • There has been a surge of people vying for a product which provides safe walking paths. Here are some examples from twitter.

Blogs

These were written as a follow up to the hackathon about our experience.

Presentation

Presentation slides can be found here

Solution

Brightpath finds walking routes through the city that are well lit, avoiding dark pathways. Later we could incorporate many other kinds of data such as safe checkpoints trivially. The core technical challenge was wrangling the data and writing our own custom routing algorithm. For this hackathon we used data about whether a street is lit or not from Open Street Map. Later we could incorporate official UK gov data about street lighting or even incorporate satellite imaging data.

To test the routing algorithm in the wild, click any two locations on the map of London. Note this is limited to London because of the limitations of heroku free plan. While we did optimize for space complexity there are over 5 million edges in London.

Our approach

Our MVP has focused on using brightness as an objective measure for how safe one might feel. As a society we all need to be more conscious and critical of apps that ‘think for us’, and the data they use. Other ‘objective’ metrics we considered for the future include shop density, heat maps and traffic. We strive to give the power back to the user and allow them to select the safety metrics which are right for them.

Source code

Backend

Backend github repository. Built in Go, hosted on heroku. https://brightpath.herokuapp.com

Steps taken to create backend

  1. Get a dump of London data from Open Street Map
  2. Convert OSM format to geojson.
  3. Clean geojson to remove dark pathways.
  4. Write algorithm to load geojson into graph representation in memory in Go.
  5. Create Go API server.
  6. Write algorithm for finding closest known node to user requested start and end coordinates.
  7. Write A* routing algorithm to find shortest path between two nodes in optimal time.
  8. Write unit tests and test cases for shortest path edge cases.

Frontend 1

Frontend 2

Design Proposal

We put together some high fidelity mockups of what the app could look like later on.

How it relates to Accessibility and Community

  • Our solution is especially useful for those who are travelling and are not familiar with their new surroundings and therefore highly dependent on navigation apps.

  • Our solution makes travel more accessible for everyone. We made sure to inlcude minorities which are often overlooked. Our solution does not discriminate - it is for anyone that does not currently feel safe enough to go out at night (whether they are in a different continent, country, city or even an area they are not used to).  These can be individuals with ‘protected characteristics’ under the Equality Act (such as those that are disabled such as partially visually impaired, those with visible differences (such as ethnic minorities or gender) and invisible differences (such as LGBQT+)), but it can also be for any one else that feels vulnerable.

  • Our solution also empowers users to engage more with the local community.  For example, from our research there are a number of travellers who will ‘go out at night’, however they will use taxis to get from A to B because they do not feel safe to walk from the hotel to the venue (and/or back again).  I’m sure we all have stories of having some of the best nights when wander freely around a local area, meeting locals serendipitously.  Our app gives more people the opportunity to have impromptu connections with the local community, in more locations.

Run Backend


go build -v -o bin/main . && ./bin/main

Run Frontend


yarn install
yarn start

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].