No announcement yet.

GPS giving wrong coordinates!

  • Filter
  • Time
  • Show
Clear All
new posts

  • GPS giving wrong coordinates!

    I have a rather unusual problem that started when I was trying to import POIs over wireless networks in my hometown kirkenes in norway. I am using mapmonkey and netstumbler with xport to split com-signals. Everything works fine with mapmonkey giving me the right coordinates, but netstumbler says that my wireless network at home is some 34km away. I discovered this when i was trying to use nmeaGE and google earth, and the map showed that i was in russia. That could problarbly give me some problems when they see my log-file and they ask for a valid visa for the trip or maybe it could give me a perfect alibi

    anyways, does anyone know what could be wrong? could it be xport? i find it weird that mneaGE and netstumbler get wrong coordinates, and mapmonkey get correct coordinates at the same time. Have attached a pic with netstumbler log and the poi from my house with the correct coordinates. HELP PLEASE!
    Attached Files

  • #2
    You haven't ****ed off any major governments lately, have you?

    Something like that means an algorithm wasint copied right or corrupted. This was a project in some people in my linear algebra classes did (they created and analyzed the GPS matrix algorithms. Don't ask me, i did matrix encryption). Install it on another PC and see if the same thing happens. Its the only way. Its amazing what one wrong bit will do to a complex calculation!
    Carputer Progress: Here we go again...

    Genesis has speed
    Genesis has class
    Genesis sent money
    before your a__;)

    Join the fight against carputters. EMAIL ME!


    • #3
      Those co-ordinates aren't that far apart...

      69 41.564' = 69.69273 29 59.694' = 29.9949
      Attached Files
      Old setup
      Epia M10k, Cubid 2699R case, 512MB, 40GB 3.5" drive
      New setup
      Optiplex 260SX (2.8GHz P4, 512MB, 30GB, DVD)
      Xenarc 700IDT, USB hub, 802.11g, bluetooth, P2140, P5V


      • #4
        Not so far away, no, but 34 km misguidance could give me a problem when i am trying to find a wireless network

        could it be xport messing up the coordinates? anyone wxperiences the same?


        • #5
          XPort doing what?
          No way!

          Run netstumbler with XPort and look at the coordinates, then run it again without XPort, connecting directly to the GPS. You should see the same exact values. If not, tell me.


          • #6
            Sorry Cur!

            Its not xports fault, in the pic you see that mapmonkey and nmeaGE has the right coordinates, and netstumbler has got the wrong coordinates. When I tryed to not use xport, only netstumbler, it gave the exact same coordinates as before. There must be something wrong with netstumbler i guess...

            what could it be?
            Attached Files


            • #7
              The GPS output is in degress + 2.3 places for minutes. When converting time to degrees some programmers round and some don't so there will always be a small difference. I wouldn't think that's a big deal.


              • #8
                Originally posted by bmw318ISCoupe
                netstumbler has got the wrong coordinates.
                what could it be?
                Those coordinates are pretty much the same. One is expressed as degrees, one is expressed as degrees and minutes:

                69.6621383333333 degrees = 69 degrees 0.6621383333333*60 minutes = 69 degrees 39.72829999999 minutes.
                29.982055 degrees = 29 degrees, 0.982055*60 minutes = 29 degrees 58.9233 minutes.

                Rounding explains the very small discrepancies as Curiosity said.
                Old Systems retired due to new car
                New system at design/prototype stage on BeagleBoard.


                • #9
                  Ahh, I see! Thanks for the help!
                  So if I want to write the coordinates from netstumbler expressed as degrees n minutes in just degrees, you just take the numbers after the point, and divide it with 60?

                  Something like this:
                  69 degrees 39.728299999 minutes =
                  69 + (39,728299999/60) =
                  69 + 0,662138333 =

                  Is there a web page or app that does this automaticly, or is there a option in netstumbler to show the coordinates as degrees?


                  • #10
                    Officially, NEMEA coords are in dddMM.mmmm

                    ddd :degrees (can be 1, 2 or 3 digits long)
                    MM is a fixed-length number of minutes
                    mmmm is 1/10000 of a minute.

                    To convert to degrees :

                    DD:= Trunc(DM /100.000000);
                    MM:=DM - (DD*100.000000);
                    DD:=DD + (MM/60.000000);
                    Now Galileo is real. Muhahahahaha :p