admin
steeev 11:19pm, 8 March 2009
i just noticed www.flickr.com/services/api/flickr.photos.search.html has a new parameter: geo_context . I wonder how you can set this flag on your photos. i guess they might not have rolled it out fully yet.

quoting the docs:
---------------------------------------------------

geo_context (Optional)
Geo context is a numeric value representing the photo's geotagginess beyond latitude and longitude. For example, you may wish to search for photos that were taken "indoors" or "outdoors".

The current list of context IDs is :
* 0, not defined.
* 1, indoors.
* 2, outdoors.

Geo queries require some sort of limiting agent in order to prevent the database from crying. This is basically like the check against "parameterless searches" for queries without a geo component.

A tag, for instance, is considered a limiting agent as are user defined min_date_taken and min_date_upload parameters &emdash; If no limiting factor is passed we return only photos added in the last 12 hours (though we may extend the limit in the future).

-----------------
jmoliver 9 years ago
I played around with this parameter in the Flickr Explorer, but I am still baffled on how it is intended to work. How can Flickr distinguish between indoor and outdoor? Tags/Machine tags?
roomy knee [deleted] 9 years ago
More importantly ... why? Not that difficult to look at a photo and figure out if it's in or outside.
jmoliver 9 years ago
For a human being it might be easy, but how about a machine?

There are some algorithms out there which try to distinguish indoor/outdoor by analyzing an image. If the image appears to have a blue sky, then it most probably was taken outdoors. Another way is by analyzing an image's metadata, a keyword "indoors" is the most direct way of analysis, but if such a keyword is not present, it might be deduced by the image timestap or geo coordinates.
MOD
Buckeye. PRO Posted 9 years ago. Edited by Buckeye. (moderator) 9 years ago
'...it might be deduced by the image timestap or geo coordinates.'
Unh? Err, how?
jmoliver 9 years ago
Sorry, I hit the Post button a bit to early. Say you take photos which are geotagged at an event where other people attend and also take photos, some of the other people's photos are tagged "outdoor". Flickr might deduce that your photos are also outdoors if the photos are very nearby.

But, again, I am just speculating. I still have no idea what the geo_context paramater is for and how it works.
jmoliver 9 years ago
Got an answer at the Flickr API group.

The value can be set using www.flickr.com/services/api/flickr.photos.geo.setLocation...
--------------------
Context is a numeric value representing the photo's geotagginess beyond latitude and longitude. For example, you may wish to indicate that a photo was taken "indoors" or "outdoors".

The current list of context IDs is :

* 0, not defined.
* 1, indoors.
* 2, outdoors.


The default context for geotagged photos is 0, or "not defined"
admin
steeev Posted 9 years ago. Edited by steeev (admin) 9 years ago
thanks for the info jmoliver!
Groups Beta