[ gpsdrive ] libgps

Jan-Benedict Glaw jbglaw at lug-owl.de
Wed Dec 24 05:05:01 AKST 2008


On Mon, 2008-12-22 19:40:15 +0000, Paul Martin <pm at debian.org> wrote:
> diff -ur -x /.gps/ gpsdrive-trunk/scripts/mapnik/osm-in.xml gpsdrive-local/scripts/mapnik/osm-in.xml
> --- gpsdrive-trunk/scripts/mapnik/osm-in.xml	2008-12-18 09:49:06.019635700 +0000
> +++ gpsdrive-local/scripts/mapnik/osm-in.xml	2008-12-22 17:07:14.653784272 +0000
> @@ -1,6 +1,6 @@
>  <?xml version="1.0" encoding="utf-8"?>
>  <!DOCTYPE Map>
> -<Map bgcolor="#b5d0d0" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
> +<Map bgcolor="#b5d0d0" srs="+proj=merc +datum=WGS84  +k=1.0 +units=m +over +no_defs">

The old one is what current OSM uses. However, seems we're trying to
get rid of this altogether...

>    <Style name="mapnik:selection">
>      <Rule>
>        <Filter>[mapnik:geometry] = 1</Filter>
> diff -ur -x /.gps/ gpsdrive-trunk/src/gps_handler.c gpsdrive-local/src/gps_handler.c
> --- gpsdrive-trunk/src/gps_handler.c	2008-12-22 15:35:29.390809346 +0000
> +++ gpsdrive-local/src/gps_handler.c	2008-12-22 19:35:03.485783803 +0000
> @@ -54,6 +55,9 @@
[...]
>  	if (mydebug > 40)
>  	{
>  		g_print ("  Fix Status: %d\n  Fix Mode: %d\n", data->status, data->fix.mode);
>  		g_print ("  Sats used: %d of %d\n", data->satellites_used, data->satellites);
>  		g_print ("  Position: %.6f / %.6f\n", data->fix.latitude, data->fix.longitude);
> +		g_print ("  Heading: %.2f\n  Time: %s\n", data->fix.track,utctime);

This is track direction, not heading.

MfG, JBG

-- 
      Jan-Benedict Glaw      jbglaw at lug-owl.de              +49-172-7608481
 Signature of:                            If it doesn't work, force it.
 the second  :                   If it breaks, it needed replacing anyway.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.gpsdrivers.org/pipermail/gpsdrive/attachments/20081224/8b504f76/attachment.bin>


More information about the GPSdrive mailing list