maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Snuggle : Geolocation using CellID and Google APIs (https://talk.maemo.org/showthread.php?t=72497)

handaxe 2011-05-10 20:03

Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
 
Quote:

Originally Posted by seridyan (Post 1003600)
I have 1.9-1

Strange, as my version displays 1.9-1 in the about window.....

Dragoss91 2011-05-10 20:26

Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
 
Could I see coords of other people with this application ?

handaxe 2011-05-10 20:52

Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
 
Quote:

Originally Posted by Dragoss91 (Post 1003671)
Could I see coords of other people with this application ?

No, not directly. If they sent to you the info for the cell they were on, say by sms, you could enter that information using the edit function and derive the coords.

sr00t 2011-06-08 18:48

Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
 
What an effective app. It's really fast. Kudos for you!

Just one question:
When I press Browser or Image, the result of my location vary by 4 or 5 blocks of distance.
What happens? Because the coordinates are the same in the app.

Saturn 2011-06-09 09:59

Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
 
Quote:

Originally Posted by sr00t (Post 1025254)
What an effective app. It's really fast. Kudos for you!

Thanks for the nice words.

My primary objective was to give me a quick access to the place I was at the time.
In my opinion this has been accomplished in the version at extras-testing.

Next version (which is running on my device only and needs some more work to be ready for upload) has in addition a daemon in the background logging silently the cells the device connects continuously. This part is ready and has been running for more than 2 weeks in my device without any significant power consumption.

A new panel allows the user to grab from another api the locations between two dates and creates a KML file that can be directly uploaded in google maps and show the path/places visited. This part is missing the date/time selector but the rest of the code is ready.

Quote:

Just one question:
When I press Browser or Image, the result of my location vary by 4 or 5 blocks of distance.
What happens? Because the coordinates are the same in the app.
That is strange and can only attributed in differences between Google APIs. In my case, both show the same exactly location.

If you like you can send me an example location and I'll try to investigate further.

thp 2011-06-09 10:07

Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
 
Cool idea! Could you cache the returned values, so that in case one doesn't have an internet connection, but is again in a place that he/she has been before, the information can be returned immediately? (not having looked at the data that is sent, this might not be possible, depending on how fine-grained the input data is)

It would be great for this application to create an "offline positioning database" based on all the cell information. Also, can't you just record all the cellIDs while a user is running around in offline mode, then (if the user wants to) geocode all these IDs when the user is online the next time and save all this in the database for later retrieval?

Saturn 2011-06-09 10:59

Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
 
Quote:

Originally Posted by thp (Post 1025685)
Cool idea! Could you cache the returned values, so that in case one doesn't have an internet connection, but is again in a place that he/she has been before, the information can be returned immediately? (not having looked at the data that is sent, this might not be possible, depending on how fine-grained the input data is)

Could be done but it would mean creating a db etc. Eventually would be another map application. I will invest some time in finding a way to call the already available ovi maps on the location found. I know it is possible, but haven't found the time to search for the appropriate dbus call.

Quote:

It would be great for this application to create an "offline positioning database" based on all the cell information. Also, can't you just record all the cellIDs while a user is running around in offline mode, then (if the user wants to) geocode all these IDs when the user is online the next time and save all this in the database for later retrieval?
This is basically what the next version will bring. A daemon will log all the cell ids it gets connected and later when wifi connection is available it will allow to get the geolocations visited.

In future, I would like to create a db to store all data and maybe add a tracker that updates automatically the geolocation data on selected network connections and date/time settings.

My knowledge is limited in the sql database creation and that makes it even more interesting for me. Unfortunately, I haven't found a good tutorial on sql and python yet.

If you or anyone else wants to participate feel free to join.

thp 2011-06-09 11:06

Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
 
Quote:

Originally Posted by Saturn (Post 1025709)
Unfortunately, I haven't found a good tutorial on sql and python yet.

Python provides the sqlite3 module which makes it easy to create a single-file database. If you want it even more comfortable, feel free to use minidb which is a minimalistic data store for simple Python objects that uses SQLite3 as the backend, but exposes a nicer API (while still allowing to access the underlying DB if you choose to).

Plus, Stack Overflow has an answer to your question: comprehensive beginner's tutorial for python and sqlite?

Julien_2006 2011-12-19 19:50

Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
 
Hello there !

any news about using snuggle with smscon ?
it could be great if your friends could send you a sms with eg the word "cell" and in return get the picture and/or browser link send by mail/sms

Alfred 2011-12-19 20:22

Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
 
Quote:

Originally Posted by Julien_2006 (Post 1139622)
Hello there !

any news about using snuggle with smscon ?
it could be great if your friends could send you a sms with eg the word "cell" and in return get the picture and/or browser link send by mail/sms

Have you read smscon wiki? there is already command for gps data and a map on google


All times are GMT. The time now is 08:10.

vBulletin® Version 3.8.8