exp:eeflickr:photos_getWithGeoData

Authentication is Required for this tag

Returns a list of your geo-tagged photos.

Params

  • min_upload_date : Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp.
  • max_upload_date : Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp.
  • min_taken_date: Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime
  • max_taken_date: Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime.
  • privacy_filter: Return photos only matching a certain privacy level. Valid values are:
    • 1 public photos
    • 2 private photos visible to friends
    • 3 private photos visible to family
    • 4 private photos visible to friends & family
    • 5 completely private photos
  • sort: The order in which to sort returned photos. Deafults to date-posted-desc. The possible values are: date-posted-asc, date-posted-desc, date-taken-asc, date-taken-desc, interestingness-desc, and interestingness-asc.
  • extras : A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: license,date_upload,date_taken,owner_name,icon_server,original_format,last_update,geo,tags,machine_tags.
  • per_page: Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
  • page: The page of results to return. If this argument is omitted, it defaults to page1.
  • sign: sign="yes" Authentication is Required for this tag. (about Authentication)
  • refresh: (cache time in minutes) this overrides the default time eeFlickr stores Flickr API data before requesting new data from Flickr

Full Tag

{exp:eeflickr:photos_getWithGeoData privacy_filter="1" sign="yes" sort="interestingness-desc" extras="license,date_upload,date_taken,owner_name,icon_server,original_format,last_update,geo,tags,machine_tags"}
 {eeflickr
:photos_getWithGeoData_loop}
            {id}
            {owner}
            {secret}
            {server}
            {farm}
            {title}
            {ispublic}
            {isfriend}
            {isfamily}
            {license}
            {dateupload}
            {datetaken}
            {datetakengranularity}
            {ownername}
            {iconserver}
            {iconfarm}
            {originalsecret}
            {originalformat}
            {lastupdate}
            {latitude}
            {longitude}
            {accuracy}
            {tags}
            {machine_tags}
   {
/eeflickr:photos_getWithGeoData_loop}
   
  {eeflickr
:photos_getWithGeoData_paging} 
       {page}
       {pages}
       {perpage}
       {total}
    {
/eeflickr:photos_getWithGeoData_paging}
{
/exp:eeflickr:photos_getWithGeoData}


Sample Usage

The code below will build a google Earth KML feed of my 100 most interesting photos on Flickr which i can then import into Google Earth or Google Maps

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.2">
<
Document>
    <
name>David Rencher Geo Mapped Photos</name>
    <
Style id="photo">
        <
IconStyle>
            <
Icon>
                <
href>http://maps.google.com/mapfiles/kml/pal3/icon54.png</href>
            
</Icon>
        </
IconStyle>
    </
Style>
    <
Folder>
        <
name>David Rencher Pictures</name>
        <
description>Photos From David Rencher</description>
        <
LookAt>
            <
longitude>-87.9290771484375</longitude>
            <
latitude>30.237713497892063</latitude>
            <
altitude>48811</altitude>
            <
range>131509</range>
            <
tilt>41.000000</tilt>
            <
heading>0.000000</heading>
        </
LookAt>
{exp:eeflickr:photos_getWithGeoData privacy_filter="1" sign="yes" sort="interestingness-desc" extras="license,date_upload,date_taken,owner_name,icon_server,original_format,last_update,geo,tags,machine_tags"}
{eeflickr
:photos_getWithGeoData_loop}
        
<Placemark>
            <
name><![CDATA[{title}]]></name>
            <
description><![CDATA[
        
<img src="http://farm{farm}.static.flickr.com/{server}/{id}_{secret}_m.jpg" alt="{title}"><br />
        
{tags}
        
<a href="http://www.lumis.com/picture/{id}/">more</a>
        
]]></description>
            <
LookAt>
                <
longitude>{longitude}</longitude>
                <
latitude>{latitude}</latitude>
            <
altitude>2882</altitude>
            <
range>7791</range>
            <
tilt>41.000000</tilt>
            <
heading>0.000000</heading>
            </
LookAt>
            <
styleUrl>#photo</styleUrl>
            
<Point>
                <
extrude>1</extrude>
                <
altitudeMode>relativeToGround</altitudeMode>
                <
coordinates>{longitude},{latitude}</coordinates>
            </
Point>
        </
Placemark>
   
{/eeflickr:photos_getWithGeoData_loop}
  {
/exp:eeflickr:photos_getWithGeoData}
    
</Folder
</
Document>
</
kml>



KML feed in Google Maps

or open in Google Earth