readOGR: Read OGR vector maps into Spatial objects

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/ogr_sp.R

Description

The function reads an OGR data source and layer into a suitable Spatial vector object. It can only handle layers with conformable geometry features (not mixtures of points, lines, or polygons in a single layer). It will set the spatial reference system if the layer has such metadata.

If reading a shapefile, the data source name (dsn= argument) is the folder (directory) where the shapefile is, and the layer is the name of the shapefile (without the .shp extension). For example to read bounds.shp from C:/Maps, do map <- readOGR(dsn="C:/Maps", layer="bounds"). The logic behind this is that typically one keeps all the shapefiles for a project in one folder (directory).

As noted below, for other file type drivers, the dsn= argument is interpreted differently, and may be the file name itself, as for example with the GPX driver for reading GPS data as layer="tracks" lines or layer="track_points" points.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
readOGR(dsn, layer, verbose = TRUE, p4s=NULL, 
 stringsAsFactors=default.stringsAsFactors(), 
 drop_unsupported_fields=FALSE,
 pointDropZ=FALSE, dropNULLGeometries=TRUE,
 useC=TRUE, disambiguateFIDs=FALSE, addCommentsToPolygons=TRUE,
 encoding=NULL, use_iconv=FALSE, swapAxisOrder=FALSE, require_geomType = NULL,
 integer64="no.loss", GDAL1_integer64_policy=FALSE)
ogrInfo(dsn, layer, encoding=NULL,
 use_iconv=FALSE, swapAxisOrder=FALSE, require_geomType = NULL)
ogrFIDs(dsn, layer)
ogrDrivers()
OGRSpatialRef(dsn, layer)
ogrListLayers(dsn)
## S3 method for class 'ogrinfo'
print(x, ...)

Arguments

dsn

data source name (interpretation varies by driver — for some drivers, dsn is a file name, but may also be a folder)

layer

layer name (varies by driver, may be a file name without extension). From rgdal 1.2.*, layer may be missing, in which case ogrListLayers examines the dsn, and fails if there are no layers, silently reads the only layer if only one layer is found, and reads the first layer if multiple layers are present, issuing a warning that layer should be given explicitly.

verbose

report progress

p4s

PROJ4 string defining CRS, if default NULL, the value is read from the OGR data set

stringsAsFactors

logical: should character vectors be converted to factors? The ‘factory-fresh’ default is TRUE, but this can be changed by setting options(stringsAsFactors = FALSE) (see link[base]{data.frame}).

drop\_unsupported\_fields

default FALSE, if TRUE skip fields other than String, Integer, and Real; Date, Time and DateTime are converted to String

pointDropZ

default FALSE, if TRUE, discard third coordinates for point geometries; third coordinates are alway discarded for line and polygon geometries

dropNULLGeometries

default TRUE, drop both declared NULL geometries, and empty geometries with no coordinates; if FALSE, return a data frame with the attribute values of the NULL and empty geometries

useC

default TRUE, if FALSE use original interpreted code in a loop

disambiguateFIDs

default FALSE, if TRUE, and FID values are not unique, they will be set to unique values 1:N for N features; problem observed in GML files

addCommentsToPolygons

default TRUE, may be set FALSE for legacy behaviour; used to indicate which interior rings are holes in which exterior rings in conformance with OGC SFS specifications

encoding

default NULL, if set to a character string, and the driver is “ESRI Shapefile”, and use_iconv is FALSE, it is passed to the CPL Option “SHAPE_ENCODING” immediately before reading the DBF of a shapefile. If use_iconv is TRUE, and encoding is not NULL, it will be used to convert input strings from the given value to the native encoding for the system/platform.

use_iconv

default FALSE; if TRUE and encoding is not NULL, it will be used to convert input strings from the given value to the native encoding for the system/platform.

swapAxisOrder

default FALSE, if TRUE, treat y coordinate as Easting, x as Northing, that is the opposite to the assumed order; this may be needed if some OGR read drivers do not behave as expected

require_geomType

, default NULL, if one of: c("wkbPoint", "wkbLineString", "wkbPolygon"), then in input with multiple geometry types, the chosen type will be read

integer64

default “no.loss” (from rgdal 1.2.*). From GDAL 2, fields to be read may also take Integer64 values. As R has no such storage mode, three options are offered, analogous with type.convert for numeric conversion: “allow.loss” which clamps to 32-bit signed integer (default < rgdal 1.2), “warn.loss” - as “allow.loss” but warns when clamping occurs, and “no.loss”, which reads as a character string using the formatting applied by default by GDAL (default >= rgdal 1.2). The use of 64-bit integers is usually a misunderstanding, as such data is almost always a long key ID.

GDAL1_integer64_policy

default FALSE, if TRUE, Integer64 fields are read as doubles

x

ogrinfo object

...

other arguments to print method

Details

The drivers available will depend on the installation of GDAL/OGR, and can vary; the ogrDrivers() function shows which are available, and which may be written (but all are assumed to be readable). Note that stray files in data source directories (such as *.dbf) may lead to suprious errors that accompanying *.shp are missing.

Value

A Spatial object is returned suiting the vector data source, either a SpatialPointsDataFrame (using an AttributeList for its data slot directly), a SpatialLinesDataFrame, or a SpatialPolygonsDataFrame.

Note

The bases for this implementation are taken from functions in Barry Rowlingson's draft Rmap package, and from Radim Blazek's v.in.ogr program in GRASS.

Please note that the OGR drivers used may not handle missing data gracefully, and be prepared to have to correct for this manually. From rgdal 0.5-27, missing value handling has been improved, and OGR unset field values are set to NA in R, but drivers and external files may vary in their representations of missing values.

In addition, from 0.6-9 date and time fields are read as strings rather than being treated as unsupported; NULL geometries are identified and dropped. There are differences in the reporting of NULL geometries between ogrInfo and readOGR - in ogrInfo, only declared NULL geometries are reported, but in readOGR, any line or polygon geometries with no coordinates are assigned NULL geometry status as well. An attempt is made to close unclosed rings in polygon geometries.

For reading GPX files, refer to the OGR GPX format documentation for the use of layer tags: “waypoints”, “tracks”, “routes”, “track_points” and “route_points” - reading GPX files requires a build of GDAL/OGR with the expat XML library.

From 0.6-10, attempts are made to detect deleted features still present in the layer, but not read. Apparently features deleted in Qgis are only marked as deleted, but are still in the layer. These are not NULL geometries, but still need to be handled. An attempt is made to check the FID values, and ogrFIDs now returns attributes permitting this oddity to be detected. Such deleted features were seen as NULL in 0.6-9, but are not such.

From 0.7-24, if the layer has no fields, a single field containing the FID values is placed in the data slot of the returned object.

