Skip to content

Instantly share code, notes, and snippets.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

OSM Route Validation for 'Empresa Pública Metropolitana de Transporte de pasajeros de Quito'

Route Overview

  • Total number of correctly extracted routes: 36
  • Total number of routes in OSM: 132

Errors

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

OSM Route Validation for 'paratransit_daladala'

Route Overview

  • Total number of correctly extracted routes: 317
  • Total number of routes in OSM: 320

Errors

{"type": "public_transport", "price": {"amount": 270, "currency": "EUR", "estimated": false}, "endDate": "2015-08-26T14:35:00+02:00", "duration": 1620, "provider": "vbb", "segments": [{"name": null, "color": "#B1BECC", "stops": [{"lat": 52.529976, "lng": 13.403069, "name": "Torstraße 109, 10119 Berlin", "datetime": "2015-08-26T14:08:00+02:00", "properties": null}, {"lat": 52.529778, "lng": 13.401397, "name": "U Rosenthaler Platz", "datetime": "2015-08-26T14:10:00+02:00", "properties": null}], "icon_url": "http://d1kdwmxr5eqxri.cloudfront.net/assets/vehicles/v0/walking-3c349c394bbbad68563756535afef59e.svg", "polyline": "kwr_IwxxpARCFnCDvB@`A@Z", "num_stops": 0, "short_name": null, "description": null, "travel_mode": "walking"}, {"name": "U8", "color": "#006BB2", "stops": [{"lat": 52.529778, "lng": 13.401397, "name": "U Rosenthaler Platz", "datetime": "2015-08-26T14:10:00+02:00", "properties": null}, {"lat": 52.525373, "lng": 13.405307, "name": "U Weinmeisterstr.", "datetime": "2015-08-26T14:11:00+02:00", "pro

OSM Route Validation for 'irtramma'

Route Overview

  • Total number of correctly extracted routes: 29
  • Total number of routes in OSM: 90

Errors

@ustroetz
ustroetz / otp_result.json
Created February 1, 2016 14:50
OTP response with Trip Update results
{
"requestParameters": {
"date": "02-01-2016",
"mode": "BUSISH,WALK",
"arriveBy": "true",
"wheelchair": "false",
"fromPlace": "stop SE Jackson & 21st (8225)::45.444827,-122.640491",
"toPlace": "stop SE Washington & 25th (6152)::45.442931,-122.636815",
"time": "6:09am",
"maxWalkDistance": "804.672",
@ustroetz
ustroetz / wiener_linien_bus.py
Created January 27, 2016 13:23
Script to download bus schedules from WienerLinien
from time import sleep
import requests
from splinter import Browser
import thread
import pdb
def download_pdf(browser, route_name, weekday, direction):
pdf_url = browser.find_link_by_partial_href('FileOutputName')['href']
response = requests.get(pdf_url)
# Name: Ulrich Stroetz (U102778)
# Date: 2/17/2013
# Purpose: Add fields
# Import system modules
import arcpy
# Input Feature Class)
inputFC = arcpy.GetParameterAsText(0)