Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# This script is for exporting MBTiles directly to your Mapbox account.
# Requires a Mapbox account with sufficient storage for your tiles and
# authorized with your TileMill 0.10.0 install.
# Note that the maximum file transfer size is 5GB.
# Adapted from https://gist.github.com/springmeyer/7875415.
# Settings: edit these as needed
PROJECT_NAME="geography-class" # the folder name in your /project directory
OUTPUT_DIRECTORY="~/Documents/MapBox/export/"
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Keybase proof

I hereby claim:

  • I am jacquestardie on github.
  • I am jacques (https://keybase.io/jacques) on keybase.
  • I have a public key whose fingerprint is 9CD3 FA28 A92A 3685 6569 0301 6A01 A44C AEDD F9AF

To claim this, I am signing this object:

@jqtrde
jqtrde / nhd.md
Last active August 29, 2015 13:58
Using NHD in Tilemill

For most maps, detailed hydrography isn't important, which means OSM works just fine. For the finer scale, restoration oriented maps than I need to create for SHARE, the OSM data is not up to snuff.

The benefits of NHD data are:

  • Lines for ephemeral, intermittent, and perennial streams. OSM data data does not even consist of a network, just the outlines of larger water bodies.
  • It's a continuous network, with appropriate hunctions.

Things that suck:

  • There are SO many line-strings
@jqtrde
jqtrde / hydrology-cartocss
Created April 10, 2014 19:47
stylesheets for the mapbox project I'm tworking on
@blue: #a4c7d2;
@blue-dark: #69a6be;
#area {
line-color: @blue-dark;
polygon-fill: @blue;
}
#waterbody {
[zoom>=10] {
// define the feature
var geojsonFeature = {
"type": "Feature",
"properties": {
"name": "Null Island
},
"geometry": {
"type": "Point",
"coordinates": [0, 0]
}
$.getJSON("./data.json", function(data) {
var map = L.map('map');
var geojson = L.geoJson(data).addTo(map);
});
  1. Mouse Setup
  2. Audio Setup
  3. Weapon selection
  4. Gunplay
  5. Sidearms
  6. Knife
  7. Explosives
  8. Audio Cues
  9. Minimap
  10. Rolling with the Zerg