The function 'read_gpkg_layer' embeds sf::st_read to read a gpkg file from a gkpg archive.

read_gpkg_layer(path, layer)

Arguments

path

character, path where to find the 'gpkg' file.

layer

character, layer to be read.

Value

sf object

Author

Frédéric Grelot