Dear All,

I would like to download the images based on the geographic coordinates! To 
donwload images using just a tag:

gd_client = gdata.photos.service.PhotosService()
>
> photos = gd_client.SearchCommunityPhotos('puppy', limit='10')
>
>
>> for photo in photos.entry:
>
> print 'Community photo title:', photo.link.index
>
> print 'AlbumID:', photo.albumid.text
>
> print 'PhotoID:', photo.gphoto_id.text
>
> name= str(photo.gphoto_id.text)+'.jpg'
>
> image = urllib.URLopener()
>
> image.retrieve(photo.content.src, name)
>
>
To enter the Geographic coordinates I have read that I could use a bbox (
Link <https://developers.google.com/picasa-web/docs/1.0/reference>) . I 
tried to define two coordinates and creating a bbox:

lt= 38.897661
> ln= -77.0365643
> toll = 1


> bbox_A = str(ln-toll)+','+str(lt-toll)+','+str(ln+toll)+','+str(lt+toll)


> gd_client = gdata.photos.service.PhotosService()

photos = gd_client.SearchCommunityPhotos(str(bbox_A), limit='10')

 


 It seems working but it doens't retrieve any photo. I have tried to 
enlarge the Bounding Box but nothing happens! Do you have any clue?

I have read that there is a plugin called Picasa Flex Api that works in 
flash (Link <https://code.google.com/p/picasa-flex-api/>) but I'm pretty 
sure that must exist something in python too! Am I right?

Thank you very much for your support!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-picasa-data-api.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to