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.



Comments
Very, very cool. I fell in love with Nokia's Symbian phones every since they anounced support for Python. Can't wait to get my hands on one of them... And now they also anounced that they'll open source the web browser -- it's gonna be really cool.
Regarding your little python app.. I'm curious about how it's integrated with the picture taking process. Do you have to take pics from within the program?
I used Shozu and a couple of other photo sharing apps, and the way they work is to pop-up a screen every time you take a picture with your phone, so you can obviously hook into an event.
You probably did that anyway, but I'm just making sure :)... making the process of getting the coordinates from the GPS automatic seems so much easier and unobtrusive.
Great work, keep us updated.
The Python implementation doesn't have access to all the stuff Symbian provides, unfortunately. So it goes like this: you select the gps device and then you see the viewfinder (which polls the camera and takes pictures at the lowest resolution) and the current location on the screen. Click Select and a picture is taken and saved in a specified directory, along with location info.
This method works, but it's really really slow. The viewfinder has something along the lines of 0.5 - 1 fps and taking a picture with the camera and saving it as an jpeg takes around 30 seconds.
I'm currently investigating C++ for Symbian as I'm thinking of rewriting it.
I'll try to put some pictures up tommorow.
I added some more geo-tagged photos - stadionul cotroceni and some photos around sala palatului from the weekend...i also noticed the positioning getting a bit weird by as much as 100 metres - there would have been about 30 more photos except the slowness of response on the python camera app means I seem to have taken a lot of pictures of the inside of my pocket...I did not upload those..:)
please , i need a map for nokia 6630(gps) .
any new developments on the script? i find the mashup of Python, Symbian, GPS, Drupal and Google Maps very interesting and wonder if a project can be done using nokia n95 as well!
Hi,
If somebody googles and comes to this old thread like me, i'd like to inform that we're developing a project which covers this kind of application, and far, far more. I haven't tested it yet with symbian phones, but i'm sure it's easily possible. Please have a look on the website (http://itsmart.fr/gegis/), or contact me for more information.
Hi,
I am looking for a very lightweight implementation of python or for a python subset definition. I would like to run the python interpreter (or even the python
interpreter without its parser by running only python bytecode) in a very restricted environnement (say a python interpreter less than 300 k), and I don't need all the fancy functionnalities of python. I downloaded the 1.5 distribution but the binary is 1.5 Mb stripped of almost all its modules. An older version (1.2) seems lighter (300 k), but I don't want a dead distribution. Does any one around knows about a lightweigth python or a way to strip the regular python distribution ?
________________
Padre Rico Padre Pobre
Interesting project, any recent updates to it?
Not bad that little program, are you still maintaining it?
nice program, would like to know if its still in development. It is incredible what you can do just with the gps and Google Maps :P .
I wish I could have the ability to program.
Locke.
Content management
Good program keep as update!
Nice little program.
Google maps mobile is very useful. It can make route between to destinations.
Sounds easy to me but I am wondering if it is also for me (not good with technic) so easy? Nevertheless it is a great possiblity and I will give it a try. Thank you for post.
Post new comment