Skip to content

Instantly share code, notes, and snippets.

View almccon's full-sized avatar
🔣

Alan McConchie almccon

🔣
View GitHub Profile
@almccon
almccon / README.md
Last active May 5, 2016 21:44
Reproject USA + Alaska & Hawaii moved
@almccon
almccon / lake-tahoe.geojson
Last active May 6, 2016 22:59
Lake Tahoe polygon from OpenStreetMap
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@almccon
almccon / overpass.geojson
Last active May 25, 2016 00:28 — forked from anonymous/overpass.geojson
data exported by overpass turbo: all admin_level:2 features from northeast Africa to southwest Asia
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@almccon
almccon / README.md
Last active June 15, 2016 18:18 — forked from mbostock/.block
Merging TopoJSON states

This demonstrates using topojson.merge, a new feature in TopoJSON 1.6, to merge multiple polygons into a single polygon whilst removing interior borders. (An alternative approach is to draw the polygons twice.)

Unlike mbostock's original example, this uses a pre-projected topojson file and a null projection.

@almccon
almccon / index.html
Last active June 15, 2016 18:20
Rotated Eckert III
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
background: #fff;
}
.stroke {
fill: none;
@almccon
almccon / countries_lakes_50m.json
Last active June 15, 2016 18:29 — forked from mbostock/.block
Waterman outlines
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@almccon
almccon / README.md
Last active June 15, 2016 18:39
d3.carto lesson from MaptimeSF
@almccon
almccon / README.md
Last active June 15, 2016 20:15 — forked from rochoa/README.md
turbo-cartocss examples

Color ramps: *-fill

Basic usage

marker-fill: ramp([column_name], colorbrewer(Greens));
                  |                    |
                  v                    |
      column to calculate ramp         |
                                       v
@almccon
almccon / gist:f7c3354f22c84e7c105c
Created November 18, 2014 23:20
long form response
or we just reply to each other with github gists
@almccon
almccon / README.md
Last active July 5, 2016 00:45 — forked from calvinmetcalf/README.md
Reprojected Raster Tiles w/out d3.carto.map