Skip to content

Instantly share code, notes, and snippets.

@dnomadb
dnomadb / map.geojson
Last active August 29, 2015 14:23 — forked from anonymous/map.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@c1: #eff3ff;
@c2: #bdd7e7;
@c3: #6baed6;
@c4: #3182bd;
@c5: #08519c;
#ukflood {
polygon-comp-op: multiply;
polygon-fill: white;
polygon-opacity: 0;
image-filters:agg-stack-blur(1,1);
######
############
################
##### #####
### ##
# #
# #
# ##
# ###
## ###
{"type":"FeatureCollection","name":"scene","features":[{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[132.368087768555,-20.6250728222186],[134.125213623047,-20.9832389698613],[133.887634277344,-22.0245456012403],[132.099609375,-22.0245456012403],[132.099609375,-21.7371777709599],[132.368087768555,-20.6250728222186],[132.368087768555,-20.6250728222186],[132.368087768555,-20.6250728222186]]]},"properties":{"date":"20150506","description":"Landsat-8\n-------------\nLandsat-8 surface-reflectance corrected imagery\n\n### License\n\nOpen data license (http://landsat.usgs.gov/Landsat_Search_and_Download.php)","processed_date":"20150510","scene_id":"LC81030752015126LGN00","source_id":"landsat08_l8sr"}}
,{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[134.520721435547,-19.2281767377662],[134.385452270508,-19.8338927825378],[132.64274597168,-19.4717713021051],[132.699737548828,-19.2281767377662],[134.520721435547,-19.2281767377662]]]},"properties":{"date":"20150506","description":"Lands
#!/usr/bin/env python
from sklearn import decomposition
import rasterio as rio
import numpy as np
import click, json, os
import urllib
@click.group()
def cli():
#!/usr/bin/env python
from sklearn import decomposition
import rasterio as rio
import numpy as np
import click, json, os
import urllib
@click.group()
def cli():
/Users/dnomadb/landsatcompare/7-64-43-landsat08_32-2015-LC81980252015103LGN00.png /Users/dnomadb/landsatcompare/7-64-43-landsat08_32-2015-LC81980262015071LGN00.png /Users/dnomadb/landsatcompare/7-64-43-landsat08_32-2015-LC81980262015103LGN00.png /Users/dnomadb/landsatcompare/7-64-43-landsat08_32-2015-LC81990252015110LGN00.png /Users/dnomadb/landsatcompare/7-64-43-landsat08_32-2015-LC81990262015110LGN00.png /Users/dnomadb/landsatcompare/7-64-43-landsat08_32-2015-LC82000242015053LGN00.png /Users/dnomadb/landsatcompare/7-64-43-landsat08_32-2015-LC82000242015069LGN00.png /Users/dnomadb/landsatcompare/7-64-43-landsat08_32-2015-LC82000242015117LGN00.png /Users/dnomadb/landsatcompare/7-64-43-landsat08_32-2015-LC82000252015053LGN00.png /Users/dnomadb/landsatcompare/7-64-43-landsat08_32-2015-LC82000252015069LGN00.png /Users/dnomadb/landsatcompare/7-64-43-landsat08_32-2015-LC82000252015117LGN00.png /Users/dnomadb/landsatcompare/7-64-43-landsat08_32-2015-LC82000262015053LGN00.png /Users/dnomadb/landsatcompare/7-64-43-la
2015-04-27 13:35:45 733 7-100-41.serialtiles.gz
2015-04-27 13:39:53 614 7-100-42.serialtiles.gz
2015-04-27 14:02:05 101 7-108-41.serialtiles.gz
2015-04-27 14:10:21 101 7-108-42.serialtiles.gz
2015-04-27 13:31:17 101 7-108-43.serialtiles.gz
2015-04-27 13:35:35 101 7-109-42.serialtiles.gz
2015-04-27 12:57:01 101 7-32-41.serialtiles.gz
2015-04-27 13:21:43 101 7-33-41.serialtiles.gz
2015-04-27 12:57:49 101 7-33-42.serialtiles.gz
2015-04-27 13:04:33 101 7-33-43.serialtiles.gz
Username: dnomadb
Password:
Email: damon@mapbox.com
npm http PUT https://registry.npmjs.org/-/user/org.couchdb.user:dnomadb
npm http 400 https://registry.npmjs.org/-/user/org.couchdb.user:dnomadb
npm ERR! Error: Unknown error while authenticating : -/user/org.couchdb.user:dnomadb
npm ERR! at RegClient.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:272:14)
npm ERR! at Request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/index.js:148:22)
npm ERR! at Request.EventEmitter.emit (events.js:98:17)
npm ERR! at Request.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/index.js:891:14)
npm ERR! need auth auth and email required for publishing
npm ERR! need auth You need to authorize this machine using `npm adduser`
npm ERR! System Darwin 14.0.0
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "publish"
npm ERR! cwd /Users/dnomadb/vector-tile-query
npm ERR! node -v v0.10.17
npm ERR! npm -v 1.3.8
npm ERR! code ENEEDAUTH
npm ERR!