otg: Geometry

Description Usage Arguments Details Value Examples

View source: R/otg.R

Description

Just the geometry, for your interpretation.

Usage

1
otg(dsn, layer = NULL, verbose = TRUE)

Arguments

dsn

data source name

layer

layer name, or number, defaults to first layer '1'

verbose

report on action if TRUE and y for layer not specified, the available layers will be reported

Details

This function returns the raw output of the internal source function 'R_OGR_CAPI_features' in 'rgdal'. It is possible to have the same layer name in a folder of files, i.e for MapInfo or shapefile, so don't do that.

Value

raw list as per 'R_OGR_CAPI_FEATURES'

Examples

1
2
inlandwaters <- otg(system.file("extdata", "datasource.gpkg", package = "gladr"))
mixed_poly_lines <- otg(system.file("extdata", "Drawing.mif", package = "gladr"))

r-gris/otg documentation built on May 26, 2019, 1:33 p.m.

Related to otg in r-gris/otg...