geo.pts2kml: Build a kml file with geographical points

Description Usage Arguments Author(s)

View source: R/geo.pts2kml.R

Description

This function can be used to build a kml file with geographical points.

Usage

1
geo.pts2kml(points, filename)

Arguments

points

the points data.frame.

filename

the kml filename.

Author(s)

Juan Du du@ibcas.ac.cn

county <- c("yijinhuoluo", "zhungeer", "dalate", "hangjin", "wushen", "etuokeqian", "etuoke") lon <- c(109.73379, 110.87967, 110.02905, 108.72321, 108.84956, 107.43605, 107.98152) lat <- c(39.566647, 39.647034, 40.396904, 39.839581, 38.598644, 38.22477, 39.09407)

example.pt <- data.frame(county, lon, lat)

geo.pts2kml(example.pt, "county position")


liuguofang/photoGPS documentation built on Nov. 8, 2019, 7:08 p.m.