Skip to content

Instantly share code, notes, and snippets.

pooja /
Last active Jul 30, 2020
Developing on Filecoin: Resources
andrewxhill /
Last active Sep 28, 2019
command-line python interface for manipulating data on CartoDB
import os
import urllib
import urllib2
import base64
import json
import sys
import argparse
import requests
except ImportError:
jsanz / gist:5141420
Created Mar 12, 2013
From CartoDB to DXF, with all my love to CAD users
View gist:5141420
# With the GeoJSON OGR driver one can use the CartoDB SQL API to create any OGR supported format output
# OGR Formats:
# CartoDB SQL API:
# This sample creates a DXF making a "select the_geom from meteo" from my account at CartoDB
ogr2ogr -skipfailures -f DXF out.dxf "" OGRGeoJSON
mhkeller / gist:3834498
Created Oct 4, 2012 — forked from abelsonlive/gist:3751902
google geocoding API, R
View gist:3834498
Forked from @BrianAbelson
library('rjson') # For parsing json in R
library('RCurl') # For sending an http request
library('plyr') # For ddply
# Takes an data frame with a unique id column and an address column at the very least
# it returns a data frame with the uid, lat, lng and specificity of geocoding
# use the uid to join these results back to your data if you want
# you can also accomplish roughly the same thing with a for loop instead of ddply
You can’t perform that action at this time.