Use an enumerator for gpx.points, and process the the points in batches
This commit is contained in:
parent
07fdcf638e
commit
c1bf73bee4
2 changed files with 27 additions and 21 deletions
|
@ -13,6 +13,8 @@ module GPX
|
|||
end
|
||||
|
||||
def points
|
||||
return enum_for(:points) unless block_given?
|
||||
|
||||
@possible_points = 0
|
||||
@actual_points = 0
|
||||
@tracksegs = 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue