Dear list members,

I am trying to read a shapefile in R using 3 different methods and all of
them failed:

> ai_biotica <- readOGR(dsn="C:/ProyectosRespacial/ICE/SIG_Biotica_PHED",
layer="AI_BIOTICA_010411_CRTM05")
Error in ogrInfo(dsn = dsn, layer = layer, input_field_name_encoding =
input_field_name_encoding) :

        GDAL Error 4: Unable to open
C:/ProyectosRespacial/ICE/SIG_Biotica_PHED\carretera_interamericana_CRTM05.shx
or
C:/ProyectosRespacial/ICE/SIG_Biotica_PHED\carretera_interamericana_CRTM05.SHX.

> nc1 <-
readShapePoly("C:/ProyectosRespacial/ICE/Shapefiles/AI_BIOTICA_010411_CRTM05.shp",
proj4string=CRS("+proj=tmerc +lon_0=-84 +lat_0=0 +x_0=500000 +k=0.9999
+datum=WGS84"))
Error in read.dbf(filen1) : unable to open DBF file


> ai_biotica <- readShapeSpatial("AI_BIOTICA_010411_CRTM05")
Error in read.dbf(filen1) : unable to open DBF file

I will appreciate any input on the problem.

Best,

Manuel Spínola



-- 
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspinola@una.ac.cr
mspinola10@gmail.com
Teléfono: (506) 2277-3598
Fax: (506) 2237-7036
Personal website: Lobito de río <https://sites.google.com/site/lobitoderio/>
Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/>

	[[alternative HTML version deleted]]

