- update Javascript libraries to their latest versions - associated changes mostly not public API facing in the R code here to adapt to the JS changes (#84)
- move readme images into man/figures (#83)
- fix tests for upcoming V8 R package changes (#78) (#79)
- Fix problems on Fedora.
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
, andas.turf.feature
(#71) - JS library updates: Upgraded from turf.js
v3.10.4
tov4.7.3
. Upgraded fromturf/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 functionslawn_line_offset
,lawn_rewind
,lawn_pt2line_distance
,lawn_transform_rotate
,lawn_transform_scale
,lawn_transform_translate
, andlawn_unkinkpolygon
(#51) (#67) (#68) (#69) (#73) (#74)
- 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
andlawn_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)
- 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 parametersin_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
- 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
- Fixed bug in
lawn_buffer()
(#53) - Fixed bug in
lawn_random()
.num_vertices
parameter wasn't working (#44)
- Fixes tests (#46)
- Fixes expectations in test suite on failure for new V8 version (#45)
- Updated
geojsonhint
Javascript library (v1.2.0
) (#42)
- Added a code of conduct
- Implemented print methods for most output objects for easier comprehension (#26)
- Import all non-base R functions, now from
methods
,stats
, andutils
(#40)
- released to CRAN