This repository has been archived by the owner on May 10, 2022. It is now read-only.
Releases: ropensci-archive/lawn
Releases · ropensci-archive/lawn
lawn v0.6.0
lawn v0.5.0
v0.4.2
lawn v0.4.0
NEW FEATURES
view()
gains.feature
method to plotfeature
class objects (#57)- gains new function
as.feature
to attempt to coerce strings or json
to features. associated with, addslawn_featurecollection.feature
, and
as.turf.feature
(#71) - JS library updates: Upgraded from turf.js
v3.10.4
tov4.7.3
. Upgraded from
turf/meta
v3.10.4
tov4.4.0
. Upgraded fromturf/invariant
v3.10.4
tov4.7.3
.
Upgraded fromsimple-statistics
v2.1.0
tov4.1.0
. Upgraded fromgeojsonhint
v2.0.0-beta2
tov2.0.1
. Upgraded fromclone
v2.0.0-beta2
tov2.1.1
.
Upgraded fromgeojson-random
v0.2.2
tov0.4.0
. Pkg gains new functions
lawn_line_offset
,lawn_rewind
,lawn_pt2line_distance
,
lawn_transform_rotate
,lawn_transform_scale
,lawn_transform_translate
,
andlawn_unkinkpolygon
(#51) (#67) (#68) (#69) (#73) (#74)
MINOR IMPROVEMENTS
- lots of documentation consistency improvements (#58)
- Now running on
simple-statistics
v4.1.0
(very close to the
latest version on NPM) (#66) - Started adding type checks to functions, only in
lawn_within
and
lawn_buffer
for now. These are type checks to check that the correct
GeoJSON types (e.g., Feature or FeatureCollection) are passed. Will finish
off remainder of package later (#65)
lawn v0.3.3
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
BUG FIXES
lawn v0.1.7
BUG FIXES
- Fixes tests (#46)
lawn v0.1.6
lawn 0.1.4
lawn 0.1.0
NEW FEATURES
- released to CRAN