kml: Output kml files.

Description Usage Arguments Value

View source: R/red.R

Description

Creates kml files for Google Maps as required by IUCN guidelines.

Usage

1
kml(spData, filename, minimum = 3, radius = 0.1)

Arguments

spData

Either a matrix of longitude and latitude (two columns) of each occurrence record or a presence/absence map as a RasterLayer object (must be in longlat units).

filename

The name of file to save, should end with .kml.

minimum

If the number of records is lower than the minimum no polygon in drawn, only circles of given radius around each point.

radius

radius of circles in degrees if the number of records is lower than the minimum.

Value

A kml with minimum convex polygon or circles around records.


red documentation built on June 23, 2017, 4:42 a.m.

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