item | quantity | acquired? |
---|---|---|
avocados | 12 | ✔ |
bacon | 4 | saturday |
bagels | 3 doz. | sunday morning |
baguettes | 2 | sunday morning |
butter | 1 | ✔ |
cake | 1 | saturday/sunday |
cheddar | 1 | saturday |
cider | 2 | saturday/sunday |
npm install > ursa-fail.log | |
clang: error: invalid version number in '-mmacosx-version-min=10.9:/usr/local/bin:/usr/local/bin:/usr/local/bin:/Users/i/.rvm/bin:/usr/local/bin:/Users/i/.nvm/v0.8.26/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Users/i/.rvm/bin:/Users/i/.rvm/bin:/Users/i/.rvm/bin:/Users/i/.rvm/bin:/Users/i/.rvm/bin:/Users/i/.rvm/bin' | |
make: *** [Release/obj.target/ursaNative/src/ursaNative.o] Error 1 | |
gyp ERR! build error | |
gyp ERR! stack Error: `make` failed with exit code: 2 | |
gyp ERR! stack at ChildProcess.onExit (/usr/local/Cellar/node/0.10.22/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23) | |
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17) | |
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12) | |
gyp ERR! System Darwin 13.0.0 | |
gyp ERR! command "node" "/usr/local/Cellar/node/0.10.22/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build" |
> [email protected] install /Users/i/tools/watchbot/node_modules/ursa | |
> node-gyp configure build && node install.js | |
CXX(target) Release/obj.target/ursaNative/src/ursaNative.o |
> sqlite3 qs-adm1.sqlite "select count(*) from data" | |
> 666 |
~ (git::master) ▶ node -v | |
v0.10.21 | |
~ (git::master) ▶ nvm install v0.8.26 | |
v0.8.26 is already installed. | |
~ (git::master) ▶ nvm use v0.8.26 | |
Now using node v0.8.26 | |
~ (git::master) ▶ node -v | |
v0.10.21 |
<!-- | |
This query looks for nodes and ways last | |
edited by the given user. | |
Zoom to the area where you want to see the | |
user's edits and hit "Run" to see those | |
edits visualized on the map. | |
--> |
Making your color scheme systematic is probably the best way to get a good-looking palette. It's not pure science - so dont just plug in numbers, but structured relationships between colors definitely makes for a more pleasing map. You can use any number color functions available to CartoCSS. For categorized features, I like using spin()
, for getting different hues but maintaining the exact same lightness and saturation.
As for data steps there a number of statistical + geographic approaches (jenks is popular, and QGIS will calculate this for you), but I think for non-scientific maps like these, it's really just about what represents the data most effectively at a glance - which is to say trial and error.
I used a quasi-log scale for my NYC building-size map, which you can checkout here: https://github.com/mapbox/reinv
Shape Plugin: wrong file code : -8454144 encountered during parsing of layer 'countries' in Layer at line 27 |
create table test2 ( | |
gid int, | |
qs_adm0 text | |
); | |
SELECT AddGeometryColumn('public', 'test2', 'geom', 4326, 'MULTIPOLYGON', 2); | |
insert into test2 ( | |
SELECT | |
gid, | |
qs_adm0, |
# !/bin/bash | |
# make sure homebrew is up-to-date and install some stuff | |
brew update | |
brew install postgres || brew upgrade postgres | |
brew install postgis || brew upgrade postgis | |
# if you dont have brew on your path yet | |
echo "export PATH=/usr/local/bin:$PATH" >> ~/.bash_profile | |
source ~/.bash_profile |