Skip to content

Instantly share code, notes, and snippets.

View johnclary's full-sized avatar

John Clary johnclary

View GitHub Profile
@johnclary
johnclary / Map.js
Last active September 9, 2022 18:21
Add street labels over nearmap (raster) tiles in Mapbox GL + react-map-gl
import MapGL, { Source, Layer } from "react-map-gl";
import "mapbox-gl/dist/mapbox-gl.css";
const nearMapToken = "some.env.var";
const mapBoxToken = "some.env.var";
const rasterSource = {
id: "raster-tiles",
type: "raster",
tiles: [
`https://api.nearmap.com/tiles/v3/Vert/{z}/{x}/{y}.jpg?apikey=${nearMapToken}`,
@johnclary
johnclary / atd_locations.csv
Created April 13, 2022 15:39
Austin Transportation's "Location" records for Arterial Management assets
We can't make this file beautiful and searchable because it's too large.
id,ATD_LOCATION_ID,LOCATION_latitude,LOCATION_longitude,COUNCIL_DISTRICT,JURISDICTION_LABEL,TXDOT_ROADWAY,LOCATION_TYPE,LOCATION_NAME
625428c3817d25001e530ba9,LOC22-021880,30.403932,-97.678978,7,AUSTIN FULL PURPOSE,FALSE,ROADWAY,12250 BLK N LAMAR BLVD
6254279b17cff1001ed49693,LOC22-021875,30.402465,-97.679,7,AUSTIN FULL PURPOSE,FALSE,ROADWAY,12250 BLK N LAMAR BLVD
624f0583d2b686001e387537,LOC22-021870,30.200029,-97.766191,3,AUSTIN FULL PURPOSE,FALSE,ROADWAY, STASSNEY LN / STASSNEY LN (Stassney midblock W of IH 35)
624eff7e13ef75001e8e3fe7,LOC22-021865,30.261684,-97.768889,5,AUSTIN FULL PURPOSE,FALSE,ROADWAY, AZIE MORTON RD / LUND ST
624efcb419c79d001e8fadcc,LOC22-021860,30.38509,-97.712595,4,AUSTIN FULL PURPOSE,FALSE,ROADWAY, METRIC BLVD / DENTON DR
624e0c104f68fc001eebad9b,LOC22-021855,30.278294,-97.716833,1,AUSTIN FULL PURPOSE,FALSE,ROADWAY, CHESTNUT AVE / 17TH ST
624e0351f1b30f0020059d52,LOC22-021850,30.282795,-97.721916,1,AUSTIN FULL PURPOSE,FALSE,ROADWAY, CHICON ST / 22ND ST
624e0103502af1001ea8313e,LOC2
@johnclary
johnclary / austin_census_tracts.json
Last active April 8, 2018 01:40
Download City of Austin permit data and use shapely to append neighborhood name and census tract attributes.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.