| opts_sfg | R Documentation |
These options will be used on objects of class 'sfg', simple feature geometries from the 'sf' package.
opts_sfg(constructor = c("st_sfg", "next"), ...)
constructor |
String. Name of the function used to construct the object, see Details section. |
... |
Additional options used by user defined constructors through the |
Depending on constructor, we construct the object as follows:
"st_sfg" (default): We build the object using the sf constructor
matching the geometry type, i.e. sf::st_point(), sf::st_multipoint(),
sf::st_linestring(), sf::st_multilinestring(), sf::st_polygon(),
sf::st_multipolygon() or sf::st_geometrycollection(), with a dim
argument when the dimension can't be inferred from the coordinates.
"next" : Use the constructor for the next supported class. Call .class2()
on the object to see in which order the methods will be tried.
Other geometry types, such as "CIRCULARSTRING", don't have a dedicated constructor and are built with the next constructor.
An object of class <constructive_options/constructive_options_sfg>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.