This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--FROM http://blog.mackerron.com/2012/06/01/postgis-2-ubuntu-12-04/ | |
mkdir -p src | |
# First install PostgreSQL 9.2, plus contributed packages and any missing prerequisites | |
# === | |
# add the Postgres PPA | |
echo 'deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main' \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//10.17.2013 - Ryan Whitley | |
var flow = require('flow'); | |
var pg = require('pg'), | |
common = require("../../../common"), | |
settings = require('../../../settings'); | |
//Takes in a where clause, buffers, dissolves and zonal stats. Return table of zonal stats. | |
//Arguments are: | |
//1. The points (or at least a where clause to query a particular table). | |
//2. Buffer Radius |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Map { | |
background-color: #b8dee6; | |
} | |
#countries { | |
::outline { | |
line-color: #85c5d3; | |
line-width: 2; | |
line-join: round; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* from - https://gist.github.com/Zverik/5757305 | |
* L.DynamicSingleTile uses L.ImageOverlay to display a single-tile layer from node-mapnik. | |
* url parameter must accept width, height and bbox. | |
*/ | |
L.DynamicSingleTile = L.ImageOverlay.extend({ | |
initialize: function (url, options) { | |
L.ImageOverlay.prototype.initialize.call(this, url, null, options); | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* from - https://gist.github.com/fnicollet/5764080 | |
* Modified by Ryan Whitley - Jan 30, 2013 | |
* L.DynamicSingleTile uses L.ImageOverlay to display a single-tile layer from node-mapnik. | |
* url parameter must accept width, height and bbox. | |
*/ | |
L.DynamicSingleTile = L.ImageOverlay.extend({ | |
initialize: function (url, bounds, options) { // (String, Object) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
L.TileLayer.TileJSON = L.TileLayer.Canvas.extend({ | |
options: { | |
debug: false | |
}, | |
tileSize: 256, | |
initialize: function (options) { | |
L.Util.setOptions(this, options); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>TechDiversified Worshop - The Power of APIs</title> | |
</head> | |
<body> | |
<h1>List of 911 Responses</h1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>TechDiversified Worshop - The Power of APIs</title> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>TechDiversified Worshop - The World of JavaScript</title> | |
<style> | |
.section{ | |
margin: 20px 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>TechDiversified Worshop - The World of JavaScript</title> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" /> | |
<style> | |
.section{ |
OlderNewer