Contents of the zip:
- Cell2KML.exe: Program which converts the input.txt into output.kml
- cells.txt: cache from www.opencellid.org, but in stripped form and with format: id,mcc,mnc,lac,cellid, lat, lon
- cellsNew.txt: will be appended with found locations via internet service of Google Maps with format id,mcc,mnc,lac,cellid, lat, lon
- input.txt: input file in format: datetime,mcc,mnc,lac,cellid
- output.kml: output file suitable for Google Earth, Google Maps or Google Mobile
- Cell2KML.exe works on PC and on Windows Mobile, but on Windows Mobile it is really slow......and progress information is not yet available on Windows Mobile (only a debug log file)
- When location is not in cells.txt or cellsNew.txt, then internet is used for getting the actual location and the positive result is added to cellsNew.txt
- output.kml can be used immediately in Google Earth (if installed on your PC) and Google Mobile Maps by double clicking on the file
- if you want to use the output.kml in Google Maps, then your kml must be public accessible on the internet. You can use a public folder of DropBox or as in my example on SourceForge, e.g.:
- This Cell Tower Info can be used for getting an approximate location using several services (Google, OpenCellId, Celldb, location-api)
- No GPS needed! Works on any Windows Mobile phone supported by BattClock!
- If you have a GPS this is more accurate, but also drains battery.
- No internet access needed on your phone, the monitored data can be translated offline to actual locations on a PC with internet access.
- With that you can keep track of where you have been when or which approximate route you did take.
- With triangulation in combination with Tower Signal Strength even more accurate positioning could be computed.
- If you can map the cellid to a approximate Location (Langitude, Longitude) via an offline database, you even do not need internet access.
The input.txt can you be a battclock.csv file, when you only selected to log to file mcc,mnc,lac,cellid, otherwise you must make sure the columns are in the order datetime,mcc,mnc,lac,cellid. Copy your battclock.csv file in the same directory as the Cell2KML.exe program and name it input.txt.
When you convert this Cell Tower Information to kml format, you can show this on Map applications, like Google Earth, Google Maps or an offline Map application which supports kml.
Example kml file here, which opens in Google Maps.
The following information can be monitored (displayed, logged to BattClock.csv file or to registry):
-Mobile Country Code
-Mobile Network Code
-Location Area Code
-Tower Signal Strength
-Base Station ID (not filled on my Touch Diamond)
-GPRS Cell ID (not seen filled on my Touch Diamond)
-GPRS Base Station ID (not seen filled on my Touch Diamond)
The following registry values can be filled, below HKEY_CURRENT_USER\Software\ZuinigeRijder\Status, so other programs (e.g. MortScript) can react on it:
For offline converting the Cell Tower Info, you need to enable at least the logging for the following info:
- Mobile Country Code
- Mobile Network Code
- Location Area Code
- Cell ID
The default check time is once per 30 seconds (if one of the items is enabled). You can set the number of seconds via registry key or via BattConfig: "TowerInfoSeconds".
Note that the monitoring does not occur in a deep sleep. At power on after a deep sleep, the monitoring resumes immediately (without the wait of the configured seconds).