From 0.7-24, attempts are begun to provide users with arguments to control reading from OGR/shapefile driver when the encoding is inappropriate (especially the setting of LDID in shapefile DBFs, and the SHAPE_ENCODING environment variable).

While there is no certainty, newer drivers such as KML, GML, SQLite and Geopackage (GPKG) may encode string fields as UTF-8. Users are advised to explore this on a case to case basis using Encoding on string fields of input objects.

Because of the representation of DateTime data in OGR, decimal seconds in input data are rounded to integer seconds, see: http://trac.osgeo.org/gdal/ticket/2680.

Because some drivers support reading string, integer and real list fields, support has been introduced into ogrInfo from version 0.9-1 to report their presence and the maximum counts of list items. This may lead to the introduction of the -splitlistfields facility from the command line utility ogrinfo. In addition, ogrInfo reports that there are no features when counting FIDs in a while loop over features in ogrFIDs never enters the loop, despite the layer feature count reporting at least one feature.

Author(s)

Roger Bivand

References

http://www.gdal.org/ogr_formats.html, http://examples.oreilly.com/webmapping/

See Also

SpatialPointsDataFrame-class, SpatialLinesDataFrame-class, SpatialPolygonsDataFrame-class, readShapePoly, iconv

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
ogrDrivers()
dsn <- system.file("vectors", package = "rgdal")[1]
ogrListLayers(dsn)
ogrInfo(dsn)
ogrInfo(dsn=dsn, layer="cities")
owd <- getwd()
setwd(dsn)
ogrInfo(dsn="cities.shp")
ogrInfo(dsn="cities.shp", layer="cities")
setwd(owd)
ow <- options("warn")$warn
options("warn"=1)
cities <- readOGR(dsn=dsn, layer="cities")
str(slot(cities, "data"))
cities$POPULATION <- type.convert(as.character(cities$POPULATION),
  na.strings="-99", numerals="no.loss")
str(slot(cities, "data"))
cities <- readOGR(dsn=dsn, layer="cities", GDAL1_integer64_policy=TRUE)
str(slot(cities, "data"))
options("warn"=ow)
summary(cities)
table(Encoding(as.character(cities$NAME)))
ogrInfo(dsn=dsn, layer="kiritimati_primary_roads")
OGRSpatialRef(dsn=dsn, layer="kiritimati_primary_roads")
kiritimati_primary_roads <- readOGR(dsn=dsn, layer="kiritimati_primary_roads")
summary(kiritimati_primary_roads)
ogrInfo(dsn=dsn, layer="scot_BNG")
OGRSpatialRef(dsn=dsn, layer="scot_BNG")
scot_BNG <- readOGR(dsn=dsn, layer="scot_BNG")
summary(scot_BNG)
if ("GML" %in% ogrDrivers()$name) {
  dsn <- system.file("vectors/airports.gml", package = "rgdal")[1]
  airports <- try(readOGR(dsn=dsn, layer="airports"))
  if (class(airports) != "try-error") summary(airports)
}
dsn <- system.file("vectors/ps_cant_31.MIF", package = "rgdal")[1]
ogrInfo(dsn=dsn, layer="ps_cant_31")
ps_cant_31 <- readOGR(dsn=dsn, layer="ps_cant_31")
summary(ps_cant_31)
sapply(as(ps_cant_31, "data.frame"), class)
ps_cant_31 <- readOGR(dsn=dsn, layer="ps_cant_31", stringsAsFactors=FALSE)
summary(ps_cant_31)
sapply(as(ps_cant_31, "data.frame"), class)
dsn <- system.file("vectors/Up.tab", package = "rgdal")[1]
ogrInfo(dsn=dsn, layer="Up")
Up <- readOGR(dsn=dsn, layer="Up")
summary(Up)
dsn <- system.file("vectors/test_trk2.gpx", package = "rgdal")[1]
test_trk2 <- try(readOGR(dsn=dsn, layer="tracks"))
if (class(test_trk2) != "try-error") summary(test_trk2)
test_trk2pts <- try(readOGR(dsn=dsn, layer="track_points"))
if (class(test_trk2pts) != "try-error") summary(test_trk2pts)
dsn <- system.file("vectors", package = "rgdal")[1]
ogrInfo(dsn=dsn, layer="trin_inca_pl03")
birds <- readOGR(dsn=dsn, layer="trin_inca_pl03")
summary(birds)
dsn <- system.file("vectors/PacoursIKA2.TAB", package = "rgdal")[1]
try(ogrInfo(dsn, "PacoursIKA2"))
ogrInfo(dsn, "PacoursIKA2", require_geomType="wkbPoint")
plot(readOGR(dsn, "PacoursIKA2", require_geomType="wkbLineString"), col="red")
plot(readOGR(dsn, "PacoursIKA2", require_geomType="wkbPoint"), add=TRUE)
odir <- getwd()
setwd(system.file("vectors", package = "rgdal")[1])
ow <- options("warn")$warn
options("warn"=1)
ogrInfo("test64.vrt", "test64")
str(readOGR("test64.vrt", "test64", verbose=FALSE, integer64="allow.loss")$val)
str(readOGR("test64.vrt", "test64", verbose=FALSE, integer64="warn.loss")$val)
str(readOGR("test64.vrt", "test64", verbose=FALSE, integer64="no.loss")$val)
str(readOGR("test64.vrt", "test64", verbose=FALSE, stringsAsFactors=FALSE,
 integer64="no.loss")$val)
setwd(odir)
options("warn"=ow)

Example output

Loading required package: sp
rgdal: version: 1.2-7, (SVN revision 660)
 Geospatial Data Abstraction Library extensions to R successfully loaded
 Loaded GDAL runtime: GDAL 1.10.1, released 2013/08/26
 Path to GDAL shared files: /usr/share/gdal/1.10
 Loaded PROJ.4 runtime: Rel. 4.8.0, 6 March 2012, [PJ_VERSION: 480]
 Path to PROJ.4 shared files: (autodetected)
WARNING: no proj_defs.dat in PROJ.4 shared files
 Linking to sp version: 1.2-3 
             name write
