From City Island (006)

“From City Island” (live link) describes public transit lines directly available from a point in the city. Panning around the map reveals both sparse and dense networks of accessibility.

In contrast to system-wide maps showing all modes, routes, and transfer points, From City Island represents only the points of departure nearby. Where can one travel to on a single line? To how many different places? How far?

Aerial imagery is shown while panning; clicking anywhere centers and refreshes available routes.

Stops (subway and bus) and routes (subway and bus) were exported from QGIS, and imported as GEOJSON objects to the web map. The map is centered on a random start point selected from a list of coordinates. Using turf.js, a 0.8 km buffer was created around each start point, bus and subway stops falling within this buffer area are then isolated. The subway stop objects include a route property which was used to filter the route GEOJSON object. These corresponding routes were then added as a layer to the map. The MTA Bus Time API was used to find the route corresponding to each nearby bus stop. Once the information was collected from the API, the local and express bus routes GEOJSON objects were filtered and drawn.

Next steps:

  • Reverse colors: subways are currently black and buses are colored
  • Display nearby stops for buses and subways.
  • Add ferry routes
  • When a user stops dragging, use the release point as the new center point.

One thought on “From City Island (006)

Comments are closed.