writeGATkml: Write GAT KML File

View source: R/writeGATkml.R

writeGATkmlR Documentation

Write GAT KML File

Description

This function writes a KML file of the spatial layer.

Usage

writeGATkml(myshp, filename, filepath, myidvar = "GEOID10")

Arguments

myshp

A spatial layer.

filename

The desired name for the KML file.

filepath

The desired location for the KML file.

myidvar

A variable of unique values for the spatial layer.

Examples

# creates the kml file in the project root directory
if (interactive()) {
writeGATkml(myshp = hftown, filename = "my_kml_example",
            filepath = getwd(), myidvar = "TOWN")
}

ajstamm/gatpkg documentation built on Nov. 23, 2023, 9:44 a.m.