Every video with location lat:0.0 long:0.0?

Topics: Developer Forum
Feb 4, 2012 at 1:45 PM

I am using the following options but every video in search has got the location 0,0 (latitude: 0.0, longitude: 0.0). Can anybody help me?

 

PhotoSearchOptions options = new PhotoSearchOptions();

options.PerPage = 200;

options.MinUploadDate = new DateTime(2010, 7, 1);

options.BoundaryBox = new BoundaryBox(-180.0, -90.0, -1.0, -1.0);            

 options.Licenses.Add(LicenseType.AttributionNoncommercialShareAlikeCC);

options.Licenses.Add(LicenseType.AttributionNoncommercialCC);

options.Licenses.Add(LicenseType.AttributionNoncommercialNoDerivativesCC);

options.Licenses.Add(LicenseType.AttributionCC);options.Licenses.Add(LicenseType.AttributionShareAlikeCC);

ptions.Licenses.Add(LicenseType.AttributionNoDerivativesCC);

options.Licenses.Add(LicenseType.NoKnownCopyrightRestrictions);

options.SortOrder = PhotoSearchSortOrder.InterestingnessDescending;

options.MediaType = MediaType.Videos;options.HasGeo = true;

Coordinator
Feb 5, 2012 at 8:26 AM

You need to tell Flickr to return the Geo information for you:

options.Extras |= PhotoSearchExtras.Geo | PhotoSearchExtras.License;

Sam

Feb 5, 2012 at 10:47 AM

Thanks Sam!