prepKMZ2shapefile: DOWNLOAD KMZ AND CONVERT TO SHAPEFILE

View source: R/spatialTools.R

prepKMZ2shapefileR Documentation

DOWNLOAD KMZ AND CONVERT TO SHAPEFILE

Description

DOWNLOAD KMZ AND CONVERT TO SHAPEFILE

Usage

prepKMZ2shapefile(url, archive, destinationPath, overwrite = TRUE)

Arguments

url

is a Google Drive URl

archive

is the .zip file name where the .kmz is contained

destinationPath

path is the path to where archive will downloaded to, and where the final shapefile will be saved.

overwrite

passed to googledrive::drive_download and sp::shapefile

Value

a shapefile


CeresBarros/ToolsCB documentation built on Aug. 23, 2024, 4:22 p.m.