Skip to content

Instantly share code, notes, and snippets.

@TheMapSmith
TheMapSmith / .block
Last active April 5, 2017 13:38 — forked from mbostock/.block
Hello
license: gpl-3.0
@TheMapSmith
TheMapSmith / .block
Last active March 10, 2017 21:55 — forked from wboykinm/.block
Example S3 + MB Studio composite map
license: mit
@TheMapSmith
TheMapSmith / index.html
Created September 7, 2016 13:32
Awesome vector tiles
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no"
/>
<title>Mystery Retro Vector tiles</title>
<style>
html,
@TheMapSmith
TheMapSmith / ikagi.md
Last active August 6, 2016 21:03
Ikagi

((( WIP )))

I saw this posted on Twitter the other day and was intrigued ikagi

I'm wondering what kind of career I should be aiming for. I'm already focusing on increasing my skills to help me do things that I like to do, but how can I strive for learning to do things that I'll be paid for?

I thought it might help to narrow down the things that I'm interested in to help me firgure out what kind of professions I can aim for so that I know exactly what skills I should be increasing/acquiring so that I'll eventually get paid for doing things I love.

I think there's sort of a hierarchy to my interests, and I think the top of it is:

Design

@TheMapSmith
TheMapSmith / basemaps.md
Last active August 6, 2016 23:52
Quick basemap thoughts

Basemaps

Or baemaps if you're typing too quickly

First question:

How much work do you want to do

  1. All teh works
    Then desktop GIS is for you! Go ahead and find every single background layer you could ever think of and download it! Parks, roads, cemeteries, buildings, streams, water bodies, railroads, wetlands, parking lots, forests, farms...
    Now load them all up in your desktop GIS of choice (who are we kidding. It's ArcGIS). Style away! Don't forget to think about scale ranges. So style each thing for each scale range!
    Not keen on GUIs? Then grab an old dusty copy of Tilemill, load up each of your layers per usual, and then start writing CartoCSS. It's fun!
@TheMapSmith
TheMapSmith / index.js
Created June 8, 2016 14:01
GeoJSON to SVG
var geojson2svg = require('geojson2svg');
var turf = require('turf');
var fs = require('fs');
var polys = require('./Admin_0_Polygons.json');
polys.features.forEach(function(poly) {
var Name = poly.properties.Name;
var extent = turf.bbox(poly);
var options = {
@TheMapSmith
TheMapSmith / Admin_0_polygons.json
Last active June 7, 2016 20:07
moriarity admin 0 polys
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@TheMapSmith
TheMapSmith / .block
Created May 23, 2016 10:04 — forked from mbostock/.block
Satellite Projection
license: gpl-3.0
@TheMapSmith
TheMapSmith / npm-debug.log
Last active May 20, 2016 22:43
guidance sim trouhble
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
2 info using npm@3.9.2
3 info using node@v4.4.4
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle guidance-sim@0.1.2~prestart: guidance-sim@0.1.2
6 silly lifecycle guidance-sim@0.1.2~prestart: no script for prestart, continuing
7 info lifecycle guidance-sim@0.1.2~start: guidance-sim@0.1.2
8 verbose lifecycle guidance-sim@0.1.2~start: unsafe-perm in lifecycle true
9 verbose lifecycle guidance-sim@0.1.2~start: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/themapsmith/.Trash/guidance-sim/node_modules/.bin:/usr/local/bin:/Library/Frameworks/GDAL.framework/Programs:/Library/Frameworks/GDAL.framework/Programs:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin