×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    227

    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

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,558

    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).

  3. #3
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    227

    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

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    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.

  5. #5
    Super Contributor
    Join Date
    Mar 2008
    Posts
    1,481

    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.

  6. #6
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    227

    Re: How to get Coordinate (Longitude Latitude) from CellId

    Hi I'm already try this example :
    http://www.developer.nokia.com/info/..._2_en.zip.html

    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 -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

  7. #7
    Super Contributor
    Join Date
    Mar 2008
    Posts
    1,481

    Re: How to get Coordinate (Longitude Latitude) from CellId

    Quote Originally Posted by Kaz32 View Post
    Hi I'm already try this example :
    But I have some problem :
    - Why it show wrong latitude? I should get latitude -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
    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 http://doc.qt.nokia.com/qtmobility/q...on-plugin.html

  8. #8
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    227

    Re: How to get Coordinate (Longitude Latitude) from CellId

    Quote Originally Posted by mahbub_s60 View Post
    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 http://doc.qt.nokia.com/qtmobility/q...on-plugin.html
    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

  9. #9
    Super Contributor
    Join Date
    Mar 2008
    Posts
    1,481

    Re: How to get Coordinate (Longitude Latitude) from CellId

    Hello,

    For first question please see this thread
    http://www.developer.nokia.com/Commu...rom-my-own-app

    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?

  10. #10
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    227

    Re: How to get Coordinate (Longitude Latitude) from CellId

    Quote Originally Posted by mahbub_s60 View Post
    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?
    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
    Last edited by Kaz32; 2012-01-25 at 11:06.

  11. #11
    Super Contributor
    Join Date
    Mar 2008
    Posts
    1,481

    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?
    http://itouchmap.com/latlong.html

Similar Threads

  1. set latitude and Longitude
    By sridharbandi in forum Symbian
    Replies: 4
    Last Post: 2010-12-27, 06:35
  2. how to get latitude and longitude from cellid in symbian c ++
    By rahul.shalik.makode in forum Symbian
    Replies: 6
    Last Post: 2010-08-21, 14:50
  3. getting latitude and longitude
    By arun09 in forum Symbian
    Replies: 1
    Last Post: 2009-06-13, 13:39
  4. Latitude/Longitude on map
    By piterr1410 in forum Mobile Java General
    Replies: 10
    Last Post: 2008-07-08, 16:55

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×