http://macwright.org/2012/08/13/images-as-maps.html
このリンクについて勉強していますが、問題が発生しました
「これは Python スクリプトです。生のファイルとしてダウンロードし、togeo.py という名前を付けます。これを機能させるには GDAL が必要です。必ずしも「python バインディング」ではありませんが、端末で gdal_translate と gdalinfo を確認してください。存在しています。"
「gdal_translate と gdalinfo が端末に存在する」ようにする方法がわかりません。
「python togeo.py eso1119a.jpg」を実行したときのエラーメッセージは次のとおりです。
Janes-MacBook-Pro:desktop kennett$ python togeo.py eso1119a.jpg
Traceback (most recent call last):
File "togeo.py", line 7, in <module>
info_output = subprocess.Popen(['gdalinfo', infile], stdout=subprocess.PIPE).communicate()[0]
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 672, in __init__
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1202, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory