Skip to content

Instantly share code, notes, and snippets.

@danbjoseph
danbjoseph / VUT_airports.geojson
Last active August 29, 2015 14:17
Vanuatu airport locations (unverified community data from ourairports.com)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@danbjoseph
danbjoseph / postgres COPY.md
Last active August 29, 2015 14:16
copying data from csv to a new postgres table
  • file must be on same computer as postgres database
  • file must be UTF-8, though might be a way to define this as something else in the psql command
CREATE TABLE enumeration(
	"id" SERIAL PRIMARY KEY,
	"enumerator" TEXT, 
	"hh_id" TEXT, 
	"respondent_last" TEXT, 
	"respondent_first" TEXT, 
	... 
@danbjoseph
danbjoseph / web map and postgis.md
Created February 25, 2015 01:58
looking into how to put data from a postgis db on a web map
@danbjoseph
danbjoseph / qr-generate.md
Created February 24, 2015 04:56
links and such for reference while building bulk qr code generator
@danbjoseph
danbjoseph / JOSM_notes.md
Last active August 29, 2015 14:14
outline for session on JOSM at GW on 2015-02-06
  • install JOSM
  • install plugins through the preferences (links below are to details)
  • enable remote control in preferences
  • familiarize yourself with the keyboard shortcuts
    • Select, move, scale and rotate objects (S)
    • Draw nodes (A)
    • etc.
  • for adding tags the OSM wiki on map features is your friend
@danbjoseph
danbjoseph / gist:038cbab1b4d064701989
Last active August 29, 2015 14:13
Mapbooklet using mailmerge

Mapbooklet using mailmerge

Parts of this may be more detailed than you need. I did this on a Mac. There will be some difference with a Windows setup. Please help improve this guide if you have additions or corrections.

This assumes you have:

  • Loose leaf copier paper such as Rite in the Rain LL851 with each sheet having two 4 5/8 in x 7 in pre-perforated loose leaf sheets (or something similar)
  • An image file for each page of your booklet

Steps:

  • Create a project folder and work in it
  • Create an images folder and drop all your map page images into it
@danbjoseph
danbjoseph / gist:bbdf92fb8e7cd309ba98
Last active August 29, 2015 14:12
wire up Bower packages from the terminal

Wire up Bower packages from the terminal

The wiredep documentation covers everything in much greater detail but at the most basic...

Install wiredep globally

$ npm install -g wiredep