1          ARCGEN FALSE
2          AVCBin FALSE
3          AVCE00 FALSE
4      AeronavFAA FALSE
5             BNA  TRUE
6             CSV  TRUE
7         CouchDB  TRUE
8             DGN  TRUE
9            DODS FALSE
10            DXF  TRUE
11         EDIGEO FALSE
12 ESRI Shapefile  TRUE
13  ElasticSearch  TRUE
14            GFT  TRUE
15            GML  TRUE
16            GMT  TRUE
17       GPSBabel  TRUE
18  GPSTrackMaker  TRUE
19            GPX  TRUE
20        GeoJSON  TRUE
21         GeoRSS  TRUE
22     Geoconcept  TRUE
23       Geomedia FALSE
24            HTF FALSE
25         Idrisi FALSE
26     Interlis 1  TRUE
27     Interlis 2  TRUE
28            KML  TRUE
29         LIBKML  TRUE
30   MSSQLSpatial  TRUE
31   MapInfo File  TRUE
32         Memory  TRUE
33          MySQL  TRUE
34            NAS FALSE
35           ODBC  TRUE
36            ODS  TRUE
37           OGDI FALSE
38            OSM FALSE
39        OpenAir FALSE
40         PCIDSK  TRUE
41            PDF  TRUE
42            PDS FALSE
43         PGDump  TRUE
44           PGeo FALSE
45     PostgreSQL  TRUE
46            REC FALSE
47            S57  TRUE
48           SDTS FALSE
49       SEGUKOOA FALSE
50           SEGY FALSE
51         SQLite  TRUE
52            SUA FALSE
53            SVG FALSE
54          TIGER  TRUE
55        UK .NTF FALSE
56            VFK FALSE
57            VRT FALSE
58            WFS FALSE
59            XLS FALSE
60           XLSX  TRUE
61         XPlane FALSE
[1] "scot_BNG"                 "trin_inca_pl03"          
[3] "cities"                   "kiritimati_primary_roads"
attr(,"driver")
[1] "ESRI Shapefile"
attr(,"nlayers")
[1] 4
Source: "/usr/lib/R/site-library/rgdal/vectors", layer: "scot_BNG"
Driver: ESRI Shapefile; number of rows: 56 
Feature type: wkbPolygon with 2 dimensions
Extent: (7094.552 529495) - (468285.5 1218342)
CRS: +proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=400000 +y_0=-100000 +datum=OSGB36 +units=m +no_defs  
LDID: 0 
Number of fields: 13 
     name type length typeName
1   SP_ID    4      5   String
2    NAME    4     13   String
3    ID_x    2     19     Real
4   COUNT    2     19     Real
5     SMR    2     19     Real
6    LONG    2     19     Real
7     LAT    2     19     Real
8      PY    2     19     Real
9    EXP_    2     19     Real
10    AFF    2     19     Real
11 X_COOR    2     19     Real
12 Y_COOR    2     19     Real
13   ID_y    2     19     Real
Warning message:
In ogrInfo(dsn) : First layer scot_BNG read; multiple layers present in
/usr/lib/R/site-library/rgdal/vectors, check layers with ogrListLayers()
Source: "/usr/lib/R/site-library/rgdal/vectors", layer: "cities"
Driver: ESRI Shapefile; number of rows: 606 
Feature type: wkbPoint with 2 dimensions
Extent: (-165.27 -53.15) - (177.1302 78.2)
CRS: +proj=longlat +datum=WGS84 +no_defs  
LDID: 0 
Number of fields: 4 
        name type length typeName
1       NAME    4     40   String
2    COUNTRY    4     12   String
3 POPULATION    2     11     Real
4    CAPITAL    4      1   String
Source: "cities.shp", layer: "cities"
Driver: ESRI Shapefile; number of rows: 606 
Feature type: wkbPoint with 2 dimensions
Extent: (-165.27 -53.15) - (177.1302 78.2)
CRS: +proj=longlat +datum=WGS84 +no_defs  
LDID: 0 
Number of fields: 4 
        name type length typeName
1       NAME    4     40   String
2    COUNTRY    4     12   String
3 POPULATION    2     11     Real
4    CAPITAL    4      1   String
Source: "cities.shp", layer: "cities"
Driver: ESRI Shapefile; number of rows: 606 
Feature type: wkbPoint with 2 dimensions
Extent: (-165.27 -53.15) - (177.1302 78.2)
CRS: +proj=longlat +datum=WGS84 +no_defs  
LDID: 0 
Number of fields: 4 
        name type length typeName
1       NAME    4     40   String
2    COUNTRY    4     12   String
3 POPULATION    2     11     Real
4    CAPITAL    4      1   String
OGR data source with driver: ESRI Shapefile 
Source: "/usr/lib/R/site-library/rgdal/vectors", layer: "cities"
with 606 features
It has 4 fields
NOTE: rgdal::checkCRSArgs: no proj_defs.dat in PROJ.4 shared files
'data.frame':	606 obs. of  4 variables:
 $ NAME      : Factor w/ 602 levels "Abidjan","Abu Zaby",..: 368 34 472 322 419 593 390 194 263 115 ...
 $ COUNTRY   : Factor w/ 165 levels "Afghanistan",..: 124 124 124 124 124 124 124 152 124 124 ...
 $ POPULATION: num  468000 416000 5825000 152000 1160000 ...
 $ CAPITAL   : Factor w/ 2 levels "N","Y": 1 1 1 1 1 1 1 1 1 1 ...
'data.frame':	606 obs. of  4 variables:
 $ NAME      : Factor w/ 602 levels "Abidjan","Abu Zaby",..: 368 34 472 322 419 593 390 194 263 115 ...
 $ COUNTRY   : Factor w/ 165 levels "Afghanistan",..: 124 124 124 124 124 124 124 152 124 124 ...
 $ POPULATION: num  468000 416000 5825000 152000 1160000 ...
 $ CAPITAL   : Factor w/ 2 levels "N","Y": 1 1 1 1 1 1 1 1 1 1 ...
OGR data source with driver: ESRI Shapefile 
Source: "/usr/lib/R/site-library/rgdal/vectors", layer: "cities"
with 606 features
It has 4 fields
NOTE: rgdal::checkCRSArgs: no proj_defs.dat in PROJ.4 shared files
'data.frame':	606 obs. of  4 variables:
 $ NAME      : Factor w/ 602 levels "Abidjan","Abu Zaby",..: 368 34 472 322 419 593 390 194 263 115 ...
 $ COUNTRY   : Factor w/ 165 levels "Afghanistan",..: 124 124 124 124 124 124 124 152 124 124 ...
 $ POPULATION: num  468000 416000 5825000 152000 1160000 ...
 $ CAPITAL   : Factor w/ 2 levels "N","Y": 1 1 1 1 1 1 1 1 1 1 ...
Object of class SpatialPointsDataFrame
Coordinates:
              min      max
coords.x1 -165.27 177.1302
coords.x2  -53.15  78.2000
Is projected: FALSE 
proj4string :
[+proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0]
Number of points: 606
Data attributes:
        NAME        COUNTRY      POPULATION       CAPITAL
 Hyderabad:  2   US     : 49   Min.   :     -99   N:442  
 San Jose :  2   Russia : 37   1st Qu.:  243744   Y:164  
 Tripoli  :  2   China  : 36   Median :  710447          
 Valencia :  2   Canada : 22   Mean   : 1411999          
 Abidjan  :  1   India  : 20   3rd Qu.: 1536250          
 Abu Zaby :  1   Brazil : 19   Max.   :23620000          
 (Other)  :596   (Other):423                             

unknown 
    606 
