Learn R Programming

sp (version 1.2-1)

geometry-methods: Methods for retrieving the geometry from a composite (geometry + attributes) object

Description

geometry retrieves the SpatialXxx object from a SpatialXxxDataFrame object, with Xxx Lines, Points, Polygons, Grid, or Pixels.

Usage

geometry(obj)

Arguments

obj
object of class Spatial