Learn R Programming

alcyon (version 0.7.0)

name,ShapeMap-method: Get the ShapeMap name

Description

Get the ShapeMap name

Usage

# S4 method for ShapeMap
name(map)

Value

The name of the ShapeMap as a string

Arguments

map

A ShapeMap

Examples

Run this code
mifFile <- system.file(
    "extdata", "testdata", "simple",
    "simple_interior.mif",
    package = "alcyon"
  )
  sfMap <- st_read(mifFile,
    geometry_column = 1L, quiet = TRUE
  )
  shapeMap <- as(sfMap[, vector()], "ShapeMap")
name(shapeMap)

Run the code above in your browser using DataLab