Reputation: 21
Is there a way to determine location via CellID on a CDMA network? I can get a network ID, base station ID, and system ID programatically, but is there an api somewhere to convert these to lat, long coordinates? The CdmaCellLocation.getBaseStationLatitude() and CdmaCellLocation.getBaseStationLongitude() methods return some junk number. Can I convert the cdma dating I'm getting to CID and LAC somehow?
I'm getting a system ID of 40, a network ID of 3, and a base station ID of 4672, and that appears to be exactly worthless.
Upvotes: 1
Views: 4489
Reputation: 1211
You can download Cell Towers database from opencellid.org . It is a table that it's columns is Cell id
, MCC
, MNC
, Latitude
, Logitude
and etc . You can Lookup your position of BTS using it's cell id
.
Upvotes: 0
Reputation: 4382
Well, two years later but it is not a problem, maybe someone is going to profit from the answer. Here is a code in which they do what you want, even thou they are using the Ericsson API limited to 500 requests per day. There is another one here that uses a Google API that is not working anymore, but it is nice to have the rest of the code as a reference, and also a discussion about it.
Nowadays, if I was going to program such a application, I would use a combination of services like OpenCellID, OpenBmap, and FireEagle. Why Combination? Because some of them contain information of towers for some countries, and few, or not even one for another. You can check their API, respectively here, here, and here and use a code similar to those linked to consult it.
As final remarks, this site presents a nice and descriptive table with services that provide location based on cell information. Some are off, but you should take a look.
Upvotes: 0
Reputation: 1
You can use interrelate googleEarth with your system to interpret the CELLID and LAC into Longitude and Latitute.
Upvotes: 0