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 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 hello@maptime.io.

@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
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 / 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 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
@almccon
almccon / osm-data-issues-in-asia-and-africa.md
Last active September 16, 2016 17:30 — forked from clhenrick/osm-data-issues-in-asia-and-africa.md
OSM data issues in need of fixing in Asia and Africa

OSM Data Issues in Asia and Africa

High priority, easy fixes:

  1. Admin1 Capital Cities in the Phillipines incorrectly have capital=yes when they should have capital=4 or admin_level=4
  2. Many cities have missing population data, this will prevent cities with larger populations from rendering at low zooms. Main country of concern is China, which may also have erroneous population data added by a OSM contributor to promote certain cities over others.
  3. South Korea: many features incorrectly have place=town resulting in an overwhelming amount of erroneous town labels. See this issue in OSM Carto for more info.

High priority, but requires more work: