« goa gil report | Main | Matrix Reloaded, The (2003) »


Feed You can follow this conversation by subscribing to the comment feed for this post.


Very nice! Location-tagged media -- this is the motherlode..

(But there's no image in that entry.. and it says "if you click on the image above...")


I found this a couple of days ago and remembered UltraBob's neighborhood project. Kewl work w/ Mie's moblog!



www.multimap.com is good for here in Europe, BTW. I'm not sure about how it works with GPS coordinates though. Anyway, this is totally rad.


This is seriously cool. I had no idea JPEGs could store such information. Is it a special feature of the phone Mie is using, to add that data to the photos, or is it using some sort of add-on? I'd love to have it for my Nokia 7650.

Also: is it possible to have a look at the perl-script you are mentioning? At the moment I email pictures from my phone to the web using a perl-script of my own to another publishing system than Movable Type. Would be neat to be able to send to MT as well.

Dav Coleman

Hey guys, thanks for the kinds words and info.

Manne, it is basically just a hack that is using that java GPS-info-extractor thing I mentioned in the post. I'm calling it from blogpost.pl, the script I wrote that is part of the sytem which tuns emails from Mie's cellphone into a blog post. The source for blogpost.pl is available, just search on it, it's in one of my entries. I also posted the cgi scripts actually set up the map page here.

Stuart Woodward

Dav, the link on image above seems to be broken now. The Japanese error message says something like "this type of link method is not permitted".


MapFan apparently doesn't like to play nicely anymore. I'll switch it to @navi when I get back home (I'm at Narita airport now). BTW, it was great meeting/hanging out with you in Tokyo!

sam clegg

Adding GPS data to EXIF tags seems enevitable if your camera supports it.

My online jpeg galley used pyexif to read tags
(such as time and date) from my jpegs. If this is not present or not correct the database of gallery metadata can override this.

One this I would like to know: if a camera is GPS
capable, does it also set the timezone of each image? (clearly this is possible)

It is quite annoying to have to add both peices of metadata seperately, when one is so clearly defined by the other.

Does anyone know of a GPS->timezone library?
Seems like it should be part of the standard
python data classes.

Dav Coleman

I'm not aware of timezone even being part of the exif spec, and it isn't in the data provided by mie's phone. Here's what is provided:

Filename: 2003-05-25_061254_5953_0.jpg
EXIF ColorSpace: 1
EXIF ComponentsConfiguration: YCbCr
EXIF DateTimeOriginal: 2003:05:25 22:09:13
EXIF ExifImageLength: 176
EXIF ExifImageWidth: 144
EXIF ExifVersion: [48, 50, 50, 48]
EXIF FlashPixVersion: [48, 49, 48, 48]
GPS GPSAltitude: 84
GPS GPSAltitudeRef: 0
GPS GPSLatitude: [35, 39, 253/5]
GPS GPSLatitudeRef: N
GPS GPSLongitude: [139, 42, 2843/100]
GPS GPSLongitudeRef: E
GPS GPSMapDatum: WGS-84
GPS GPSTimeStamp: [22, 11, 0]
GPS GPSVersionID: [2, 2, 0, 0]
GPS Tag 0x001B: [65, 83, 67, 73, 73, 0, 0, 0, 65, 70, 76, 84, 45,70, 73, 88]
GPS Tag 0x001D: 2003:05:25
Image ExifOffset: 180
Image GPSInfo: 290
Image ImageDescription: 030525_2209~01
Image Make: KDDI-TS
Image Model: A5301T
Image Orientation: 1
Image ResolutionUnit: Pixels/Inch
Image XResolution: 72
Image YCbCrPositioning: 2
Image YResolution: 72
Includes JPEG thumbnail: No
Includes TIFF thumbnail: No

A GPS-Timezone library should be fairly trivial to write. Maybe we should offer it as a web service on headmap...

Ivan Pope

Can someone please let me know what phone it is that Mie uses, that has GPS and a camera in it. I know about phones with one or the other, but not both. Thanks, Ivan (ivan@ivanpope.com)


Cool stuff dude! What kind of camera is that, with a GPS inside??

BTW, check out OziExplorer [http://www.oziexplorer.com/] to map it onto real maps, e.g. Nasa's
Earth Science Applications Directorate MrSID Image Server:


very interested! I don't know any cell phone which has camera and gps rx in one piece? what's hardware is it? please. pleeeeese.



Ive been using it for over a year for just this purpose. Uploade your photo and it will automatically extract the GPS info and plot it on a map.

Martin Little

Jake -- what phone are you using to take GPS photos with?


That is so cool! This is the audience we're looking for! Who is 'we'? Check out the World-Wide Media eXchange: http://wwmx.org.

Could someone send us a location-tagged photo taken by a phone camera?

The WWMX Team

Phil Harvey

I'm not sure why Image::Info doesn't work for you, but in case you're still looking for a Perl utility to extract GPS information, Image::ExifTool works with the JPG you posted. It can be downloaded from http://owl.phy.queensu.ca/~phil/exiftool/ . The following is a dump of the exiftool output for your image:

---- ExifTool ----
ExifTool Version Number : 3.14
---- File ----
File Name : 2003-05-24_115510_28166_0.jpg
File Size : 8KB
File Type : JPG
Image Width : 144
Image Height : 176
---- EXIF ----
Image Description : 030524_2221~01
Make : KDDI-TS
Camera Model Name : A5301T
Orientation : Horizontal (normal)
X Resolution : 72
Y Resolution : 72
Resolution Unit : inches
Y Cb Cr Positioning : Co-sited
Exif Version : 0220
Shooting Date/Time : 2003:05:24 22:21:01
Components Configuration : YCbCr
Flash Pix Version : 0100
Color Space : sRGB
Exif Image Width : 144
Exif Image Length : 176
---- GPS ----
GPS Version ID : 2 2 0 0
GPS Latitude Ref : North
GPS Latitude : 35 36 57.67
GPS Longitude Ref : East
GPS Longitude : 139 41 50.34
GPS Altitude Ref : 0
GPS Altitude : 78
GPS Time Stamp : 22 29 14
GPS Map Datum : WGS-84
GPS Processing Method : ASCII
GPS Date Stamp : 2003:05:24
---- Composite ----
Image Size : 144x176


I work on WiFiMaps.com -- we're also using UMN Mapserver, for drawing detailed street level maps of Wi-Fi coverage. We've started investigating this technique, in not only encoding the lat/long into the maps we generate, but also for accepting JPEGs, and plotting their locations on our maps. Check out our progress at WiFiMaps.com


Wow, this is certainly interesting...
I've been playing around with these things lately because i want to be able to take a photo from my photo, add the gps information, then email it to my server and have that parsed up and added to my weblog with the geo data + map added...

however, have you found anything that works well with PHP? my Perl skills aren't so great anymore...

a lot of people have been asking what kinds of phones have camera and gps... well i think almost ALL phones in Japan (and i'd guess South Korea as well, and i've seen some phones in Taiwan) have Cameras and GPS built into them (which is really great for things like navigation services, etc..) I'm sure that most countries with an active mobilephone culture will have phones with gps and cameras in them soon, if they don't already now.
So it's only a matter of time =)

I tried the perl EXIF Tool like Phil Harvey's comment but unlike his results, my image has a GPS Position uses "deg", single quote, and double quote notation... does this mean that there is no consistency between how it's encoded between phones
yours being KDDI-Toshiba A5301T while mine is KDDI-Hitachi W41H

GPS Version ID :
GPS Latitude Ref : North
GPS Latitude : 34 deg 39' 7.78"
GPS Longitude Ref : East
GPS Longitude : 135 deg 33' 18.15"
GPS Map Datum : WGS-84
GPS Processing Method : GPS-FIX
GPS Position : 34 deg 39' 7.78" N, 135 deg 33' 18.15" E

but definitely some very interesting results to play around with =)


close2me (www.close2me.com) also tags camera phone pics with location information and shares it with other users as they enter the area in which the pic was taken.



Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.


Post a comment

Your Information

(Name is required. Email address will not be displayed with the comment.)