Source: "/usr/lib/R/site-library/rgdal/vectors", layer: "kiritimati_primary_roads"
Driver: ESRI Shapefile; number of rows: 35 
Feature type: wkbLineString with 2 dimensions
Extent: (667587.7 187716.6) - (704048 226051.2)
CRS: +proj=utm +zone=4 +datum=WGS84 +units=m +no_defs  
LDID: 87 
Number of fields: 1 
  name type length typeName
1   Id    0      6  Integer
[1] "+proj=utm +zone=4 +datum=WGS84 +units=m +no_defs "
OGR data source with driver: ESRI Shapefile 
Source: "/usr/lib/R/site-library/rgdal/vectors", layer: "kiritimati_primary_roads"
with 35 features
It has 1 fields
NOTE: rgdal::checkCRSArgs: no proj_defs.dat in PROJ.4 shared files
Object of class SpatialLinesDataFrame
Coordinates:
       min      max
x 667587.7 704048.0
y 187716.6 226051.2
Is projected: TRUE 
proj4string :
[+proj=utm +zone=4 +datum=WGS84 +units=m +no_defs +ellps=WGS84
+towgs84=0,0,0]
Data attributes:
       Id   
 Min.   :0  
 1st Qu.:0  
 Median :0  
 Mean   :0  
 3rd Qu.:0  
 Max.   :0  
Source: "/usr/lib/R/site-library/rgdal/vectors", layer: "scot_BNG"
Driver: ESRI Shapefile; number of rows: 56 
Feature type: wkbPolygon with 2 dimensions
Extent: (7094.552 529495) - (468285.5 1218342)
CRS: +proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=400000 +y_0=-100000 +datum=OSGB36 +units=m +no_defs  
LDID: 0 
Number of fields: 13 
     name type length typeName
1   SP_ID    4      5   String
2    NAME    4     13   String
3    ID_x    2     19     Real
4   COUNT    2     19     Real
5     SMR    2     19     Real
6    LONG    2     19     Real
7     LAT    2     19     Real
8      PY    2     19     Real
9    EXP_    2     19     Real
10    AFF    2     19     Real
11 X_COOR    2     19     Real
12 Y_COOR    2     19     Real
13   ID_y    2     19     Real
[1] "+proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=400000 +y_0=-100000 +datum=OSGB36 +units=m +no_defs "
OGR data source with driver: ESRI Shapefile 
Source: "/usr/lib/R/site-library/rgdal/vectors", layer: "scot_BNG"
with 56 features
It has 13 fields
NOTE: rgdal::checkCRSArgs: no proj_defs.dat in PROJ.4 shared files
Object of class SpatialPolygonsDataFrame
Coordinates:
         min       max
x   7094.552  468285.5
y 529495.039 1218342.5
Is projected: TRUE 
proj4string :
[+proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=400000
+y_0=-100000 +datum=OSGB36 +units=m +no_defs +ellps=airy
+towgs84=446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894]
Data attributes:
     SP_ID              NAME         ID_x           COUNT       
 0      : 1   Aberdeen    : 1   Min.   : 1.00   Min.   : 0.000  
 1      : 1   Angus       : 1   1st Qu.:14.75   1st Qu.: 4.750  
 10     : 1   Annandale   : 1   Median :28.50   Median : 8.000  
 11     : 1   Argyll-Bute : 1   Mean   :28.50   Mean   : 9.571  
 12     : 1   Banff-Buchan: 1   3rd Qu.:42.25   3rd Qu.:11.000  
 13     : 1   Bearsden    : 1   Max.   :56.00   Max.   :39.000  
 (Other):50   (Other)     :50                                   
      SMR             LONG            LAT              PY         
 Min.   :  0.0   Min.   :54.94   Min.   :1.430   Min.   :  27075  
 1st Qu.: 49.6   1st Qu.:55.78   1st Qu.:3.288   1st Qu.: 100559  
 Median :111.5   Median :56.04   Median :4.090   Median : 182333  
 Mean   :152.6   Mean   :56.40   Mean   :4.012   Mean   : 267498  
 3rd Qu.:223.0   3rd Qu.:57.02   3rd Qu.:4.730   3rd Qu.: 313845  
 Max.   :652.2   Max.   :60.24   Max.   :6.800   Max.   :2316353  
                                                                  
      EXP_             AFF             X_COOR           Y_COOR       
 Min.   : 1.100   Min.   : 0.000   Min.   :112892   Min.   : 561163  
 1st Qu.: 4.050   1st Qu.: 1.000   1st Qu.:256624   1st Qu.: 649520  
 Median : 6.300   Median : 7.000   Median :287577   Median : 681524  
 Mean   : 9.575   Mean   : 8.661   Mean   :288524   Mean   : 723127  
 3rd Qu.:10.125   3rd Qu.:11.500   3rd Qu.:333948   3rd Qu.: 794380  
 Max.   :88.700   Max.   :24.000   Max.   :442244   Max.   :1168904  
                                                                     
      ID_y      
 Min.   : 1.00  
 1st Qu.:14.75  
 Median :28.50  
 Mean   :28.50  
 3rd Qu.:42.25  
 Max.   :56.00  
                
OGR data source with driver: GML 
Source: "/usr/lib/R/site-library/rgdal/vectors/airports.gml", layer: "airports"
with 13 features
It has 6 fields
Object of class SpatialPointsDataFrame
Coordinates:
              min     max
coords.x1  434634  496393
coords.x2 5228719 5291930
Is projected: NA 
proj4string : [NA]
Number of points: 13
Data attributes:
      fid                                 NAME        LAT       
 0      :1   Bolduc Seaplane Base           :2   Min.   :47.21  
 1      :1   Bigfork Municipal Airport      :1   1st Qu.:47.34  
 10     :1   Bowstring Municipal Airport    :1   Median :47.58  
 11     :1   Burns Lake Seaplane Base       :1   Mean   :47.51  
 12     :1   Christenson Point Seaplane Base:1   3rd Qu.:47.65  
 2      :1   Deer River Municipal Airport   :1   Max.   :47.78  
 (Other):7   (Other)                        :6   NA's   :1      
      LON           ELEVATION              QUADNAME
 Min.   :-93.87   Min.   :1300   Side Lake     :2  
 1st Qu.:-93.67   1st Qu.:1325   Balsam Lake   :1  
 Median :-93.55   Median :1351   Bigfork       :1  
 Mean   :-93.48   Mean   :1347   Clubhouse Lake:1  
 3rd Qu.:-93.31   3rd Qu.:1372   Cohasset East :1  
 Max.   :-93.05   Max.   :1394   Deer River    :1  
 NA's   :1                       (Other)       :6  
