×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    17

    the position getted by QGeoPositionInfoSource not accurate

    Hi,

    I wrote some test code:

    pos_source = QGeoPositionInfoSource::createDefaultSource(this);
    pos_source->setPreferredPositioningMethods(QGeoPositionInfoSource::SatellitePositioningMethods);
    pos_source->startUpdates();


    then get the last postion every 30 seconds by :
    pos_source->lastKnownPosition();
    and save the positions.

    I found that these positions are not accurate and they are seem to be generated by cellid,not by satallites.
    if pos_source->lastKnownPosition(true) is used,then the positions are always not valid.

    my test device is 5230,it support A-GPS.
    at the same location and on the same phone,the OVI map can get accurate position in 10 seconds.

    what should I do to improve it?

    Thank you!

  2. #2
    Regular Contributor
    Join Date
    Oct 2008
    Location
    Oslo, Norway
    Posts
    329

    Re: the position getted by QGeoPositionInfoSource not accurate

    Hi,

    Instead of using lastKnownPosition(), maybe you should instead connect to the positionUpdated() signal, you'll get notified of the updated coordinates as soon as they're available. Also, does it really matter if GPS satellite data or something else is used as the positioning method? You always get the estimated accuracy from QGeoPositionInfo and can decide if it's accurate enough for your purposes.

Similar Threads

  1. QGeoPositionInfoSource::createDefaultSource results in Lbs Client Fault; Reason 6
    By srebrodolskite in forum [Archived] Qt Mobility Project
    Replies: 8
    Last Post: 2011-03-30, 07:25
  2. Issue with QGeoPositionInfoSource
    By davkaplan in forum [Archived] Qt Mobility Project
    Replies: 10
    Last Post: 2010-08-26, 03:11
  3. Looking for an Accurate Timestamp (J2ME)
    By Koelner82 in forum Mobile Java General
    Replies: 2
    Last Post: 2007-12-29, 07:20
  4. how to use accurate timer?
    By dreamplayer in forum Symbian
    Replies: 1
    Last Post: 2004-04-15, 09:44
  5. How Accurate is TTIme?
    By jrmfelipe in forum Symbian
    Replies: 1
    Last Post: 2003-04-30, 09:40

Posting Permissions

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