Skip to contents

An object of class SpatVector.

Format

SpatVector

Examples

mx <- terra::vect(system.file("extdata/mx.gpkg", package = "biosurvey"))

mx
#>  class       : SpatVector 
#>  geometry    : polygons 
#>  dimensions  : 1, 11  (geometries, attributes)
#>  extent      : -118.4042, -86.7014, 14.55055, 32.71846  (xmin, xmax, ymin, ymax)
#>  source      : mx.gpkg
#>  coord. ref. : lon/lat WGS 84 (EPSG:4326) 
#>  names       :  FIPS  ISO2  ISO3    UN   NAME   AREA   POP2005 REGION SUBREGION
#>  type        : <chr> <chr> <chr> <int>  <chr>  <int>     <num>  <int>     <int>
#>  values      :    MX    MX   MEX   484 Mexico 190869 1.043e+08     19        13
#>     LON   LAT
#>   <num> <num>
#>  -102.5 23.95