Output kml files.

Description

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

Usage

1
kml(spData, filename, minimum = 3)

Arguments

spData

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

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 about 10km radius around each point.