Photo count but no result

264 views
Skip to first unread message

Sabrina

unread,
Jan 29, 2013, 6:08:39 PM1/29/13
to panora...@googlegroups.com
Hello,

I try to use Panomario. I send this request to test :

I can see there have 21 results but I can't see any pic in the JSON result :

{"count":21,"has_more":false,"photos":[]}


Someone have an idea ?

regards

Sabrina

QuentinUK

unread,
Feb 6, 2013, 5:17:17 PM2/6/13
to panora...@googlegroups.com
This is a new API and I have not seen it before. The documentation for the data/get_photos API has disappeared. It is very strange that it just seems to have vanished without any message in the forum.

This is a bug that is also in the other API which I use.

I made the area a bit bigger and it says there are 32 photos but only returns 27. 
It looks like they've recently changed the JSON results returned as well. They have not updated the documentation so that is now wrong! The forum administrators always say that it is difficult to talk to the people who work at Google and find what is going on. This is another example of that.

Making the area a bit bigger returns:-
{{"count":32,"has_more":false,"map_location":{"lat":50.45731,"lon":2.7737317562738277,"panoramio_zoom":3},"photos":[

{"height":547,"latitude":50.457285439987999,"longitude":2.7798414198698,"owner_id":2001699,"owner_name":"jeangab-62","owner_url":"http://www.panoramio.com/user/2001699","photo_file_url":"http://static.panoramio.com/photos/original/12100397.jpg","photo_id":12100397,"photo_title":"","photo_url":"http://www.panoramio.com/photo/12100397","upload_date":"14 July 2008","width":800},

etc.


New values:-
map_location":{"lat":50.45731,"lon":2.7737317562738277,: centre of the zoom area
"panoramio_zoom":3}: equivalent zoom level on the map including the area given.
"height", this is not altitude but something to do with the way some photos only appear at lower heights above the Earth on Google Earth.
"place_id", the Google Places Id
"upload_date" It would be more useful if they showed that date/time that the photo was taken.

GianfrancoUCL

unread,
Jul 17, 2013, 3:38:08 PM7/17/13
to panora...@googlegroups.com
Hello Sabrina and Quentin.
Have you managed to get some useful results?
I developed a PHP code and while in my bounding box the count gives me 5740 or 5735 pictures when I download and parse data I just got 2009 pictures.
I am only looking for pictures with position.

Best

Gianfranco
Reply all
Reply to author
Forward
0 new messages