coord_geo | R Documentation |
This is basically just an implementation of coord_sf()
for geom_georaster
. It requires the sf
package
and should very much be considered experimental. It is recommended to use
coord_equal()
for the time being as errors are likely.
coord_geo(
xlim = NULL,
ylim = NULL,
expand = TRUE,
crs = NULL,
default_crs = sf::st_crs(4326),
datum = sf::st_crs(4326),
label_graticule = waiver(),
label_axes = waiver(),
lims_method = c("cross", "box", "orthogonal", "geometry_bbox"),
ndiscr = 100,
default = FALSE,
clip = "on"
)
xlim, ylim |
Limits for the x and y axes. These limits are specified
in the units of the default CRS. By default, this means projected coordinates
( |
expand |
If |
crs |
The coordinate reference system (CRS) into which all data should be projected before plotting. If not specified, will use the CRS defined in the first sf layer of the plot. |
default_crs |
The default CRS to be used for non-sf layers (which
don't carry any CRS information) and scale limits. The default value of
|
datum |
CRS that provides datum to use when generating graticules. |
label_graticule |
Character vector indicating which graticule lines should be labeled
where. Meridians run north-south, and the letters This parameter can be used alone or in combination with |
label_axes |
Character vector or named list of character values
specifying which graticule lines (meridians or parallels) should be labeled on
which side of the plot. Meridians are indicated by This parameter can be used alone or in combination with |
lims_method |
Method specifying how scale limits are converted into
limits on the plot region. Has no effect when |
ndiscr |
Number of segments to use for discretising graticule lines; try increasing this number when graticules look incorrect. |
default |
Is this the default coordinate system? If |
clip |
Should drawing be clipped to the extent of the plot panel? A
setting of |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.