logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: [ gpsdrive ] gpsdrive map import bug clues: msg#00071

Subject: Re: [ gpsdrive ] gpsdrive map import bug clues
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Craig FALCONER wrote:
> If you squash this bug I will be forever grateful!

Same :)

Regards
Darryl


> -----Original Message-----
> From: owner-gpsdrive-ahljRfkWE0EwtzFM8z8+AfP6llvjuJOh@xxxxxxxxxxxxxxxx
> [mailto:owner-gpsdrive-ahljRfkWE0EwtzFM8z8+AfP6llvjuJOh@xxxxxxxxxxxxxxxx] On 
> Behalf Of Russell Mirov
> Sent: Thursday, 23 June 2005 8:33 a.m.
> To: gpsdrive-ahljRfkWE0EwtzFM8z8+AfP6llvjuJOh@xxxxxxxxxxxxxxxx
> Subject: [ gpsdrive ] gpsdrive map import bug clues
> 
> 
> 
> I've hardly ever tried to use the map import function, and when I have tried
> it has always produced maps that are incorrectly registered.  I dug into the
> code a bit and think I know one of the causes.
> 
> Basically the import function works by having the user click on a two known
> waypoints.  It uses the known lat,lon for the waypoints and the screen x,y
> to determine map scale and position.  The code is mostly
> right, but has a bug in the way it handles the screen x,y position.   The
> expectation in the code is that the upper left corner of the image is at
> (0,0) and that the lower right is at (1280,1024).  In fact these are not the
> coordinates that are in use, there are both X and Y offsets that are not
> being subtracted off.  The obvious variables "xoff" and "yoff" don't
> actually contain values that are close the the observed pixex offsets of
> about (462, 293).
> 
> So does anyone know what variable(s) might contain the offsets ?
> 
> I've been working off the 2.10pre2 source base.
> 
> Thanks, -Russ
> --
> This message was part of the gpsdrive mailinglist
> unsubscribing can be done by sending a mail containing a body of:
> -quote--
> unsubscribe gpsdrive
> -unquote--
> to majordomo-ahljRfkWE0EwtzFM8z8+AfP6llvjuJOh@xxxxxxxxxxxxxxxx
> 
> --
> This message was part of the gpsdrive mailinglist
> unsubscribing can be done by sending a mail containing a body of:
> -quote--
> unsubscribe gpsdrive
> -unquote--
> to majordomo-ahljRfkWE0EwtzFM8z8+AfP6llvjuJOh@xxxxxxxxxxxxxxxx

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)

iD8DBQFCue17/XQ6DbmPjokRAivfAJ4q7HY6I52TzLivgrmme6vx6SVnjQCcCwGo
wQhiwhvUMTMVs2If48U6jD8=
=v/W0
-----END PGP SIGNATURE-----
--
This message was part of the gpsdrive mailinglist
unsubscribing can be done by sending a mail containing a body of:
-quote--
unsubscribe gpsdrive
-unquote--
to majordomo-ahljRfkWE0EwtzFM8z8+AfP6llvjuJOh@xxxxxxxxxxxxxxxx




Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>