spToGeoJSON: Internal function of toGeoJSON

Description Usage Arguments Value Author(s) See Also

View source: R/spToGeoJSON.R

Description

Create GeoJSON file from Spatial object

Usage

1
spToGeoJSON(data, class, name, dest, overwrite)

Arguments

data

Spatial object.

class

Class of sp object.

name

Name of the resulting GeoJSON file, as string.

dest

Directory the file shall be saved to, as string.

overwrite

TRUE overwrites existing files with the same name.

Value

GeoJSON file path, as string.

Author(s)

Christian Graul

See Also

toGeoJSON


leafletR documentation built on May 19, 2017, 11:52 p.m.

Search within the leafletR package
Search all R packages, documentation and source code