lawn: Client for 'Turfjs' for 'Geospatial' Analysis

Client for 'Turfjs' (<>) for 'geospatial' analysis. The package revolves around using 'GeoJSON' data. Functions are included for creating 'GeoJSON' data objects, measuring aspects of 'GeoJSON', and combining, transforming, and creating random 'GeoJSON' data objects.

Install the latest version of this package by entering the following in R:
AuthorScott Chamberlain [aut, cre], Jeff Hollister [aut], Morgan Herlocker [cph]
Date of publication2016-10-25 10:30:39
MaintainerScott Chamberlain <>
LicenseMIT + file LICENSE

View on CRAN

Man pages

as_feature: Convert a FeatureCollection to a Feature

as.turf: Coerce to turf.js javascript function call

data-types: Description of GeoJSON data types

georandom: Return a FeatureCollection with N number of features with...

lawn_aggregate: Calculate a series of aggregations for a set of points within...

lawn_along: Get a point at a distance along a line

lawn_area: Calculate the area of a polygon or group of polygons

lawn_average: Average of a field among points within polygons

lawn_bbox: Make a bounding box from a polygon

lawn_bbox_polygon: Make a polygon from a bounding box

lawn_bearing: Get geographic bearing between two points

lawn_bezier: Curve a linestring

lawn_buffer: Buffer a feature

lawn_center: Get center point

lawn_centroid: Centroid

lawn_circle: circle

lawn_collect: Collect method

lawn_combine: Combine singular features into plural versions

lawn_concave: Concave hull polygon

lawn_convex: Convex hull polygon

lawn_count: Count number of points within polygons

lawn_data: Data for use in examples

lawn-defunct: Defunct functions in 'lawn'

lawn_destination: Calculate destination point

lawn_deviation: Standard deviation of a field among points within polygons

lawn_difference: Difference

lawn_distance: Distance between two points

lawn_envelope: Calculate envelope around features

lawn_explode: Explode vertices to points

lawn_extent: Get a bounding box

lawn_feature: Create a Feature

lawn_featurecollection: Create a FeatureCollection

lawn_filter: Filter a FeatureCollection by a given property and value

lawn_flip: Flip x,y to y,x, and vice versa

lawn_geometrycollection: Create a geometrycollection

lawn_hex_grid: Create a HexGrid

lawn_inside: Does a point reside inside a polygon

lawn_intersect: Intersection

lawn_isolines: Generate Isolines

lawn_jenks: Get Jenks breaks

lawn_kinks: Get points at all self-intersections of a polygon

lawn_line_distance: Measure a linestring

lawn_line_slice: Slice a line given two points

lawn_linestring: Create a linestring

lawn_max: Maximum value of a field among points within polygons

lawn_median: Median value of a field among points within polygons

lawn_merge: Merge polygons

lawn_midpoint: Get a point midway between two points

lawn_min: Minimum value of a field among points within polygons

lawn_multilinestring: Create a multilinestring

lawn_multipoint: Create a multipoint

lawn_multipolygon: Create a multipolygon

lawn_nearest: Get nearest point

lawn-package: R client for turf.js for geospatial analysis

lawn_planepoint: Calculate a Planepoint

lawn_point: Create a point

lawn_point_grid: Create a PointGrid

lawn_point_on_line: Get closest point on linestring to reference point

lawn_point_on_surface: Get a point on the surface of a feature

lawn_polygon: Create a polygon

lawn_quantile: Calculate quantiles

lawn_random: Generate random data

lawn_reclass: Reclassify properties data

lawn_remove: Remove things from a FeatureCollection

lawn_sample: Return features from FeatureCollection at random

lawn_simplify: Simplify GeoJSON data

lawn_size: Expand a bounding box

lawn_square: Calculate a square bounding box

lawn_square_grid: Create a SquareGrid

lawn_sum: Sum of a field among points within polygons

lawn_tag: Spatial join of points and polygons

lawn_tesselate: Tesselate

lawn_tin: Create a Triangulated Irregular Network

lawn_triangle_grid: Create a TriangleGrid

lawn_union: Merge polygons

lawn_variance: Variance of a field among points within polygons

lawn_within: Return points that fall within polygons

pipe: Pipe operator

print-methods: Lawn print methods to provide summary view

type_sum: Type summary

view: Visualize geojson


