If they're literally the same I can probably make a quick patch to simply drop one. However, the Python should be fixed to really drop it, if it isn't.



--- route.c.~1.14.~ Mon Jan 27 11:29:28 2003
+++ route.c Mon Nov 3 22:57:08 2003
@@ -163,6 +163,11 @@
if (buf[len-1] == ' ') buf[--len] = '\0';
route.pts.x = strtol(p, &p, 10);
route.pts.y = strtol(p, &p, 10);
+ if (i && (route.pts.x == route.pts[i-1].x) &&
+ (route.pts.y == route.pts[i-1].y)) {
+ i--;
+ continue;
+ }
if (p < buf + len) {
if (j == route.nwps) {
err("Too many waypoints?");


Attachments
186674-gpsapp (262 downloads)