planetarium/google-earth-requests: Do not truncate logged data.
authorMatt Birkholz <matt@birkholz.chandler.az.us>
Tue, 5 Nov 2013 16:07:49 +0000 (09:07 -0700)
committerMatt Birkholz <matt@birkholz.chandler.az.us>
Tue, 5 Nov 2013 16:07:49 +0000 (09:07 -0700)
src/planetarium/google-earth-requests.scm

index 8f0c91326a8b089da427da27eaae6a67baf29d98..ce1fc4a0e969f5c6a6aad4f3ff5860432a9691a9 100644 (file)
@@ -183,11 +183,7 @@ USA.
       (let* ((lines
              (call-with-input-file log-file read-lines))
             (l (length lines)))
-       (map parse-logged-elevation
-            (list-tail lines
-                       (if (< l 2502)
-                           0
-                           (- l 2502)))))
+       (map parse-logged-elevation lines))
       '()))
 
 (define (parse-logged-elevation line)