Source: "/usr/lib/R/site-library/rgdal/vectors/ps_cant_31.MIF", layer: "ps_cant_31"
Driver: MapInfo File; number of rows: 44 
Feature type: wkbPolygon with 2 dimensions
Extent: (0.449114 42.69196) - (2.048339 43.91861)
CRS: +proj=longlat +ellps=WGS84 +towgs84=0,0,0,-0,-0,-0,0 +no_defs  
Number of fields: 8 
       name type length typeName
1      CODE    4      5   String
2       NOM    4     40   String
3       POP    2      0     Real
4       SUP    2      0     Real
5 Longitude    2      0     Real
6  Latitude    2      0     Real
7  Pseudo_c    4      5   String
8       DEP    4      5   String
OGR data source with driver: MapInfo File 
Source: "/usr/lib/R/site-library/rgdal/vectors/ps_cant_31.MIF", layer: "ps_cant_31"
with 44 features
It has 8 fields
NOTE: rgdal::checkCRSArgs: no proj_defs.dat in PROJ.4 shared files
Object of class SpatialPolygonsDataFrame
Coordinates:
        min       max
x  0.449114  2.048339
y 42.691957 43.918612
Is projected: FALSE 
proj4string :
[+proj=longlat +ellps=WGS84 +towgs84=0,0,0,-0,-0,-0,0 +no_defs]
Data attributes:
      CODE         NOM          POP              SUP          Longitude       
 31007  : 1   AMBAX  : 1   Min.   :  3188   Min.   :  635   Min.   :  518350  
 31012  : 1   ARBON  : 1   1st Qu.:  4748   1st Qu.:10234   1st Qu.: 4777200  
 31013  : 1   ARDIEGE: 1   Median :  9205   Median :15826   Median : 6403225  
 31017  : 1   ARLOS  : 1   Mean   : 21043   Mean   :14478   Mean   : 6717604  
 31019  : 1   ARTIGUE: 1   3rd Qu.: 22392   3rd Qu.:19007   3rd Qu.: 9209718  
 31023  : 1   AULON  : 1   Max.   :358598   Max.   :31161   Max.   :14086469  
 (Other):38   (Other):38                                                      
    Latitude           Pseudo_c  DEP    
 Min.   : 1838600   3101   : 1   31:44  
 1st Qu.:16575363   3102   : 1          
 Median :22660600   3103   : 1          
 Mean   :24264069   3104   : 1          
 3rd Qu.:34440138   3105   : 1          
 Max.   :54508151   3106   : 1          
                    (Other):38          
     CODE       NOM       POP       SUP Longitude  Latitude  Pseudo_c       DEP 
 "factor"  "factor" "numeric" "numeric" "numeric" "numeric"  "factor"  "factor" 
OGR data source with driver: MapInfo File 
Source: "/usr/lib/R/site-library/rgdal/vectors/ps_cant_31.MIF", layer: "ps_cant_31"
with 44 features
It has 8 fields
NOTE: rgdal::checkCRSArgs: no proj_defs.dat in PROJ.4 shared files
Object of class SpatialPolygonsDataFrame
Coordinates:
        min       max
x  0.449114  2.048339
y 42.691957 43.918612
Is projected: FALSE 
proj4string :
[+proj=longlat +ellps=WGS84 +towgs84=0,0,0,-0,-0,-0,0 +no_defs]
Data attributes:
     CODE               NOM                 POP              SUP       
 Length:44          Length:44          Min.   :  3188   Min.   :  635  
 Class :character   Class :character   1st Qu.:  4748   1st Qu.:10234  
 Mode  :character   Mode  :character   Median :  9205   Median :15826  
                                       Mean   : 21043   Mean   :14478  
                                       3rd Qu.: 22392   3rd Qu.:19007  
                                       Max.   :358598   Max.   :31161  
   Longitude           Latitude          Pseudo_c             DEP           
 Min.   :  518350   Min.   : 1838600   Length:44          Length:44         
 1st Qu.: 4777200   1st Qu.:16575363   Class :character   Class :character  
 Median : 6403225   Median :22660600   Mode  :character   Mode  :character  
 Mean   : 6717604   Mean   :24264069                                        
 3rd Qu.: 9209718   3rd Qu.:34440138                                        
 Max.   :14086469   Max.   :54508151                                        
       CODE         NOM         POP         SUP   Longitude    Latitude 
"character" "character"   "numeric"   "numeric"   "numeric"   "numeric" 
   Pseudo_c         DEP 
"character" "character" 
Source: "/usr/lib/R/site-library/rgdal/vectors/Up.tab", layer: "Up"
Driver: MapInfo File; number of rows: 81 
Feature type: wkbPolygon with 2 dimensions
Extent: (598047.2 781652.7) - (619791.4 812944.4)
CRS: +proj=utm +zone=23 +south +ellps=aust_SA +towgs84=-57,1,-41,0,0,0,0 +units=m +no_defs  
Number of fields: 52 
                name type length typeName
1                 ID    0      0  Integer
2  unid_planejamento    4      4   String
3            codigo2    4      4   String
4          descricao    4    100   String
5               Area    2     20     Real
6      densidade_pop    2      0     Real
7          POPULACAO    2      0     Real
8           Idademed    2      8     Real
9           Med_estu    2     11     Real
10          Idosoper    2      8     Real
11           Crianca    2      8     Real
12        THomCor_95    2      0     Real
13        THomCor_96    2      0     Real
14        THomCor_97    2      0     Real
15        THomCor_98    2      0     Real
16        THomCor_99    2      0     Real
17         HomCor_95    2      0     Real
18         HomCor_96    2      0     Real
19         HomCor_97    2      0     Real
20         HomCor_98    2      0     Real
21         HomCor_99    2      0     Real
22       RouboCor_95    2      0     Real
23       RouboCor_96    2      0     Real
24       RouboCor_97    2      0     Real
25       RouboCor_98    2      0     Real
26       RouboCor_99    2      0     Real
27         RMACor_95    2      0     Real
28         RMACor_96    2      0     Real
29         RMACor_97    2      0     Real
30         RMACor_98    2      0     Real
31         RMACor_99    2      0     Real
32       CRpesCor_95    2      0     Real
33       CRpesCor_96    2      0     Real
34       CRpesCor_97    2      0     Real
35       CRpesCor_98    2      0     Real
36       CRpesCor_99    2      0     Real
37       PatriCor_95    2      0     Real
38       PatriCor_96    2      0     Real
39       PatriCor_97    2      0     Real
40       PatriCor_98    2      0     Real
41       PatriCor_99    2      0     Real
42             RENDA    2      0     Real
43            IndIFU    2      0     Real
44            IndASU    2      0     Real
45       HomTent9599    2      0     Real
46           Hom9599    2      0     Real
47          Roub9599    2      0     Real
48           RMA9599    2      0     Real
49         RMA9599_2    2      0     Real
50         CRpes9599    2      0     Real
51         Patri9599    2      0     Real
52          PERAREAC    2      0     Real
OGR data source with driver: MapInfo File 
Source: "/usr/lib/R/site-library/rgdal/vectors/Up.tab", layer: "Up"
with 81 features
It has 52 fields
NOTE: rgdal::checkCRSArgs: no proj_defs.dat in PROJ.4 shared files
Object of class SpatialPolygonsDataFrame
Coordinates:
       min      max
