Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

as_featurecollection

As featurecollection


Description

Helper function to make a FeatureCollection list object for use in vizualizing, e.g., with leaflet

Usage

as_featurecollection(x)

Arguments

x

(list) GeoJSON as a list

Examples

str <- 'MULTIPOINT ((100.000 3.101), (101.000 2.100), (3.140 2.180),
(31.140 6.180), (31.140 78.180))'
x <- wkt2geojson(str, fmt = 2)
as_featurecollection(x)

wellknown

Convert Between 'WKT' and 'GeoJSON'

v0.7.2
MIT + file LICENSE
Authors
Scott Chamberlain [aut, cre] (<https://orcid.org/0000-0003-1444-9135>), Os Keyes [aut] (author of code in src/)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.