sp (version 0.9-97)

is.projected: Sets or retrieves projection attributes on classes extending SpatialData

Description

Sets or retrieves projection attributes on classes extending SpatialData; set or retrieve option value for error or warning on exceedance of geographical coordinate range, set or retrieve option value for exceedance tolerance of geographical coordinate range

Usage

is.projected(obj)
proj4string(obj)
proj4string(obj) <- value
get_ll_warn()
get_ll_TOL()
set_ll_warn(value)
set_ll_TOL(value)

Arguments

obj
An object of class or extending Spatial-class
value
For proj4string CRS object, containing a valid proj4 string; attempts to assign an object containing "longlat" to data extending beyond longitude [-180, 360] or lattitude [-90, 90] will be stopped. For set_ll_warn a single logica

Value

  • is.projected returns a logical; proj4string returns a character vector of length 1; spatial.dimension returns the number of spatial dimensions (2 or 3).

Details

proj4 strings are operative through CRAN package rgdal. For strings defined as longlat, the minimum longitude should be -180, the maximum longitude 360, the minimum latitude -90, and the maximum latitude 90

See Also

CRS