Skip to content

Instantly share code, notes, and snippets.

@dalekunce
dalekunce / craftbreweries.geojson
Created September 12, 2015 20:06 — forked from anonymous/overpass.geojson
craftbreweries
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dalekunce
dalekunce / microbrews.geojson
Last active September 12, 2015 20:05 — forked from anonymous/overpass.geojson
microbrews
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dalekunce
dalekunce / srtm-30.openterrain.org-coverage.geojson
Last active September 10, 2015 16:43
Map of coverage of DEMs in s3://srtm-30.openterrain.org/source/ Based on filenames
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# Some good references are:
# http://russbrooks.com/2010/11/25/install-postgresql-9-on-os-x
# http://www.paolocorti.net/2008/01/30/installing-postgis-on-ubuntu/
# http://postgis.refractions.net/documentation/manual-1.5/ch02.html#id2630392
#1. Install PostgreSQL postgis and postgres
#brew will install postgres and postgis using one formula
brew install postgis
initdb /usr/local/var/postgres
// Lefalet shortcuts for common tile providers - is it worth adding such 1.5kb to Leaflet core?
L.TileLayer.Common = L.TileLayer.extend({
initialize: function (options) {
L.TileLayer.prototype.initialize.call(this, this.url, options);
}
});
(function () {