Use an enumerator for gpx.points, and process the the points in batches

This commit is contained in:
Andy Allan 2019-03-20 10:14:11 +01:00
parent 07fdcf638e
commit c1bf73bee4
2 changed files with 27 additions and 21 deletions

View file

@ -13,6 +13,8 @@ module GPX
end
def points
return enum_for(:points) unless block_given?
@possible_points = 0
@actual_points = 0
@tracksegs = 0