Skip to content

Instantly share code, notes, and snippets.

View defvol's full-sized avatar

Rodolfo Wilhelmy defvol

View GitHub Profile

Map QA Issues Specs v2.0 [DRAFT]

JSON schema to represent data quality issues on a map. A QA project is a collection of data quality issues generated from a source or queried live from OSM.

Project Metadata

A JSON-compliant schema to describe a project

{
	"project": {
		"uid": "1001",
#!/usr/bin/env bash
apt-get -y update
apt-get -y install build-essential zlib1g-dev libssl-dev lib64readline-gplv2-dev libyaml-dev
cd /tmp
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz
tar -xvzf ruby-1.9.3-p125.tar.gz
cd ruby-1.9.3-p125/
./configure --prefix=/usr/local
make
make install
# Bulk convert shapefiles to geojson using ogr2ogr
# For more information, see http://ben.balter.com/2013/06/26/how-to-convert-shapefiles-to-geojson-for-use-on-github/
# Note: Assumes you're in a folder with one or more shape files at most 2 levels deep the file structure
# and outputs as geojson with the crs:84 SRS (for use on GitHub or elsewhere)
# GeoJSON conversion
function shp2geojson() {
ogr2ogr -f GeoJSON -t_srs crs:84 "$1.geojson" "$1.shp"
}
@defvol
defvol / Rakefile
Created April 27, 2013 16:48 — forked from juanje/Rakefile
load 'rake/helper.rb'
desc "Set up the VM"
task :up do
vm = VM.new
vm.cli('up')
end
desc "Shutdown the VM"
task :graceful_down do
@defvol
defvol / devise.es.yml
Created December 15, 2012 22:59 — forked from rhaseven7h/devise.es.yml
Spanish translation (Mexico)
# Additional translations at http://github.com/plataformatec/devise/wiki/I18n
es:
errors:
messages:
expired: "ha expirado, por favor pida uno nuevo"
not_found: "no encontrado"
already_confirmed: "ya está confirmada, por favor intente ingresar"
not_locked: "no está bloqueada"
not_saved: