Try doing something like

$gp->registerPackage('Zend_Gdata_Geo');
$gp->registerPackage('Zend_Gdata_Geo_Extension');
$where = $gp->newGeoRssWhere();
$position = $gp->newGmlPos('37.0 -122.0');
$where->point = $gp->newGmlPoint($position);
$photoEntry->setWhere($where);

Cheers,
-Jeff

On Nov 23, 10:53 am, hmb <[EMAIL PROTECTED]> wrote:
> Hi,
> How do i post latitude and longitude info along with photos?
>
> here is what i post now.
>
> $username = "default";
> $filename = "/tmp/photo.jpg";
> $photoName = "My Test Photo";
> $photoCaption = "The first photo I uploaded to Picasa Web Albums via
> PHP.";
> $photoTags = "beach, sunshine";
>
> // We use the albumId of 'default' to indicate that we'd like to
> upload
> // this photo into the 'drop box'.  This drop box album is
> automatically
> // created if it does not already exist.
> $albumId = "default";
>
> $fd = $gp->newMediaFileSource($filename);
> $fd->setContentType("image/jpeg");
>
> // Create a PhotoEntry
> $photoEntry = $gp->newPhotoEntry();
>
> $photoEntry->setMediaSource($fd);
> $photoEntry->setTitle($gp->newTitle($photoName));
> $photoEntry->setSummary($gp->newSummary($photoCaption));
>
> HOW DO I INSERT LAT and LONG?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Picasa-Data-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to