sp_list_layers: Function to list layers within a spatial data file.

View source: R/sp_read.R

sp_list_layersR Documentation

Function to list layers within a spatial data file.

Description

Function to list layers within a spatial data file.

Usage

sp_list_layers(file)

Arguments

file

Spatial data file.

Author(s)

Stuart K. Grange

Examples

## Not run: 
# List layers in GeoJSON file, there will only be one
sp_list_layers("../../data/points_and_lines.json")

## End(Not run)


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