dbpf_kml | R Documentation |
Exports site locations as a kml file.
dbpf_kml(con, kmlfile, location_name, bounding_box)
con |
Database connection object, as returned by |
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 |
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
No value is returned.
Stephan Gruber <stephan.gruber@carleton.ca>
## Not run:
con <- dbpf_con()
dbpf_kml(con, kmlfile = "~/Desktop/permafrost.kml")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.