x 598047.2 619791.4
y 781652.7 812944.4
Is projected: TRUE 
proj4string :
[+proj=utm +zone=23 +south +ellps=aust_SA +towgs84=-57,1,-41,0,0,0,0
+units=m +no_defs]
Data attributes:
       ID     unid_planejamento    codigo2                   descricao 
 Min.   : 1   BA01   : 1        1801   : 1   ABILIO MACHADO       : 1  
 1st Qu.:21   BA03   : 1        1802   : 1   ANCHIETA/SION        : 1  
 Median :41   BA04   : 1        1803   : 1   ANTONIO CARLOS       : 1  
 Mean   :41   BA05   : 1        1804   : 1   BAIRRO DAS INDUSTRIAS: 1  
 3rd Qu.:61   BA06   : 1        1805   : 1   BALEIA               : 1  
 Max.   :81   BA07   : 1        1806   : 1   BARRAGEM             : 1  
              (Other):75        (Other):75   (Other)              :75  
      Area       densidade_pop     POPULACAO        Idademed    
 Min.   :0.078   Min.   :    0   Min.   :    0   Min.   : 0.00  
 1st Qu.:0.827   1st Qu.:10075   1st Qu.:10194   1st Qu.:26.03  
 Median :1.477   Median :21796   Median :23208   Median :27.68  
 Mean   :1.566   Mean   :21522   Mean   :25819   Mean   :28.30  
 3rd Qu.:2.161   3rd Qu.:26710   3rd Qu.:39991   3rd Qu.:30.92  
 Max.   :5.912   Max.   :84872   Max.   :69631   Max.   :39.81  
                                                                
    Med_estu         Idosoper         Crianca        THomCor_95    
 Min.   : 0.000   Min.   : 0.000   Min.   : 0.00   Min.   : 10.76  
 1st Qu.: 6.240   1st Qu.: 3.280   1st Qu.:19.22   1st Qu.: 30.67  
 Median : 7.680   Median : 4.140   Median :23.12   Median : 44.05  
 Mean   : 8.191   Mean   : 5.204   Mean   :22.44   Mean   : 56.20  
 3rd Qu.:10.180   3rd Qu.: 6.580   3rd Qu.:25.67   3rd Qu.: 61.41  
 Max.   :14.390   Max.   :17.060   Max.   :35.87   Max.   :302.07  
                                                                   
   THomCor_96        THomCor_97        THomCor_98        THomCor_99     
 Min.   :  6.666   Min.   :  8.014   Min.   :  7.664   Min.   :  4.718  
 1st Qu.: 17.531   1st Qu.: 21.695   1st Qu.: 36.839   1st Qu.: 21.568  
 Median : 29.530   Median : 30.585   Median : 51.769   Median : 33.460  
 Mean   : 35.833   Mean   : 43.619   Mean   : 66.024   Mean   : 43.566  
 3rd Qu.: 40.434   3rd Qu.: 52.297   3rd Qu.: 76.805   3rd Qu.: 48.819  
 Max.   :204.495   Max.   :203.096   Max.   :270.214   Max.   :303.179  
                                                                        
   HomCor_95        HomCor_96        HomCor_97        HomCor_98     
 Min.   : 2.661   Min.   : 1.325   Min.   : 1.830   Min.   : 3.516  
 1st Qu.: 4.388   1st Qu.: 3.667   1st Qu.: 4.183   1st Qu.: 8.403  
 Median : 5.529   Median : 5.910   Median : 5.699   Median :11.136  
 Mean   : 6.183   Mean   : 6.868   Mean   : 6.861   Mean   :13.718  
 3rd Qu.: 6.961   3rd Qu.: 8.363   3rd Qu.: 7.559   3rd Qu.:15.192  
 Max.   :14.883   Max.   :24.932   Max.   :28.544   Max.   :50.005  
                                                                    
   HomCor_99       RouboCor_95        RouboCor_96        RouboCor_97      
 Min.   : 1.573   Min.   :   0.448   Min.   :   0.419   Min.   :   0.421  
 1st Qu.: 4.735   1st Qu.:  17.262   1st Qu.:  16.796   1st Qu.:  21.774  
 Median : 8.003   Median :  32.894   Median :  33.230   Median :  48.739  
 Mean   :10.923   Mean   : 109.019   Mean   : 116.590   Mean   : 149.269  
 3rd Qu.:13.558   3rd Qu.:  64.300   3rd Qu.:  70.542   3rd Qu.: 128.858  
 Max.   :48.515   Max.   :3522.697   Max.   :3750.638   Max.   :4018.214  
                                                                          
  RouboCor_98         RouboCor_99         RMACor_95         RMACor_96      
 Min.   :    0.135   Min.   :   1.304   Min.   :  12.19   Min.   :  13.10  
 1st Qu.:   25.430   1st Qu.:  34.056   1st Qu.:  44.62   1st Qu.:  66.37  
 Median :   85.449   Median :  70.152   Median :  81.87   Median : 101.54  
 Mean   :  797.151   Mean   : 192.016   Mean   : 118.86   Mean   : 140.81  
 3rd Qu.:  276.336   3rd Qu.: 135.308   3rd Qu.: 145.88   3rd Qu.: 173.36  
 Max.   :23590.153   Max.   :6039.410   Max.   :1163.74   Max.   :1025.96  
                                                                           
   RMACor_97         RMACor_98         RMACor_99        CRpesCor_95    
 Min.   :  29.87   Min.   :  46.06   Min.   :  37.27   Min.   : 11.08  
 1st Qu.: 102.07   1st Qu.: 149.83   1st Qu.: 170.47   1st Qu.: 32.13  
 Median : 162.84   Median : 238.22   Median : 275.80   Median : 47.09  
 Mean   : 207.57   Mean   : 277.97   Mean   : 346.77   Mean   : 62.63  
 3rd Qu.: 242.06   3rd Qu.: 328.98   3rd Qu.: 399.75   3rd Qu.: 68.42  
 Max.   :1390.62   Max.   :1746.30   Max.   :3116.97   Max.   :320.40  
                                                                       
  CRpesCor_96       CRpesCor_97       CRpesCor_98       CRpesCor_99     
 Min.   :  7.327   Min.   :  8.834   Min.   :  7.939   Min.   :  5.102  
 1st Qu.: 20.669   1st Qu.: 25.715   1st Qu.: 42.795   1st Qu.: 26.299  
 Median : 34.913   Median : 37.315   Median : 64.888   Median : 39.858  
 Mean   : 43.303   Mean   : 51.280   Mean   : 80.662   Mean   : 54.977  
 3rd Qu.: 51.315   3rd Qu.: 58.731   3rd Qu.: 87.589   3rd Qu.: 64.697  
 Max.   :234.966   Max.   :246.821   Max.   :323.035   Max.   :322.595  
                                                                        
  PatriCor_95        PatriCor_96        PatriCor_97       PatriCor_98      
 Min.   :   4.388   Min.   :   4.903   Min.   :  14.04   Min.   :   61.46  
 1st Qu.:  58.596   1st Qu.:  71.210   1st Qu.: 130.01   1st Qu.:  214.91  
 Median : 110.455   Median : 135.437   Median : 228.21   Median :  363.27  
 Mean   : 227.274   Mean   : 256.954   Mean   : 361.39   Mean   :  939.99  
 3rd Qu.: 204.408   3rd Qu.: 249.147   3rd Qu.: 367.02   3rd Qu.:  680.89  
 Max.   :4722.555   Max.   :4809.846   Max.   :5449.27   Max.   :14505.94  
                                                                           
  PatriCor_99          RENDA            IndIFU             IndASU        
 Min.   :  12.28   Min.   : 104.7   Min.   :-2.61604   Min.   :-0.12455  
 1st Qu.: 205.34   1st Qu.: 206.5   1st Qu.:-0.75862   1st Qu.:-0.07015  
 Median : 350.86   Median : 291.6   Median :-0.07413   Median : 0.04219  
 Mean   : 554.31   Mean   : 516.7   Mean   :-0.30299   Mean   : 0.33239  
 3rd Qu.: 552.92   3rd Qu.: 591.3   3rd Qu.: 0.19614   3rd Qu.: 0.35495  
 Max.   :9205.57   Max.   :3994.5   Max.   : 0.61122   Max.   : 5.29971  
                                                                         
  HomTent9599         Hom9599          Roub9599           RMA9599       
 Min.   :  9.842   Min.   : 1.332   Min.   :   1.327   Min.   :  14.35  
 1st Qu.: 23.818   1st Qu.: 5.014   1st Qu.:  33.661   1st Qu.: 112.86  
 Median : 40.110   Median : 7.213   Median :  75.000   Median : 176.85  
 Mean   : 49.598   Mean   : 9.348   Mean   : 306.451   Mean   : 223.02  
 3rd Qu.: 58.499   3rd Qu.:11.752   3rd Qu.: 169.146   3rd Qu.: 272.95  
 Max.   :285.429   Max.   :37.327   Max.   :6819.439   Max.   :1708.28  
                                                                        
   RMA9599_2         CRpes9599         Patri9599          PERAREAC      
 Min.   :  14.35   Min.   :  9.933   Min.   :  46.16   Min.   : 0.0000  
 1st Qu.: 112.86   1st Qu.: 28.946   1st Qu.: 165.24   1st Qu.: 0.1419  
 Median : 176.85   Median : 44.519   Median : 243.87   Median : 0.5484  
 Mean   : 223.02   Mean   : 59.188   Mean   : 528.77   Mean   : 1.1358  
 3rd Qu.: 272.95   3rd Qu.: 66.983   3rd Qu.: 413.41   3rd Qu.: 1.3150  
 Max.   :1708.28   Max.   :317.845   Max.   :7271.53   Max.   :17.5547  
                                                                        
