dbpf_kml: Write a kml plotting site locations

View source: R/dbpf_kml.R

dbpf_kmlR Documentation

Write a kml plotting site locations

Description

Exports site locations as a kml file.

Usage

dbpf_kml(con, kmlfile, location_name, bounding_box)

Arguments

con

Database connection object, as returned by dbpf_con

kmlfile

Filename for kml to be produced.

location_name

(optional) Character, one or more location names to convert.

bounding_box

(optional) numeric vector of the form (xmin, xmax, ymin, ymax) specifying longitude (x) and latitude (y) values to filter sites

Details

Function needs to be extended to allow: –> filtering by location, etc. –> display of summary information per site –> assigning shape and colour of icon based on attributes

Value

No value is returned.

Author(s)

Stephan Gruber <stephan.gruber@carleton.ca>

Examples

## Not run: 
con <- dbpf_con()
dbpf_kml(con, kmlfile = "~/Desktop/permafrost.kml")

## End(Not run)

geocryology/PermafrostDB documentation built on April 17, 2025, 11:54 a.m.