Skip to content

Instantly share code, notes, and snippets.

View almccon's full-sized avatar
🔣

Alan McConchie almccon

🔣
View GitHub Profile
@almccon
almccon / countries_lakes_50m.json
Last active June 15, 2016 18:29 — forked from mbostock/.block
Waterman outlines
Loading
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 / .block
Last active May 9, 2018 23:14 — forked from emeeks/d3map.css
BC Albers Terrain
license: mit
@almccon
almccon / README.md
Last active August 29, 2015 14:05 — forked from andrewharvey/leaflet-side-by-side.html
Side by side Leaflet (Toner comparison)

What time is it? It's onboarding time!

Hi! This is a document with everything you need to know about getting started with your Maptime chapter. Please read through it carefully and respond with any information we've asked for. Thanks! We're so happy to have you!

About MaptimeHQ

MaptimeHQ includes Beth Schechter, Lyzi Diamond, Alan McConchie and Camille Teicheira. All of us are available to help get your chapter onboarded, so don't hesitate to reach out! You can also reach all four of us at [email protected].

@almccon
almccon / d3map.css
Last active January 13, 2016 22:32 — forked from emeeks/d3map.css
triangular tesselation of Mercator projected on a globe w/ d3.carto.map
path,circle,rect,polygon,ellipse,line {
vector-effect: non-scaling-stroke;
}
svg, canvas {
top: 0;
}
#d3MapZoomBox {
position: absolute;
z-index: 10;
height: 100px;
@almccon
almccon / overpass.geojson
Created April 13, 2016 18:35 — forked from anonymous/overpass.geojson
All 'building:part' in San Francisco. data exported by overpass turbo
Loading
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
Loading
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 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 / README.md
Last active July 5, 2016 00:45 — forked from calvinmetcalf/README.md
Reprojected Raster Tiles w/out d3.carto.map