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:
<html> | |
<head> | |
<title>Simple Line Graph using SVG and d3.js</title> | |
<script src="http://mbostock.github.com/d3/d3.v2.js"></script> | |
<style> | |
/* tell the SVG path to be a thin blue line without any area fill */ | |
path { | |
stroke: steelblue; | |
stroke-width: 1; | |
fill: none; |
#!/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/" |
I hereby claim:
To claim this, I am signing this object:
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:
Things that suck:
@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); | |
}); |