11 May 2011 23:49
[MoNav Dev] Precision of UnsignedCoordinate::ToGPSCoordinate()
Christoph Eckert <ce <at> christeck.de>
2011-05-11 21:49:01 GMT
2011-05-11 21:49:01 GMT
Hi, compared to Mappero, which provides lat and lon with 6 decimal digits, I get only 4 digits for lat and 5 digits for lon from MoNav - which is a bit inaccurate. I have no clue whether this is caused by QGeoPositionInfoSource or my own/MoNav's code: const RoutingLogic::GPSInfo& gpsInfo = RoutingLogic::instance()->gpsInfo(); qDebug() << gpsInfo.position.x << gpsInfo.position.y; qDebug() << gpsInfo.position.ToGPSCoordinate().latitude \ << gpsInfo.position.ToGPSCoordinate().longitude; results in something like 561900976 368759099 48.9973 8.39198 561900931 368759164 48.9973 8.39197 561900925 368759161 48.9973 8.39197 561900891 368759111 48.9973 8.39195 561900852 368759081 48.9973 8.39194 561900862 368759041 48.9973 8.39194(Continue reading)
RSS Feed