My Blog of Japan Japan!

Posted
23 April 2009 @ 12pm

Posted In:
Google Maps, Japan, Maps, Programming

Tagged
, , , ,

Panoramio Photos

Rear End

I’ve been using Panoramio photos a lot in my Japan Trains pages, where each station will display the nearest pictures pulled from Panoramio. The Panoramio API is a little bit difficult to deal with, since it only offers one way to access photos: by describing a rectangle of latitude and longitude coordinates, and fetching the photos within that rectangle. You can fetch by most recent or other options. I haven’t found a way to fetch the details of a particular photo from it’s ID, so I resorted to saving the IDs in a local database. This means that I can have each of the thumbnails link to a Panoramio page, showing the nearest 5 stations to that photo. It also means that the number of pages available on my site has jumped by around 30,000. Google has been gorging itself on the new pages recently, so there may be a slowdown.

Here’s a few examples of panoramio pages:

Shibuya

Near Tabata Station

Near Nishigahara Station


1 Comment

Posted by
Chang
22 July 2009 @ 8pm

here is a good one for your reference: http://www.panoramio.com/photo/17799471 It’s the platform of JR Keiyo Line at “Chiba Minato Eki”


Leave a Comment