powered by
Takes a data-FeatureCollection of any type, a property, and a value and returns a data-FeatureCollection with features matching that property-value pair removed.
lawn_remove(features, property, value, lint = FALSE)
A set of input features.
Property to filter.
Value to filter.
(logical) Lint or not. Uses geojsonhint. Takes up increasing time as the object to get linted increases in size, so probably use by default for small objects, but not for large if you know they are good geojson objects. Default: FALSE
FALSE
A data-FeatureCollection.
Other data functions: lawn_featurecollection(), lawn_feature(), lawn_filter(), lawn_geometrycollection(), lawn_linestring(), lawn_multilinestring(), lawn_multipoint(), lawn_multipolygon(), lawn_point(), lawn_polygon(), lawn_random(), lawn_sample()
lawn_featurecollection()
lawn_feature()
lawn_filter()
lawn_geometrycollection()
lawn_linestring()
lawn_multilinestring()
lawn_multipoint()
lawn_multipolygon()
lawn_point()
lawn_polygon()
lawn_random()
lawn_sample()
# NOT RUN { cat(lawn_data$remove_features) lawn_remove(lawn_data$remove_features, 'marker-color', '#00f') lawn_remove(lawn_data$remove_features, 'marker-color', '#0f0') # }
Run the code above in your browser using DataLab