PATH: PATH model.

View source: R/PATH-model.R

PATHR Documentation

PATH model.

Description

A PATH model is a direct translation of a simple features-alike object to normal form. This is four tables with the three kinds of entities, "objects" (or "features"), "paths" (or "parts") and "vertices", and a table to link the one-to-many relation between paths and vertices.

Usage

PATH(x, ...)

## S3 method for class 'SC'
PATH(x, ...)

## S3 method for class 'TRI'
PATH(x, ...)

## Default S3 method:
PATH(x, ...)

Arguments

x

input model

...

arguments passed to methods

Details

In a data set with no parts touching their neighbours, the only normalization of the vertices will be the removal of the duplicated closing coordinate on any polygon ring, and on any self-intersecting case within a single path.

PATH()$path should always have columns ⁠object_ path_ subobject ncoords_⁠

Value

a PATH model, with tables 'object', 'path', 'path_link_vertex' and 'vertex'

See Also

sc_path, sc_coord


mdsumner/sc documentation built on Jan. 16, 2024, 2:03 a.m.