A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://r-spatial.github.io/rgee/reference/ee_utils_shp_to_zip.html below:

Create a zip file from an sf object — ee_utils_shp_to_zip • rgee

Create a zip file from an sf objectSource: R/ee_utils.R

ee_utils_shp_to_zip.Rd

Create a zip file from an sf object

ee_utils_shp_to_zip(
  x,
  filename,
  SHP_EXTENSIONS = c("dbf", "prj", "shp", "shx")
)
Arguments
x

sf object

filename

data source name

SHP_EXTENSIONS

file extension of the files to save into the zip file. By default: "dbf", "prj", "shp", "shx".

Value

Character. The full path of the created zip file.

See also

Other ee_utils functions: ee_utils_py_to_r(), ee_utils_pyfunc()

Examples
if (FALSE) { # \dontrun{
library(rgee)
library(sf)
ee_Initialize(gcs = TRUE)

# Create sf object
nc <- st_read(system.file("shape/nc.shp", package="sf"))
zipfile <- ee_utils_shp_to_zip(nc)
} # }

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4