Exports the locations of photos in a photo album as JSON data...
osascript -l JavaScript iPhotoLocation.js "NAIST Internship"
[ {"id":4294967349,"latitude":34.435680000000005,"longitude":135.24453667,"altitude":15}
, {"id":4294967353,"latitude":34.43478,"longitude":135.243225,"altitude":14.8}
, {"id":4294967357,"latitude":34.43488,"longitude":135.243225,"altitude":14.6}
, {"id":4294967361,"latitude":34.435845,"longitude":135.24351332999998,"altitude":14.7}
, {"id":4294967369,"latitude":34.41083667,"longitude":135.29971332999997,"altitude":15.2}
...
So that you can put them in pretty maps: