Skip to content

Instantly share code, notes, and snippets.

View kuanb's full-sized avatar
🚌
trains, buses, bikes, and maps

Kuan Butts kuanb

🚌
trains, buses, bikes, and maps
View GitHub Profile
@kuanb
kuanb / performant_sindices.ipynb
Last active August 29, 2018 05:16
Messing around with better spatial indexed of route line shapes
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kuanb
kuanb / random_bounds.ipynb
Created August 28, 2018 17:00
Generates random bounding boxes of varying size within continental USA
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: https://keybase.io/download
Version: Keybase Go 2.1.2 (darwin)
xsFNBFsxYGQBEADIq9NjUKCgiUlv5kTUO8DfiQFgqeJcLbBfstsyAMlg3mfQ2168
IGT7LFh3cTfBm9V97M9PgEy12E+jHVVTcvJuTC/JeNhXzghDR0jat2FtT5nkYwe9
Q/xoN75NO0gd40HY6tKtLTHvvZcJOr7/QVIGPj16Xwri2Yh5hGe/y/ukomcsjyxC
qQT/rMGLFdiTwiA6a2DoyTUOTMOVNe7o9RI8roQlV7yT27kC1l46gtM+ZCYCbArq
ZaU0xpGcsgEUm9i4aHIfHF/zYZlH78SamYIY8Bn0Ch+vtqOIpQBEH3g3wkXF7Yva
L9TiF6KP4slG0bWqqrUYkcb5WwaeRDFDIs1VxsGSoti6CpyopoMZyG7GZWz3lsOi

Keybase proof

I hereby claim:

  • I am kuanb on github.
  • I am kuanb (https://keybase.io/kuanb) on keybase.
  • I have a public key ASCAQQap559VYO74MgYSkIL24Qi0_B7ZqhKtcTLhjHKQTwo

To claim this, I am signing this object:

@kuanb
kuanb / redraw-bogota.ipynb
Created April 19, 2018 02:21
Quick sketch of how to convert the synthetic GTFS output from blog scripts to shapefiles (& related)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kuanb
kuanb / esri_rest_san_rafael.ipynb
Created April 3, 2018 21:57
Script for utilizing ESRI REST API to extract San Rafael's zoning data and convert to a web-projected Shapefile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kuanb
kuanb / using-projected-lines.ipynb
Created February 25, 2018 22:00
Rough sketch of an alternate way of finding wide streets using perpendicular vectors from face
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kuanb
kuanb / sf-parcels.ipynb
Created February 14, 2018 23:36
Generates a shape of valid streets area given parcel-to-parcel width constraint
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kuanb
kuanb / from_wa_sp.ipynb
Last active December 13, 2017 23:01
How to convert some points from WA state planar. A Gist for Georgia Andrews (https://www.codeforamerica.org/people/georgia-andrews).
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kuanb
kuanb / sdmtc_alignment_scenarios_analysis.ipynb
Created December 2, 2017 20:38
Companion notebook to this blog post:
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.