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)

Saturn 2011-04-25 21:08

Re: [Announce] Geolocation using CellID and Google APIs
 
OK! I found a (fancy) name that I like better and re-uploaded:

http://maemo.org/packages/view/snuggle/

Remove the old application with the following (to cleanup all traces):
Code:

sudo gainroot
apt-get remove --purge locatefromcell
rm -rf /opt/locatefromcell
rm -rf /home/user/.locatefromcell/


Saturn 2011-04-30 17:45

Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
 
2 Attachment(s)
Uploaded new version 1.6-1

Changes:
  • Added logging of all queries in /home/user/.snuggle/.
  • Major modification in the UI - portrait/landscape support.
  • Update in the icon.
  • Cleanup, commenting of code.

handaxe 2011-05-05 13:22

Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
 
Latest update does not acquire coords although cell info is present. Only tested while in one place - ie no cell changes.

Saturn 2011-05-05 19:56

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

Originally Posted by handaxe (Post 1000611)
Latest update does not acquire coords although cell info is present. Only tested while in one place - ie no cell changes.

Hi, it works after the next update. Will put it in my list to make a query also in the first toggle. Thanks for mentioning it.

In general:
Haven't announced yet the new devel version (1.8-1) - didn't have much time really. :)

It's kind of a rewrite in logic and functionality. I'm not gonna work on it more for the next couple of weeks but uploaded for those interested on where I'm heading.

My ambitious plan is to make a daemon and a small DB to store the cell and location info on every change of the cell tower connection. The impact in battery will be minimal since I managed to make use of the DBus triggers (already in this version).

The UI will be to view live the info, extract data between two points in time (for example in kml format) and plot them in a map.

I have thought of many end uses but my favourite is to have a tracklog of all the places I visited during a trip and check where I've been last week Saturday night! All these are not quite possible now (that is using the GPS) without a heavy impact in the battery.

handaxe 2011-05-05 20:54

Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
 
Brilliant stuff - something I would love to have cos as you write, a GPS app doing the same would hammer the battery.

I know nothing of cell tech - can one only get mast info from a network on which you are registered? What info do other provider's transmitters send?

Saturn 2011-05-05 21:26

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

Originally Posted by handaxe (Post 1000865)
Brilliant stuff - something I would love to have cos as you write, a GPS app doing the same would hammer the battery.

Thanks. Time is limited but will try..

Quote:

I know nothing of cell tech - can one only get mast info from a network on which you are registered? What info do other provider's transmitters send?
You could get info of all available networks around but this will cost in battery. Here, the idea is to use the one that the device is already connected/uses. This is a function it already needs to do so that it is reachable in the GSM network for the phone function and the device weaks up when necessary.

The extra 'cost' is to get notified and log this change everytime it happens. Using DBus (which is designed/optimised for efficiency) already minimises the impact of the first part of the action needed.

Cheers

handaxe 2011-05-05 22:31

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

Originally Posted by Saturn (Post 1000879)
You could get info of all available networks around but this will cost in battery. Here, the idea is to use the one that the device is already connected/uses.

I understand precisely: I asked because I had been looking for a prog that would canvass surrounding masts and provide location info on them. Use case: an umts/hsdpa modem on a provider different to that of my n900 and I wanted to know where the mast was for best placement of the modem in a built up environment.

Anyhow, thanks v much

Saturn 2011-05-06 00:33

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

Originally Posted by handaxe (Post 1000902)
I understand precisely: I asked because I had been looking for a prog that would canvass surrounding masts and provide location info on them. Use case: an umts/hsdpa modem on a provider different to that of my n900 and I wanted to know where the mast was for best placement of the modem in a built up environment.

Anyhow, thanks v much

Ohh. now I understand. Don't know of a program to do this. Nevertheless, when I was searching for info read that most services provide a preload feature.

e.g. look here: http://www.opencellid.org/api and specifically the "get in area" feature.

It's a free service but not as up-to-date as others.

Saturn 2011-05-07 16:31

Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
 
NOTE: Update in devel (1.9-1) with a small change to improve the UI.

Basically what handaxe reported earlier

debernardis 2011-05-07 17:43

Re: [Announce] Snuggle : Geolocation using CellID and Google APIs
 
Hi Saturn,
I guess this logs the single cell you're connected.
Could it be possible to make it more accurate by calculating a triangulation between the nearest cells, and estimating the radius of uncertainty, like google maps on android uses to do?


All times are GMT. The time now is 06:13.

vBulletin® Version 3.8.8