Skip to contents

This is a direct conversion, for ShapeMap -> Axial -> Segment see axialToSegmentShapeGraph

This is a direct conversion, for ShapeMap -> Axial -> Segment see axialToSegmentShapeGraph

Usage

# S4 method for class 'sf,ShapeMap'
coerce(from, to = "ShapeMap", strict = TRUE)

# S4 method for class 'ShapeMap,sf'
coerce(from, to = "sf", strict = TRUE)

# S4 method for class 'ShapeMap,AxialShapeGraph'
coerce(from, to = "AxialShapeGraph", strict = TRUE)

# S4 method for class 'sf,AxialShapeGraph'
coerce(from, to = "AxialShapeGraph", strict = TRUE)

# S4 method for class 'ShapeMap,SegmentShapeGraph'
coerce(from, to = "SegmentShapeGraph", strict = TRUE)

# S4 method for class 'sf,SegmentShapeGraph'
coerce(from, to = "SegmentShapeGraph", strict = TRUE)

See also

Other ShapeMap: ShapeMap-class

Other AxialShapeGraph: AxialShapeGraph-class

Other SegmentShapeGraph: SegmentShapeGraph-class