is.projected {sp}R Documentation

Sets or retrieves projection attributes on classes extending SpatialData

Description

Sets or retrieves projection attributes on classes extending SpatialData

Usage

is.projected(sd)
proj4string(sd)
proj4string(sd) <- value

Arguments

sd An object of class or extending Spatial-class
value 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

Details

proj4 strings are operative through CRAN package rgdal

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).

Author(s)

Edzer Pebesma, edzer.pebesma@uni-muenster.de

See Also

CRS


[Package sp version 0.9-57 Index]