Skip to content

Commit 9071584

Browse files
committed
Fixes #5
1 parent 0fff7a1 commit 9071584

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: fetchR
22
Type: Package
33
Title: Calculate fetch in New Zealand
4-
Version: 1.2-1
5-
Date: 2017-01-31
4+
Version: 1.2-2
5+
Date: 2017-02-16
66
Authors@R: person("Blake", "Seers", role = c("aut", "cre"),
77
email = "blake.seers@gmail.com")
88
Imports:

R/fetch.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ fetch = function(lat, lon, max_dist = 300, n_bearings = 9,
101101

102102
# Create polygon (approximating a circle) with a given radius. These vertices
103103
# are used for creating the end points for the fetch bearings.
104-
d_bff = gBuffer(centre_point_proj, width = max_dist * 1000, quadsegs = n_bearings)
104+
d_bff = gBuffer(centre_point_proj, width = max_dist, quadsegs = n_bearings)
105105

106106
# Subset NZ to incorporate only polygons within the radius to speed up
107107
# computation times.

0 commit comments

Comments
 (0)