How to get Coordinate (Longitude Latitude) from CellId
Hi I try getting coordinate (longitude & latitude) from cellId, lac, mnc and mcc
How to do that?
Is there must using 3rd party API that provide cellId database?
I already try OpenCellId.org & celldb.org but the database not cover my country I think
What is the best free database available?
Or any other solution?
Is google API to get this coordinate still available?
Thanks
Re: How to get Coordinate (Longitude Latitude) from CellId
You, indeed, would need a comprehensive database that maps each network operator's cell IDs to location coordinates.
Network operators do not publish the coordinates of their cell IDs (basestations), so you can't get the information from them (and you'd have to get the info from every network operator).
So, your alternative is to drive around and collect the data yourself (approximately), or use someone else's database.
If you don't have direct access to such a database, you have to access it indirectly (e.g., using Google Maps APIs, or Nokia Maps).
Re: How to get Coordinate (Longitude Latitude) from CellId
Thanks for your answer petrib
Do you have some link / source that I can learn about using Google maps API or Nokia maps to get the coordinate (longitude and latitude) from cellId?
(I'm already search it but not yet found that I can use)
Thanks
Re: How to get Coordinate (Longitude Latitude) from CellId
One way to access the non GPS location, is to use the same location APIs provided, at least with Symbian they do use any method available and set active by user. Anyway I would not know any hacks on using the service without actually utilizing the APIs.
Re: How to get Coordinate (Longitude Latitude) from CellId
I think there is no such public API that can be used to get the lat/lon from cell id.
In Nokia device there is a sever (server name : supl.nokia.com, in most GPS device it is seen in the position settings) that store all the database maped.
I am not sure if there is any way to acess it somehow.
Re: How to get Coordinate (Longitude Latitude) from CellId
Hi I'm already try this example :
[url]http://www.developer.nokia.com/info/sw.nokia.com/id/e3590d5b-30f3-4fa6-8f29-e48581104556/S60_Platform_Location_Example_v1_2_en.zip.html[/url]
And it is working on non gps device (I'm using 6120 classic to test)
But I have some problem :
- Why it show wrong latitude? I should get latitude [B]-[/B]6.xxxx but what I'm getting is 6.xxxx
- It is not too precise?
O yeah I also have another question :
- How to show the coordinate I get to map app / how to open map app from my app? (not take map pic)
or maybe open the map from the browser? I have no idea to do that
Thanks
Re: How to get Coordinate (Longitude Latitude) from CellId
[QUOTE=Kaz32;878124]Hi I'm already try this example :
But I have some problem :
- Why it show wrong latitude? I should get latitude [B]-[/B]6.xxxx but what I'm getting is 6.xxxx
- It is not too precise?
O yeah I also have another question :
- How to show the coordinate I get to map app / how to open map app from my app? (not take map pic)
or maybe open the map from the browser? I have no idea to do that
Thanks[/QUOTE]
If you want to get pricise location then you need to use GPS (you tell directly to the API that you want to use GPS as source of location)
If you use QML then it is really easy to do lots of thing with Map (compared to Symbian C++ API). If it is new application then wise to implement with QML
Take a look in this link [url]http://doc.qt.nokia.com/qtmobility/qml-location-plugin.html[/url]
Re: How to get Coordinate (Longitude Latitude) from CellId
[QUOTE=mahbub_s60;878167]If you want to get pricise location then you need to use GPS (you tell directly to the API that you want to use GPS as source of location)
If you use QML then it is really easy to do lots of thing with Map (compared to Symbian C++ API). If it is new application then wise to implement with QML
Take a look in this link [url]http://doc.qt.nokia.com/qtmobility/qml-location-plugin.html[/url][/QUOTE]
I'm using Symbian c++ actually..
So it is not possible to open map app from my app (with Symbian c++)?
- Also the wrong north - south latitude (get +6.xxxx, but actually current location on -6.xxxx), is it a common problem? If I multiply with -1, is it ok?
Thanks
Re: How to get Coordinate (Longitude Latitude) from CellId
Hello,
For first question please see this thread
[url]http://www.developer.nokia.com/Community/Discussion/showthread.php?218143-How-to-open-Ovi-Maps-application-at-given-latitude-longitude-from-my-own-app[/url]
For second question,
How you get the wrong latitude longitude? What is the location source (GPS? or Non GPS?).
I guess if you multiply it sounds it will work but at the end it will not work (for example if you change location), better we need to find out what is the reason of error? Are you toggling with -1 somewhere in your location code?
Could you check that?
Re: How to get Coordinate (Longitude Latitude) from CellId
[QUOTE=mahbub_s60;878336]Hello,
For second question,
How you get the wrong latitude longitude? What is the location source (GPS? or Non GPS?).
I guess if you multiply it sounds it will work but at the end it will not work (for example if you change location), better we need to find out what is the reason of error? Are you toggling with -1 somewhere in your location code?
Could you check that?[/QUOTE]
My location is at -6.xxxx latitude (I'm at Indonesia), but what I get from location api is +6.xxxx
So when I multiply it by -1, I get the correct latitude location (but I don't know in other location, ex: if location is on north equator)
If I change location it work too (ex: office location & home location)
The longitude is no problem
Thanks
Re: How to get Coordinate (Longitude Latitude) from CellId
Hi,
Could you compare what location you get by using this site and that one you get by the device?
[url]http://itouchmap.com/latlong.html[/url]