Skip to content

Instantly share code, notes, and snippets.

View stevevance's full-sized avatar
🏠
Working from home

Steven Vance stevevance

🏠
Working from home
View GitHub Profile
@stevevance
stevevance / map.geojson
Created February 11, 2015 18:21
Webster shortcut (alternative to Cortland)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@stevevance
stevevance / random_points_census_blocks.sql
Created March 12, 2015 16:11
Create a random point inside a Census block, one per person
-- Function: public.pop_tract_explode()
-- DROP FUNCTION public.pop_tract_explode();
CREATE OR REPLACE FUNCTION public.pop_block_explode()
RETURNS text AS
$BODY$
DECLARE
record RECORD;
gid INTEGER;
@stevevance
stevevance / cityscape_api.json
Last active August 29, 2015 14:17
Chicago Cityscape API
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@stevevance
stevevance / new_biz_starts_30days_041715.txt
Created April 18, 2015 02:04
new business license starts in Chicago community areas in last 30 days as of April 17, 2015
ALBANY PARK 8
ARCHER HEIGHTS 2
ARMOUR SQUARE 6
ASHBURN 5
AUBURN GRESHAM 8
AUSTIN 22
AVALON PARK 5
AVONDALE 4
BELMONT CRAGIN 16
BEVERLY 2
@stevevance
stevevance / licenses_by_neighborhood.geojson
Last active August 29, 2015 14:19
new business starts by Chicago neighborhood in 30 days ending April 17, 2015
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@stevevance
stevevance / chicago_pod_cameras_031816.geojson
Last active April 3, 2025 15:40
Map of Chicago's Police Observation Device (POD) cameras
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@stevevance
stevevance / prt.geojson
Last active August 16, 2016 19:16
Morgantown PRT route and stations
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@stevevance
stevevance / prt.yaml
Last active August 18, 2016 21:03
Tangram scene for the Morgantown PRT
import: https://mapzen.com/carto/zinc-style/zinc-style.yaml
sources:
mapzen:
type: TopoJSON
url: https://vector.mapzen.com/osm/all/{z}/{x}/{y}.topojson
stops:
type: GeoJSON
url: https://transit.land/api/v1/stops.geojson?served_by=o-dpp1s-wvuprt
import: https://mapzen.com/carto/zinc-style/zinc-style.yaml
sources:
mapzen:
type: TopoJSON
url: https://vector.mapzen.com/osm/all/{z}/{x}/{y}.topojson
routes:
type: GeoJSON
url: https://transit.land/api/v1/route_stop_patterns.geojson?stops_visited=s-u0y1j3y5c4-hdhauptbahnhof,s-u0y1jff1q1-bismarckplatz
stops:
@stevevance
stevevance / truckee.yaml
Created September 22, 2016 15:01
Tangram scene for Tahoe Truckee transit
import: https://mapzen.com/carto/zinc-style/zinc-style.yaml
#import: https://mapzen.com/carto/bubble-wrap-style/4/bubble-wrap.yaml
sources:
mapzen:
type: TopoJSON
url: https://vector.mapzen.com/osm/all/{z}/{x}/{y}.topojson
tart:
type: GeoJSON
url: https://transit.land/api/v1/routes.geojson?operated_by=o-9qfx-tahoeareametroaltransit