IU Technology Architecture Lodge
Random and not so random thoughts from Raymond Yee, primarily on the scholarly and educational use of the Web, libraries, educational technology, and information management

 
Home

Print friendly version

Scholar's Box Essay Series

Current Projects

Presentations and Papers

Work on Educational Technology Interop

RY's wiki

RY's personal blog

About This Site

About Raymond Yee

Interactive University

Contact RY

My blogroll

RSS 2.0 feed for this site

 
 

Previous topic: Next topic:
inactiveTopic Getting back into mapping topic started 7/21/2005; 9:11:26 AM
last post 7/21/2005; 9:11:26 AM
user Raymond Yee - Getting back into mapping  blueArrow
7/21/2005; 9:11:26 AM (reads: 3922, responses: 0)
Getting back into mapping #
 A bit over a week ago, I wrote about the latest developments in mass mapping. Today, I will be speaking to Lloyd's ATDP class on the topic of mixing data with maps. Specifically, I will want to highlight some of the work that has been done to place Flickr images on Google maps, best exemplified by geobloggers.com. There is such huge potential in this area. I wish I had enough time to tell the students a bit about how to get involved in this area; at best, I'll leave a bunch of links for them to get started and, hopefully, some inspirational examples.

In preparation for today's talk, I wanted to catch up on the latest developments, partly by reading documentation, but most of all by building a prototype to teach myself the heart of materials. For a while now, I've been depending on geobloggers.com to provide a way for displaying geotagged pictures. Although geobloggers is a wonderful service that allows users to look at the wide range of pictures that have been geotagged, I still wanted a way to embed maps right in my own web pages. The Google Maps API provide an official mechanism to do so. (I will want to demo tomorrow what I have assumed implicitly here: that Google maps and Google Earth have opened up a whole new way of storytelling to millions of people.)

I have written a MoinMoin macro called FlickrMap, which does a search (using any of the parameters specified in flickr.photos.search and places them on a Google map. For instance

[[FlickrMap(user_id='48600101146@N01',tags="geotagged",tag_mode="all")]]

generates a map of all my pictures with the tag 'geotagged'

[[FlickrMap(user_id='48600101146@N01',tags="geotagged,2195hearstfood",tag_mode="all")]]

generates a map of all my pictures with both geotagged and 2195hearstfood (a tag I use to indicate a restaurant around my work place). See the ATDP talk page for an example of map generated by the FlickrMap macro.

There are lots of improvements to be made (see below), but the macro is a start. Things I imagine doing with it include:

  • mapping only the flower pictures from a certain time period

  • displaying my vacation pictures

  • regularly drawing maps of things that I've seen

This previous list seems a bit underwhelming though I think that other applications will come to mind as I start to implement specific applications.

Things to do next on the mapping front include:

  • do much better error handling, including checking for valid lat/lon, downtime in the API

  • figure out how to center the map to where the pictures actually are

  • figure out how to pick an optimal zoom level for the map

  • allow the embedding of more than one map per page (That means wrapping the Javascript so that it can nicely embedded with multiple copies of itself) (I should refer to Coding For Portability, Part 1 » Thirteenth Parallel for help on these issues)

  • recast the map as an AJAX application where the user can dynamically change the parameters of the search.

  • make a version of the macro for pushing my pictures Yahoo maps and for Google Earth.

I have been experimenting with Yahoo maps and do have a map of some of my Flickr images that works some of the time (Yahoo map of my Flickr images) but have been running into the as-yet unresolved timeout issue.

I have started to tie Google Maps and Google Earth together. I wrote a Python script that reads the google map URL on the clipboard, writes a destination KML file, and sends Google earth to the destination. This GoogleMapUrlToKmlPy script allows me to "drive" Google earth to the same location as the center point of a Google map.

Here are some other links that are interesting:


 
Posted by Raymond Yee on 7/21/05; 9:12:17 AM
from the Web Technology dept.

Discuss





Last update: Thursday, July 21, 2005 at 9:34:27 AM.

This site is using the Vanilla Manila 1999 theme.
The opinions or statements expressed herein should not be taken as a position of or endorsement by the University of California, Berkeley. Nor should the opinions or statements expressed herein be taken as a position of or endorsement of the University of California, Berkeley. Links on these pages to commercial sites do not represent endorsement by the University of California or its affiliates.