OGR data source with driver: GPX 
Source: "/usr/lib/R/site-library/rgdal/vectors/test_trk2.gpx", layer: "tracks"
with 2 features
It has 12 fields
NOTE: rgdal::checkCRSArgs: no proj_defs.dat in PROJ.4 shared files
Object of class SpatialLinesDataFrame
Coordinates:
        min       max
x 170.17174 170.71714
y -46.03618 -45.79159
Is projected: FALSE 
proj4string :
[+proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0]
Data attributes:
               name     cmt      desc     src    link1_href link1_text
 15-NOV-08TWEE #2:1   NA's:2   NA's:2   NA's:2   NA's:2     NA's:2    
 ACTIVE LOG      :1                                                   
                                                                      
                                                                      
                                                                      
                                                                      
 link1_type link2_href link2_text link2_type     number      type  
 NA's:2     NA's:2     NA's:2     NA's:2     Min.   :1.0   NA's:2  
                                             1st Qu.:1.5           
                                             Median :2.0           
                                             Mean   :2.0           
                                             3rd Qu.:2.5           
                                             Max.   :3.0           
OGR data source with driver: GPX 
Source: "/usr/lib/R/site-library/rgdal/vectors/test_trk2.gpx", layer: "track_points"
with 27 features
It has 28 fields
NOTE: rgdal::checkCRSArgs: no proj_defs.dat in PROJ.4 shared files
Object of class SpatialPointsDataFrame
Coordinates:
                min       max
coords.x1 170.17174 170.71714
coords.x2 -46.03618 -45.79159
Is projected: FALSE 
proj4string :
[+proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0]
Number of points: 27
Data attributes:
   track_fid       track_seg_id track_seg_point_id      ele        
 Min.   :0.0000   Min.   :0     Min.   : 0.00      Min.   : 2.060  
 1st Qu.:0.0000   1st Qu.:0     1st Qu.: 3.00      1st Qu.: 3.502  
 Median :0.0000   Median :0     Median : 6.00      Median : 5.425  
 Mean   :0.2963   Mean   :0     Mean   : 7.37      Mean   : 7.205  
 3rd Qu.:1.0000   3rd Qu.:0     3rd Qu.:11.50      3rd Qu.: 9.510  
 Max.   :1.0000   Max.   :0     Max.   :18.00      Max.   :34.745  
                                                                   
                     time        magvar     geoidheight    name      cmt    
 2009/04/27 02:36:23+00: 1   Min.   : NA   Min.   : NA   NA's:27   NA's:27  
 2009/04/27 02:37:04+00: 1   1st Qu.: NA   1st Qu.: NA                      
 2009/04/27 02:37:34+00: 1   Median : NA   Median : NA                      
 2009/04/27 02:38:01+00: 1   Mean   :NaN   Mean   :NaN                      
 2009/04/27 02:38:40+00: 1   3rd Qu.: NA   3rd Qu.: NA                      
 (Other)               : 3   Max.   : NA   Max.   : NA                      
 NA's                  :19   NA's   :27    NA's   :27                       
   desc      src     link1_href link1_text link1_type link2_href link2_text
 NA's:27   NA's:27   NA's:27    NA's:27    NA's:27    NA's:27    NA's:27   
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
 link2_type   sym       type      fix          sat           hdop    
 NA's:27    NA's:27   NA's:27   NA's:27   Min.   : NA   Min.   : NA  
                                          1st Qu.: NA   1st Qu.: NA  
                                          Median : NA   Median : NA  
                                          Mean   :NaN   Mean   :NaN  
                                          3rd Qu.: NA   3rd Qu.: NA  
                                          Max.   : NA   Max.   : NA  
                                          NA's   :27    NA's   :27   
      vdop          pdop     ageofdgpsdata     dgpsid      gpxx_Depth    
 Min.   : NA   Min.   : NA   Min.   : NA   Min.   : NA   Min.   : 3.783  
 1st Qu.: NA   1st Qu.: NA   1st Qu.: NA   1st Qu.: NA   1st Qu.: 7.611  
 Median : NA   Median : NA   Median : NA   Median : NA   Median : 8.725  
 Mean   :NaN   Mean   :NaN   Mean   :NaN   Mean   :NaN   Mean   :17.811  
 3rd Qu.: NA   3rd Qu.: NA   3rd Qu.: NA   3rd Qu.: NA   3rd Qu.:22.174  
 Max.   : NA   Max.   : NA   Max.   : NA   Max.   : NA   Max.   :49.912  
 NA's   :27    NA's   :27    NA's   :27    NA's   :27    NA's   :16      
 gpxx_Temperature
 Min.   : 7.545  
 1st Qu.: 7.858  
 Median : 8.216  
 Mean   : 9.147  
 3rd Qu.: 8.620  
 Max.   :12.739  
 NA's   :10      
