Google Map + geoRSS

[getting back into the swing of things]

As reported over on O’Reilly Radar, I first saw it on the georss.org blog, but ultimately it all came from the Google Maps API Blog Google Maps now supports geoRSS feeds. And, as followers of this blog know, Flickr outputs geoRSS feeds by adding &georss=true onto the end of an RSS feed. Which means you can throw them onto Google Maps really easily.

Here’s an RSS feed of my latest photos, split over two lines for clarity…

http://api.flickr.com/services/feeds/photos_public.gne
?id=35468159852@N01&format=rss_200


Now here’s the same one but with georss added …

http://api.flickr.com/services/feeds/photos_public.gne
?id=35468159852@N01&format=rss_200&georss=true

Pretty simple. This is what you get in the rss XLM.

<georss:point>37.79586 -122.395259</georss:point>

If you then take that georss feed and throw it into the Search Box on Google Maps you’ll get markers for each photo on the map. Here’s a link to my feed plotted on the map …

Rev Dan Catt’s flickr georss feed.
Google Maps

One of the neat things about this is that the link in this blog for viewing my photos on the map will stay the same. But the result will be different over time, they’ll be my latest 20 photos, most of which will be geotagged. So by bookmarking the page and returning to it, people can see what what and where I’ve been up to. At this moment in time San Francisco and Austin, Texas.

Now the bit I’m looking forward to is geoRSS support in Google Earth. Here at Flickr we could output in KML, but we’re all about the standards, which geoRSS kinda, sort-of, nearly is. So that’s good then. Creating a Network Link to the geoRSS feed from Flickr which updates once every hour or so, will give a live(ish) update of my recently geotagged images. Creating more Network Links for you contacts will allow you to track where they all are, assuming that they geotag their photos that is.

There are certain steps in the whole process that could be made simpler for people to use, and I’m pretty sure that’s going to be happening :)

9 Responses to “Google Map + geoRSS”

  1. When I read about this on the google blog I had a play around with it. It works brilliantly, all we need now are two extra query parameters for the flickr feeds…

    1 - Count = number of photos to include in the feed (Default = 20) (analogous to per_page in flickr.photos.search)
    2 - Offset = index of first photo to return in feed (Default = 0/most recent photo) (analogous to page in flickr.photos.search)

    In this way you can really easily display photos on the map with a simple feed url. :D

  2. Not bad, although Google has only implemented one variety of GeoRSS, and didn’t include the Yahoo! extensions for geocoding.

    For the flickr feeds, which do use this variety of RSS and do include numeric lat/long. it’s fine. But see my URL for a more complete GeoRSS processor.

  3. I discovered that the Flickr does not have RSS feed for sets page.

    All my geotagged Flickr photos are being collected as Set Page.

    After playing around with it, I have came out this. What I did is append &tags=geotagged

    See example: http://api.flickr.com/services/feeds/photos_public.gne?id=36274938@N00&tags=geotagged&format=rss_200&georss=true

    Hope this helps

    Cheers

  4. bizarrely, this worked beautifully to map my geotagged photos … in Firefox and Safari. In Explorer the identical string resulted instead in this:
    Your search for http://api.flickr.com/services/feeds/photos_public.gne?id=32654588@N00&format=rss_200&georss=true around this map area did not match any locations.

    I’m hard-pressed to imagine how the browser could make a difference!

  5. [...] the ability to embed these maps directly on my blog (I know there’s a mashup solution using Google maps and the Flickr API (details here) but I’d like to extend this using sets and not just a general Flickr feed. Maybe I can integrate Flickr set RSS feeds with Google Maps [...]

  6. [...] is a simple way to include location in RSS feeds. In Dan Catt’s own words, “it’s pretty simple. This is what you get in the rss XLM: <georss:point>37.79586 [...]

  7. This seems easy, I will give a try. geoRSS is a good invention.

  8. Hi, it seems that its good idea to show some information on the map. But geo rss is not so popular now - rss is more popular. Therefore there are several services exists which provides text-parcing and geo-loctation of the text. For example newsymap.com or reuters web site.

  9. I spend about a day to figure out how I could display my flickr pictures on a saved google map so I could show my GPS track together with the photos - and then I finally found this lovely blog and the above post…..

    THANKS SO MUCH - so far it works great for me:
    http://www.allovertheplanet.com/blog/2009/01/06/2009-01-02-trip-to-bogota-old-city/trackback/

Leave a Reply