Coder Social home page Coder Social logo

transitland / mobility-explorer Goto Github PK

View Code? Open in Web Editor NEW
38.0 18.0 15.0 4.5 MB

Understand transportation networks around the world using Transitland open data and Valhalla routing engine APIs

Home Page: https://mobility-explorer.interline.com/

License: MIT License

JavaScript 53.40% HTML 0.85% Handlebars 39.22% SCSS 6.53%
transitland transit gtfs valhalla isochrones map-matching mapping

mobility-explorer's Introduction

Mobility Explorer


October 2020: Try the new global transit map on the Transitland v2 website. The Transitland v1 Datastore API, which powers Mobility Explorer, is now deprecated. It will be supported for the time being, but we encourage all users and developers to learn more about the Transitland v2 website and APIs.


Mobility Explorer helps you understand transportation networks around the world. Search for a place or browse the map, and use the buttons to view transit routes, stops, and operators.

Use Mobility Explorer to query and visualize transit data from Transitland, a community-edited, open transit data aggregation project, and to analyze access using an instance of the Valhalla routing engine.

User Documentation

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • change into the new directory
  • npm install
  • bower install

Running / Development

Code Generators

Make use of the many generators for code, try ember help generate for more details

Building

  • ember build (development)
  • ember build --environment production (production)

Further Reading / Useful Links

mobility-explorer's People

Contributors

drewda avatar irees avatar kdiluca avatar meghanhade avatar nselikoff avatar rmglennon 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  avatar  avatar  avatar  avatar  avatar

Watchers

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

mobility-explorer's Issues

Deploy to servers

TODO:

  • remove .travis.yml -- we'll be using CircleCI instead
  • create a circle.yml file that looks like https://github.com/transitland/feed-registry/blob/master/circle.yml
  • in circle.yml: replace s3://staging.transit.land/feed-registry/ with s3://static-dev.mapzen.com/mobility/explorer/ and replace s3://transit.land/feed-registry/ with s3://static-prod.mapzen.com/mobility/explorer
  • in circle.yml remove the two places that read AWS_ACCESS_KEY_ID=${STAGING_AWS_ACCESS_KEY_ID} AWS_SECRET_ACCESS_KEY=${STAGING_AWS_SECRET_ACCESS_KEY}. Keep the rest of the line. We're using the same keys for both dev and prod S3 buckets.
  • in config/environments.js add a "staging" environment. It can have the same configuration as "development". This is so you can have two different sets of configuration.
  • in config/environment.js set baseURL to equal /mobility/explorer/ in the "staging" and "production" environments. This is so your assets will live under that subdirectory, rather than at the root of the server (as they do when accessing the dev server at, say, http://localhost:4200/)
  • try a test deploy from your own system (more about this below). If it works, you should be able to open up https://dev.mapzen.com/mobility/playground/
  • add AWS keys to CircleCI environment variables: https://circleci.com/gh/mapzen/mobility-playground/edit#env-vars Keys are on Slack. You'll need to set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
  • do a merge or push to master on GitHub and see if CircleCI successfully deploys it to dev.mapzen.com

to test a deploy locally, you'll just run a few of the commands listed in circle.yml:

  • set keys locally export AWS_ACCESS_KEY_ID =xxxxx && export AWS_SECRET_ACCESS_KEY=xxxx
  • install the awscli library to upload the files to S3: sudo pip install -U awscli
  • build the files locally: ember build --environment=staging
  • upload to S3: aws s3 sync ./dist s3://static-dev.mapzen.com/mobility/explorer/

Related: https://github.com/mapzen/operations-engineering/issues/329

UI: dynamic legends

  • mode color key that only shows modes currently visualized
  • operator color key that only shows operators currently visualized
  • show count information

Operator detail view

Options to view routes or stops for that operator. If route is selected, show route detail view. If stop is selected, show stop detail view.

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.