Breakthrough: How to still retrieve the coordinates of all photos accepted for Google Maps / Earth

182 views
Skip to first unread message

積丹尼 Dan Jidanni Jacobson

unread,
Feb 22, 2017, 1:18:59 AM2/22/17
to Panoramio Help Forum (Support & feedback)
Remember all those Panoramio photos of yours that were accepted for
Google Maps / Earth, but now you can't get the coordinates for (because
they weren't in the Exif etc.)? Well I discovered that

https://www.google.com/maps/photometa/v1?authuser=0&hl=en&pb=!1m2!1smaps_sv.tactile!11m0!2m2!1sen!2s!3m3!1m2!1e4!2s{}!4m19!1e1!1e2!1e3!1e4!1e5!1e6!1e8!2m1!1e1!4m1!1i48!5m1!1e1!5m1!1e2!6m1!1e1!6m1!1e2

with the {} replaced by the Panoramio photo ID, shows you what those
coordinates were, and more. For example, here on Linux,

$ echo 133207770 | xargs -I{} GET 'https://www.google.com/maps/photometa/v1?authuser=0&hl=en&pb=!1m2!1smaps_sv.tactile!11m0!2m2!1sen!2s!3m3!1m2!1e4!2s{}!4m19!1e1!1e2!1e3!1e4!1e5!1e6!1e8!2m1!1e1!4m1!1i48!5m1!1e1!5m1!1e2!6m1!1e1!6m1!1e2' | perl -pwle 's/http/\n$&/g;'|fold
)]}'
[[],[[[1],[4,"133207770"],[4,3,[600,800],,,,,,,"133207770"],[["En montant au San
etsch"],,,,,["En montant au Sanetsch"]],[[[["Images may be subject to copyright.
","en"]]],[[["Raphael Clerici"],"
https://ssl.panoramio.com/user/1076411","
https://ssl.panoramio.com/avatars/user/thumbnail/1076411.jpg"]],,[[,"
https://ssl.panoramio.com/","//maps.gstatic.com/tactile/fineprint/panoramio-logo
.png"]],[[,"
https://ssl.panoramio.com/photo/133207770"]]],[[[1],[[,,46.32619398696301,7.2951
68956652875]]]],[2,1,,,,[,,,[1,3,4,6,7]],,[2016,9,1]],["//www.google.com/cbk?cb_
client=maps_sv.tactile\u0026output=report\u0026image_key=!1e4!2s133207770"]]]]

(I figured it out by analyzing the URLs transacted when looking at photos
in my https://www.google.com/maps/contrib/107326194379039522045/photos/
page.)
Reply all
Reply to author
Forward
0 new messages