Learn R Programming

uavRst (version 0.5-4)

shp2so: reads shapefiles as sf or sp objects

Description

reads shapefiles as sf or sp objects

Usage

shp2so(fn, type = "sp", path_run = tempdir())

Arguments

fn

filename optionally with path

type

character. type of object to be created. "sp" is default can be set to "sf"

path_run

character. path used for runtime operations

Value

a sf* or sf* object from a given shape file