OpenStreetMap Summer Mapathon http://bit.ly/1UeMNys
Hi! Welcome! Thanks for coming out map some things!
Thanks for coming. Especially thanks to Rackspace (ObjectRocket) and Ashley for hosting and pizza and being generally awesome!
Hi! Welcome! Thanks for coming out map some things!
Thanks for coming. Especially thanks to Rackspace (ObjectRocket) and Ashley for hosting and pizza and being generally awesome!
'use strict'; | |
var _ = require('lodash'); | |
var csv = require('csv-write-stream'); | |
var fs = require('fs'); | |
var mapquest = require('mapquest'); | |
var nconf = require('nconf'); | |
nconf.file({file: 'credentials.json'}); |
def _s3_multipart_copy(old_bucket, old_key, new_bucket, new_key): | |
old_key_obj = old_bucket.lookup(old_key) | |
key_size = old_key_obj.size | |
part_size = 1000000000 | |
parts = [ | |
(i+1, i * part_size, min(key_size - 1, ((i + 1) * part_size) - 1)) | |
for i in range((old_key_obj.size / part_size) + 1) | |
] | |
multipart = new_bucket.initiate_multipart_upload(new_key) |