Version: unspecified (using KDE 4.5.1) OS: Linux I have a gpsd running, which gives correct position data. Ex. lat="51.521001" lon="6.945187" gpsd: 2.94 (revision 2010-05-17T16:11:43) But Marble shows wrong current location. Lon: 6°00'O(E) Lat: 51°N Qt: 4.7.0 KDE: 4.5.1 (KDE 4.5.1) Marble – Schreibtischglobus: 0.10.1 Reproducible: Always Steps to Reproduce: Set marble to show current location from gpsd. Actual Results: Ex. lat="51.521001" lon="6.945187" is interpreted as Lon: 6°00'O(E) Lat: 51°N Expected Results: Ex. lat="51.521001" lon="6.945187" to be interpreted as Lon: 6°56'O(E) Lat: 51°31'N or so. OS: Linux (i686) release 2.6.35-24-generic Compiler: cc I think there is a type calculation mismatch.. I'm currently upgrading to 4.5.4 and retesting...
Still there in: Qt: 4.7.0 KDE: 4.5.5 (KDE 4.5.5) Marble – Schreibtischglobus: 0.10.3
Thanks for reporting this bug. I thought it was fixed in a recent gpsd version, but apparently that's not the case and we have to work around it. There's a patch in reviewboard pending now: http://reviewboard.kde.org/r/6327/
Until a fixed version arrives in your distribution, you can work around the problem by starting Marble like this: LC_NUMERIC=C marble If that doesn't work, use LC_ALL=C marble This will change things like the decimal point in Marble's interface, however.
LC_NUMERIC=C marble Works fine. As i interprete Lon/Lat it uses per definition always a dotted seperator, so locale should be ignored. GGA - Global Positioning System Fix Data Time, Position and fix related data fora GPS receiver. 11 1 2 3 4 5 6 7 8 9 10 | 12 13 14 15 | | | | | | | | | | | | | | | $--GGA,hhmmss.ss,llll.ll,a,yyyyy.yy,a,x,xx,x.x,x.x,M,x.x,M,x.x,xxxx*hh<CR><LF> Field Number: 1) Universal Time Coordinated (UTC) 2) Latitude 3) N or S (North or South) 4) Longitude 5) E or W (East or West) 6) GPS Quality Indicator, 0 - fix not available, 1 - GPS fix, 2 - Differential GPS fix 7) Number of satellites in view, 00 - 12 8) Horizontal Dilution of precision 9) Antenna Altitude above/below mean-sea-level (geoid) 10) Units of antenna altitude, meters 11) Geoidal separation, the difference between the WGS-84 earth ellipsoid and mean-sea-level (geoid), "-" means mean-sea-level below ellipsoid 12) Units of geoidal separation, meters 13) Age of differential GPS data, time in seconds since last SC104 type 1 or 9 update, null field when DGPS is not used 14) Differential reference station ID, 0000-1023 15) Checksum excerp of NMEA.txt coming with GPSDrive...
SVN commit 1217540 by nienhueser: Work around gpsmm parsing gpsd output (C locale) with current locale. CCBUG: 262330 REVIEW: 6327 M +8 -0 GpsdConnection.cpp M +3 -0 GpsdConnection.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1217540
SVN commit 1217547 by nienhueser: Work around gpsmm parsing gpsd output (C locale) with current locale. CCBUG: 262330 REVIEW: 6327 Backport of commit 1217540. M +8 -0 GpsdConnection.cpp M +3 -0 GpsdConnection.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1217547
SVN commit 1217548 by nienhueser: Work around gpsmm parsing gpsd output (C locale) with current locale. BUG: 262330 REVIEW: 6327 FIXED-IN: 4.6.1 Backport of commit 1217540. M +8 -0 GpsdConnection.cpp M +3 -0 GpsdConnection.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1217548