Source: "/usr/lib/R/site-library/rgdal/vectors", layer: "trin_inca_pl03"
Driver: ESRI Shapefile; number of rows: 3 
Feature type: wkbPolygon with 2 dimensions
Extent: (-87.09465 5.499074) - (-79.01339 10.11906)
Null geometry IDs: 3 
LDID: 87 
Number of fields: 12 
         name type length typeName
1   ENGL_NAME    4     50   String
2    SCI_NAME    4     50   String
3   AUTHORITY    4     50   String
4      FAMILY    4     50   String
5    PRESENCE    0      2  Integer
6      ORIGIN    0      2  Integer
7    COMPILER    4     50   String
8       SCALE    4     50   String
9     TAX_COM    4    250   String
10   DIST_COM    4    250   String
11 REFERENCES    4    250   String
12  REVIEWERS    4    250   String
OGR data source with driver: ESRI Shapefile 
Source: "/usr/lib/R/site-library/rgdal/vectors", layer: "trin_inca_pl03"
with 3 features
It has 12 fields
Warning message:
In readOGR(dsn = dsn, layer = "trin_inca_pl03") :
  Dropping null geometries: 3
Object of class SpatialPolygonsDataFrame
Coordinates:
         min       max
x -87.094650 -79.01339
y   5.499074  10.11906
Is projected: NA 
proj4string : [NA]
Data attributes:
             ENGL_NAME          SCI_NAME          AUTHORITY          FAMILY 
 Wandering Tattler:2   Tringa incana:2   (Gmelin, 1789):2   Scolopacidae:2  
                                                                            
                                                                            
                                                                            
                                                                            
                                                                            
    PRESENCE     ORIGIN               COMPILER  SCALE  
 Min.   :1   Min.   :3   NatureServe, 2002:2   NA's:2  
 1st Qu.:1   1st Qu.:3                                 
 Median :1   Median :3                                 
 Mean   :1   Mean   :3                                 
 3rd Qu.:1   3rd Qu.:3                                 
 Max.   :1   Max.   :3                                 
                                       TAX_COM          DIST_COM
 Formerly placed in the genus Heteroscelus.:2   Cocos Island:1  
                                                NA's        :1  
                                                                
                                                                
                                                                
                                                                
                                                         REFERENCES
 Sibley, 2000                                                 :0   
 Stiles and Skutch, 1989; Ridgely and Gwynne, 1989; Zook, 2002:1   
 Stiles and Skutch, 1989; Zook, 2002                          :1   
                                                                   
                                                                   
                                                                   
          REVIEWERS
 B. Young, 2002:2  
                   
                   
                   
                   
                   
Error in ogrInfo(dsn, "PacoursIKA2") : 
  Multiple incompatible geometries: wkbPoint: 4; wkbLineString: 1
NOTE: keeping only 4 wkbPoint of 5 features
    note that extent applies to all features
Source: "/usr/lib/R/site-library/rgdal/vectors/PacoursIKA2.TAB", layer: "PacoursIKA2"
Driver: MapInfo File; number of rows: 5 
  selected geometry type: wkbPoint with 4 rows
Feature type: wkbPoint with 2 dimensions
Extent: (899389.2 2221931) - (903680.7 2227011)
CRS: +proj=lcc +lat_1=45.898918964419 +lat_2=47.696014502038 +lat_0=46.8 +lon_0=0 +x_0=600000 +y_0=2200000 +a=6378249.2 +b=6356515.000000472 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs  
Number of fields: 2 
         name type length typeName
1 NomParcours    4     25   String
2    Longueur    4     25   String
OGR data source with driver: MapInfo File 
Source: "/usr/lib/R/site-library/rgdal/vectors/PacoursIKA2.TAB", layer: "PacoursIKA2"
with 5 features;
Selected wkbLineString feature type, with 1 rows
It has 2 fields
NOTE: keeping only 1 wkbLineString of 5 features

NOTE: rgdal::checkCRSArgs: no proj_defs.dat in PROJ.4 shared files
OGR data source with driver: MapInfo File 
Source: "/usr/lib/R/site-library/rgdal/vectors/PacoursIKA2.TAB", layer: "PacoursIKA2"
with 5 features;
Selected wkbPoint feature type, with 4 rows
It has 2 fields
NOTE: keeping only 4 wkbPoint of 5 features

NOTE: rgdal::checkCRSArgs: no proj_defs.dat in PROJ.4 shared files
Source: "test64.vrt", layer: "test64"
Driver: VRT; number of rows: 1 
Feature type: wkbPoint with 2 dimensions
Extent: (0 0) - (0 0)
CRS: +proj=longlat +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +no_defs  
Number of fields: 4 
       name type length typeName
1 Longitude    0      0  Integer
2  Latitude    0      0  Integer
3        id    0      0  Integer
4       val    4      0   String
NOTE: rgdal::checkCRSArgs: no proj_defs.dat in PROJ.4 shared files
 Factor w/ 1 level "987654321000": 1
NOTE: rgdal::checkCRSArgs: no proj_defs.dat in PROJ.4 shared files
 Factor w/ 1 level "987654321000": 1
NOTE: rgdal::checkCRSArgs: no proj_defs.dat in PROJ.4 shared files
 Factor w/ 1 level "987654321000": 1
NOTE: rgdal::checkCRSArgs: no proj_defs.dat in PROJ.4 shared files
 chr "987654321000"

rgdal documentation built on Sept. 19, 2017, 1:04 a.m.