This repository has been archived by the owner on May 10, 2022. It is now read-only.
lawn v0.3.0
NEW FEATURES
- Updated to using turf.js
v3.5.2
(#49) (#50), with the following significant
changes. Defunct functions (these methods were removed from turf, so
made sense to remove them here):lawn_aggregate
,lawn_jenks
,
lawn_quantile
,lawn_reclass
,lawn_size
. New functions (these methods
were added to turf):lawn_circle
,lawn_collect
,lawn_bbox
,
lawn_feature
,lawn_tesselate
. New data functions
to create geojson:lawn_multipoint
,lawn_multipolygon
,
lawn_multilinestring
,lawn_geometrycollection
. as.turf
gains S3 methods formultipoint
,multipolygon
,
multilinestring
, andgeometrycollection
.lawn_featurecollection
gains a default S3 method to error
gracefully on classes not supported, and gains S3 methods formultipoint
,
multipolygon
,multilinestring
, andgeometrycollection
.lawn_erase
renamed tolawn_difference
, following turf changeslawn_average
parameter name changes:field
toin_field
,
outputField
toout_field
lawn_count
loses parametercountField
, and gains parameters
in_field
, andout_field
(with default 'count')lawn_deviation
parameter name changes:inField
toin_field
,
outField
toout_field
(with default 'deviation')lawn_max
parameterout_field
with new default value 'max'lawn_median
parameterout_field
with new default value 'median'lawn_min
parameterout_field
with new default value 'min'lawn_sum
parameterout_field
with new default value 'sum'lawn_variance
parameterout_field
with new default value 'variance'- all aggregatation/math functions (
lawn_average
,lawn_count
,lawn_deviation
,
lawn_max
,lawn_median
,lawn_min
,lawn_sum
,lawn_variance
)
useturf.collect
internally, same method that's used inlawn_collect
MINOR IMPROVEMENTS
- Fixed example for
lawn_tag()
that wasn't working. Also,
poly_id
parameter changed tofield
, andcontaining_polyid
changed toout_field
. (#30) lawn_merge
uses new turf methodturf.union
internally, but
no user facing changes- Changed
x
parameter tocoordinates
inlawn_point
for
consistency with similar methods - Changed
rings
parameter tocoordinates
inlawn_polygon
for
consistency with similar methods - Internal changes to
lawn_remove
following turf changes, but
there should be no user facing changes