Coder Social home page Coder Social logo

nycplanning / labs-travelsheds Goto Github PK

View Code? Open in Web Editor NEW
13.0 3.0 4.0 640 KB

User-friendly transit isochrone generator powered by OpenTripPlanner

Home Page: https://nycplanning.github.io/travelsheds/

License: MIT License

HTML 0.39% JavaScript 99.48% CSS 0.13%
labs

labs-travelsheds's Introduction

DCP travelshed generator

A frontend tool for creation,display, and export of OpenTripPlanner isochrones in New York City

Available at nycplanning.github.io/travelsheds travelsheds

Backend: An OpenTripPlanner server using data from OSM MetroExtracts for NYC, and GTFS Data for the New York City Subway. (More modes coming later)

Technologies: -MapboxGL.js for the web map -React.js for the cutoff selector UI component -CARTO for the subway lines raster tileset -Bootstrap, JQuery, Mustache

labs-travelsheds's People

Contributors

allthesignals avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

labs-travelsheds's Issues

Add timeout for API Call

The site shows "building travelsheds" when the API call is initiated but if it errors or takes too long, there should be some kind of "oops, something went wrong" message displayed to the user.

Weird spikes on isochrones

What could be causing these irregular shapes, especially in 5-minute walking isochrones? On a grid like Manhattan's we should expect to see pretty regular shapes, but they seem to become less regular when doing a cutoff of 5 minutes.

Question posed to OTP community here

travelsheds

Flagging that I'm archiving this

@rtblair Just flagging that I'm archiving this because, well, I didn't know it existed at some point. The gh pages link 404s so I'm assuming it's safe to assume it's archivable

Add additional transit networks

Let's go beyond NYC Subways on the OTP Server.

Some quick wins:
-NJ Transit Commuter buses and trains
-PATH trains
-MTA Buses

Add a Splash Screen

Maybe we should lead with a bit of text to let the user know what this is all about.

-Chris

Add BETA Badge

Add a BETA Badge to the page until the product is developed further and ready for release

Add a Splash Screen

Maybe we should lead with a bit of text to let the user know what this is all about.

-Chris

Sidebar does not scroll when there is overflow content

If you keep adding time cutoffs, content in the sidebar will get long and may extend beyond the viewable area. We should add overflow-y: scroll so it can be as long as it needs to be and the user can still access the download buttons.

Add Staten Island Railway

Can you please add the line for the Staten Island Railway as a layer in the map? It seems to be including the SIR in the subway travel data.

Thanks!

Some script references blocked within NYC domains

Hi - this thing is awesome, but the following script references are being blocked (on DOHMH network) because they are pointing at the blocked Facebook domain:

<script src="https://fb.me/react-15.0.0.js"></script>
<script src="https://fb.me/react-dom-15.0.0.js"></script>

fb_block_capture

... result is that in the app your almost instant travelshed generation appears to take forever (never completes)

Yours, Grant

Add population data and administrative boundaries

From Rudy in GSS:

If it is possible, I think it would be quite useful if a user of Travelshed could bring in an Administrative or Political district layer? The ability to include these districts could allow user to determine how many people live within a particular district that are within a certain distance of a proposed facility such as a school, senior center, etc. and other service provider.

We have wanted to add population data for a while now. Doing so will require some server-side resources, as we would need to be able to do a spatial query on the travelsheds. I would propose abstracting the OTP server behind a custom API which will talk to both OTP and a PostGIS database that has the census/population data and admin boundaries.

One api call would return the travelshed geometries as geojson with a properties object containing things like:

totalpop2010:
projectedpop2020:

etc

it could also break down in to census tracts/ntas, with counts for each.

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.