\%>\% Man page
as_feature Man page
as.turf Man page
data-Feature Man page
data-FeatureCollection Man page
data-GeoJSON Man page
data-GeometryCollection Man page
data-LineString Man page
data-MultiLineString Man page
data-MultiPoint Man page
data-MultiPolygon Man page
data-Point Man page
data-Polygon Man page
data-types Man page
georandom Man page
gr_point Man page
gr_polygon Man page
gr_position Man page
lawn Man page
lawn_aggregate Man page
lawn_along Man page
lawn_area Man page
lawn_average Man page
lawn_bbox Man page
lawn_bbox_polygon Man page
lawn_bearing Man page
lawn_bezier Man page
lawn_buffer Man page
lawn_center Man page
lawn_centroid Man page
lawn_circle Man page
lawn_collect Man page
lawn_combine Man page
lawn_concave Man page
lawn_convex Man page
lawn_count Man page
lawn_data Man page
lawn-defunct Man page
lawn_destination Man page
lawn_deviation Man page
lawn_difference Man page
lawn_distance Man page
lawn_envelope Man page
lawn_explode Man page
lawn_extent Man page
lawn_feature Man page
lawn_featurecollection Man page
lawn_filter Man page
lawn_flip Man page
lawn_geometrycollection Man page
lawn_hex_grid Man page
lawn_inside Man page
lawn_intersect Man page
lawn_isolines Man page
lawn_jenks Man page
lawn_kinks Man page
lawn_line_distance Man page
lawn_line_slice Man page
lawn_linestring Man page
lawn_max Man page
lawn_median Man page
lawn_merge Man page
lawn_midpoint Man page
lawn_min Man page
lawn_multilinestring Man page
lawn_multipoint Man page
lawn_multipolygon Man page
lawn_nearest Man page
lawn-package Man page
lawn_planepoint Man page
lawn_point Man page
lawn_point_grid Man page
lawn_point_on_line Man page
lawn_point_on_surface Man page
lawn_polygon Man page
lawn_quantile Man page
lawn_random Man page
lawn_reclass Man page
lawn_remove Man page
lawn_sample Man page
lawn_simplify Man page
lawn_size Man page
lawn_square Man page
lawn_square_grid Man page
lawn_sum Man page
lawn_tag Man page
lawn_tesselate Man page
lawn_tin Man page
lawn_triangle_grid Man page
lawn_union Man page
lawn_variance Man page
lawn_within Man page
print-methods Man page
type_sum Man page
type_sum.array Man page
type_sum.character Man page
type_sum.Date Man page
type_sum.default Man page
type_sum.factor Man page
type_sum.integer Man page
type_sum.logical Man page
type_sum.matrix Man page
type_sum.numeric Man page
type_sum.POSIXt Man page
view Man page
view_ Man page


