SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 110 | Next

Raymond Yee

"Pro Web 2.0 Mashups: Remixing Data and Web Services"


Geotagged Photos in Flickr
You can use the Flickr World map to plot georeferenced photos here:
http://www.flickr.com/map/
You can control the center, zoom level, and display type of the map with this:
http://www.flickr.com/map/?&fLat={lat}&fLon={lon}&zl={zoom-level}&
map_type={map-type}
where zoom-level is an integer ranging from 1 to 17 (17 is the most zoomed out) and map-type
is hyb or sat. If map-type is not explicitly set, the map has a default (political-style) map.
You can filter photos in various ways by adding more parameters to the URL:
??? By search terms with this:
&q={search-term}
??? By group with this:
&group_id={group-nsid}
CHAPTER 2 ?–  UNCOVERING THE MASHUP POTENTIAL OF WEB SITES 42
??? By person with this:
&user_id={user-nsid}
??? By date bounds where taken-date is of the form yyyy-mm-dd%20hh:mm:ss:
&min_taken_date={taken-date}
&max_taken_date={taken-date}
and with the following:
&min_upload_date={upload-date}
&max_upload_date={upload-date}
where upload-date is a Unix timestamp (number of seconds since January 1, 1970,
UTC).
??? By page with this:
&page={page-number}
??? By interestingness with this:
&s=int
For example, this address:
http://www.flickr.com/map/?&q=flower&fLat=37.871268&fLon=-122.286414&zl=4
produces a map of geotagged pictures around Berkeley, California, filtered on a full-text
search of flower. A corresponding list view according to Flickr is as follows:
http://www.


Pages:
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122