View source: R/basic_functions.R
create_empty_pgeometry | R Documentation |
pgeometry
objectcreate_empty_pgeometry()
builds an empty pgeometry
object of a specific type.
create_empty_pgeometry(type)
type |
A character value indicating the spatial plateau data type of the |
The create_empty_pgeometry()
function creates a new pgeometry
object with no components. To add new components to this object, you
should use spa_add_component()
. The components added to this object must be compatible with the type of the empty pgeometry
object.
An empty pgeometry
object.
# Creating an empty plateau point object
empty_plateau_point <- create_empty_pgeometry("PLATEAUPOINT")
empty_plateau_point
# Creating an empty plateau line object
empty_plateau_line <- create_empty_pgeometry("PLATEAULINE")
empty_plateau_line
# Creating an empty plateau region object
empty_plateau_region <- create_empty_pgeometry("PLATEAUREGION")
empty_plateau_region
# Creating an empty plateau composition object
empty_plateau_composition <- create_empty_pgeometry("PLATEAUCOMPOSITION")
empty_plateau_composition
# Creating an empty plateau collection object
empty_plateau_collection <- create_empty_pgeometry("PLATEAUCOLLECTION")
empty_plateau_collection
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.