tests/testthat/test-planepoint.R tests/testthat/test-deviation.R tests/testthat/test-point_on_line.R tests/testthat/test-line_distance.R tests/testthat/test-isolines.R tests/testthat/test-count.R tests/testthat/test-inside.R tests/testthat/test-center.R tests/testthat/test-kinks.R tests/testthat/test-centroid.R tests/testthat/test-bbox_polygon.R tests/testthat/test-polygon.R tests/testthat/test-variance.R tests/testthat/test-linestring.R tests/testthat/test-max.R tests/testthat/test-triangle_grid.R tests/testthat/test-point.R tests/testthat/test-collect.R tests/testthat/test-along.R tests/testthat/test-area.R tests/testthat/test-line_slice.R tests/testthat/test-square.R tests/testthat/test-check4leaflet.R tests/testthat/test-envelope.R tests/testthat/test-merge.R tests/testthat/test-destination.R tests/testthat/test-average.R tests/testthat/test-median.R tests/testthat/test-buffer.R tests/testthat/test-geojson_random.R tests/testthat/test-explode.R tests/testthat/test-filter.R tests/testthat/test-featurecollection.R tests/testthat/test-tin.R tests/testthat/test-onload.R tests/testthat/test-concave.R tests/testthat/test-midpoint.R tests/testthat/test-erase.R tests/testthat/test-tag.R tests/testthat/test-nearest.R tests/testthat/test-square_grid.R tests/testthat/test-bezier.R tests/testthat/test-simplify.R tests/testthat/test-sample.R tests/testthat/test-intersect.R tests/testthat/test-distance.R tests/testthat/test-random.R tests/testthat/test-flip.R tests/testthat/test-combine.R tests/testthat/test-min.R tests/testthat/test-point_grid.R tests/testthat/test-union.R tests/testthat/test-sum.R tests/testthat/test-view.R tests/testthat/test-as.turf.R tests/testthat/test-lint.R tests/testthat/test-within.R tests/testthat/test-hex_grid.R tests/testthat/test-bearing.R tests/testthat/test-point_on_surface.R tests/testthat/test-extent.R tests/testthat/test-remove.R tests/testthat/test-convex.R tests/test-all.R
R/buffer.R R/as_feature.R R/geometrycollection.R R/min.R R/along.R R/collect.R R/tag.R R/tin.R R/defunct-deprecated.R R/line_distance.R R/combine.R R/square_grid.R R/onLoad.R R/random.R R/point_on_surface.R R/data-types.R R/variance.R R/line_slice.R R/average.R R/bbox_polygon.R R/square.R R/polygon.R R/count.R R/pipe.R R/circle.R R/sample.R R/linestring.R R/lawn_bbox.R R/tesselate.R R/multipoint.R R/inside.R R/filter.R R/flip.R R/within.R R/sum.R R/featurecollection.R R/kinks.R R/lawn_feature.R R/remove.R R/triangle_grid.R R/concave.R R/geojson_random.R R/simplify.R R/union.R R/lawn-package.R R/point.R R/nearest.R R/hex_grid.R R/destination.R R/bearing.R R/center.R R/extent.R R/point_grid.R R/bezier.R R/midpoint.R R/deviation.R R/explode.R R/centroid.R R/multilinestring.R R/convex.R R/print_methods.R R/isolines.R R/planepoint.R R/median.R R/point_on_line.R R/merge.R R/check_leaflet.R R/view.R R/as.turf.R R/multipolygon.R R/intersect.R R/erase.R R/zzz.R R/tbldf.R R/distance.R R/max.R R/area.R R/envelope.R
man/lawn_size.Rd man/lawn_destination.Rd man/lawn_within.Rd man/lawn_extent.Rd man/lawn_envelope.Rd man/pipe.Rd man/lawn_average.Rd man/lawn_isolines.Rd man/lawn_convex.Rd man/lawn_reclass.Rd man/lawn_square_grid.Rd man/lawn_collect.Rd man/lawn_max.Rd man/lawn_explode.Rd man/lawn_center.Rd man/lawn_bbox_polygon.Rd man/lawn_difference.Rd man/lawn_merge.Rd man/lawn_triangle_grid.Rd man/lawn_polygon.Rd man/lawn_bearing.Rd man/lawn-defunct.Rd man/lawn_multipoint.Rd man/lawn_concave.Rd man/type_sum.Rd man/lawn_variance.Rd man/lawn_tin.Rd man/lawn-package.Rd man/lawn_sum.Rd man/lawn_remove.Rd man/lawn_sample.Rd man/lawn_combine.Rd man/lawn_square.Rd man/lawn_point_on_line.Rd man/lawn_random.Rd man/lawn_aggregate.Rd man/lawn_filter.Rd man/lawn_hex_grid.Rd man/lawn_union.Rd man/lawn_quantile.Rd man/lawn_kinks.Rd man/lawn_area.Rd man/lawn_data.Rd man/lawn_bezier.Rd man/lawn_midpoint.Rd man/lawn_linestring.Rd man/lawn_point_on_surface.Rd man/lawn_geometrycollection.Rd man/as.turf.Rd man/lawn_line_slice.Rd man/georandom.Rd man/lawn_min.Rd man/lawn_multipolygon.Rd man/lawn_simplify.Rd man/print-methods.Rd man/lawn_point.Rd man/lawn_featurecollection.Rd man/lawn_flip.Rd man/lawn_jenks.Rd man/lawn_along.Rd man/lawn_count.Rd man/lawn_intersect.Rd man/lawn_line_distance.Rd man/lawn_deviation.Rd man/data-types.Rd man/as_feature.Rd man/lawn_bbox.Rd man/lawn_distance.Rd man/lawn_buffer.Rd man/lawn_point_grid.Rd man/lawn_inside.Rd man/lawn_circle.Rd man/lawn_tag.Rd man/lawn_nearest.Rd man/lawn_centroid.Rd man/lawn_tesselate.Rd man/lawn_multilinestring.Rd man/lawn_planepoint.Rd man/lawn_median.Rd man/lawn_feature.Rd man/view.Rd
Hadoop Online Training by Edureka

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.