geopackage: Read GeoPackage

View source: R/geopackage.r

geopackageR Documentation

Read GeoPackage

Description

Read Spatial data from GeoPackage format, via readOGR.

Usage

geopackage(x, y, verbose = TRUE, ...)

Arguments

x

geopackage file name

y

layer name, if not specified the first layer found will be read

verbose

report on layers available when not specified, defaults to TRUE

...

arguments passed to readOGR

Value

Spatial object as per readOGR

Examples

f <- system.file("extdata", "file_poly.gpkg", package= "rGeoPackage")
x <- geopackage(f)

rkrug/rGeoPackage documentation built on Nov. 18, 2022, 8:14 a.m.