Skip to content

Instantly share code, notes, and snippets.

@crm114
Forked from tmcw/togeo.py
Created November 26, 2012 04:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crm114/4146583 to your computer and use it in GitHub Desktop.
Save crm114/4146583 to your computer and use it in GitHub Desktop.
geo-assign any arbitrary image to a geotiff usable in tilemill
require 'rio'
indir = ARGV[0]
files = rio(indir).entries['*.jpg']
files.each do |infile|
res = `python togeo.py #{infile}`
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment