Description Usage Arguments Details Value Examples
View source: R/define_new_grid.R
#' This function defines a new floating grid coordinate reference system in the Oblique Mercator projection for a new floating grid based on the coordinates for a primary datum.
1 | define_new_grid(pt_0_geo, pt_0_grid = c(0, 0), geo_crs = 4326, name = NULL)
|
pt_0_geo |
A numeric vector of the geographic coordinates
( |
pt_0_grid |
A numeric vector of the geographic coordinates
( |
geo_crs |
The coordinate reference system of the geographic coordinates,
defined using any method used by |
This function requires the latitude and longitude coordinates (in WGS84 decimal degrees) of the primary datum for a new floating grid.
Object of class crs
, which is a list with elements input
(length-1 character) and wkt
(length-1 character).
1 2 3 4 5 6 7 8 9 10 11 12 13 | define_new_grid(
pt_0_geo = c(-108.51, 37.385),
pt_0_grid = c(500, 500),
name = "Great New Grid"
)
# Or define from a different coordinate reference system:
define_new_grid(
pt_0_geo = c(720446.8, 4140492.5),
pt_0_grid = c(500, 500),
geo_crs = 6341,
name = "Great New Grid"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.