sp_layer_info: Function to return layer information within a spatial data...

View source: R/sp_read.R

sp_layer_infoR Documentation

Function to return layer information within a spatial data file.

Description

Function to return layer information within a spatial data file.

Usage

sp_layer_info(file, layer, geom = NULL)

Arguments

file

Spatial data file.

layer

Layer within file to read.

geom

An override for when spatial data files contain more than one geometry type in a layer. This is commonly found in GeoJSON and KML files. geom can be one of: "points", "lines", or "polygons".

Author(s)

Stuart K. Grange


MohoWu/ricardor documentation built on March 24, 2022, 4:39 p.m.