[DebianGIS-dev] Bug#310078: Patch which silences the message
Rodney Lorrimar
rodney at rodney.id.au
Sat Oct 25 11:14:30 UTC 2008
Here is a patch which silences the error message. Probably not the best
approach, but it works for me. :) With this I could convert my GPX
tracks which didn't have <speed> elements.
Cheers,
Rodney
--- src/setpath.c.orig 2005-02-06 09:58:47.000000000 -0500
+++ src/setpath.c 2008-10-25 07:08:25.000000000 -0400
@@ -422,7 +422,7 @@
countUnconverted(pdata);
return 0;
/* check path speed */
- } else if (pattr->speed == .0) {
+ } else if (0 && pattr->speed == .0) {
fprintf
(stderr,
"gpx2shp:%s:%i track was not converted because no move recorded.\n",
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20081025/015dc997/attachment.pgp
More information about the Pkg-grass-devel
mailing list