Posted by andu
Wed, 2006-08-30 09:40
Photobar is a nice Drupal module which features automatic uploading of images and galleries creation. It also has some exif support, such as taking orientation.
I wrote a little patch for the 4.7 version to also calculate latitude and longitude from the exif data, if any, and set it as the node's location.
Here's the patch: geocode.patch.
Later edit: the patch has been commited. Download the module instead of this patch.
Posted by andu
Thu, 2006-06-15 20:55
Here's what I've been programming the last two days, with some help from Grivitei Pythonista and with Martin's ideas.
Take a Symbian phone and a bluetooth GPS receiver. Write a Python mobile program to take pictures and also, for each picture, the latitdude, longitude and other stuff, like cell id or some description.
Now, import that into Drupal using (preferabilly) some automated method (I chose to write a script which uses curl to simulate a user logging in the Drupal website and uploading all files in a directory). Activate the google maps module. A little setting here, a little setting there and voila, the mashup is done.
Curios? Here's a very early beta with some pictures taken around Domenii, Universitate and Brancoveanu: http://playground.417.ro/4.7. You'll have to click on a baloon and zoom to see all pictures as at the default zoom level pictures are behind each other due to the fact they were taken around the same place.
There are some bugs, such as the fact that Ion Mincu appears around Domenii due to some weirdness in the gps reading code. Don't mind those, it's a beta! :)
For info, I'm using a Nokia 6630 and a Hollux GPS Receiver.
Later update: Martin is in an upload frenzy. Check out his geotagged pictures here: http://www.notez.ro/map/node.