[R-sig-Geo] reading a feature class

Frede Aakmann Tøgersen frtog at vestas.com
Wed Jul 9 10:47:57 CEST 2014


Hi Joseph

If you email me or otherwise make it available to me and/or the list then I'll have a look at it.

Br. Frede


Sendt fra Samsung mobil


-------- Oprindelig meddelelse --------
Fra: JOSEPH BECHARA
Dato:09/07/2014 08.58 (GMT+01:00)
Til: Frede Aakmann Tøgersen ,r-sig-geo at r-project.org
Emne: RE: [R-sig-Geo] reading a feature class

Dear Frede,

Thanks for your reply.

This is the function that is not working
bb<-readOGR(dsn="C:/sophie/Allpoints/All_poly.gdb",layer="All_lays1")

All lays is a feature class in a file gdb(new) .
The file is not corrupted I’m able to open it on ARCIS and I’m doing the zonal statisctics there.
I opened the rgdal library and I’m using R studio
Rgdal version 0.8-16

JOSEPH BECHARA
Wildfire Management Component Coordinator
Ashrafieh 1020 Building, 8th floor, Mathaf, Beirut, Lebanon
Tel.: +961 (1) 426630-1-2
Fax: +961 (1) 426631
Mail: jbechara at lri-lb.org<mailto:jbejjani at lri-lb.org>
www.lri-lb.org<http://www.lri-lb.org/>
[cid:image001.jpg at 01CF9B5A.A7B80290]

From: Frede Aakmann Tøgersen [mailto:frtog at vestas.com]
Sent: Tuesday, July 08, 2014 6:13 PM
To: JOSEPH BECHARA; r-sig-geo at r-project.org
Subject: RE: [R-sig-Geo] reading a feature class

Hi

I don't know the gdb file format. Is it in raster or vector format?

Since you used readOGR you probably did have a look at

http://www.gdal.org/ogr_formats.html

before asking.

So there, two ESRI formats are mentioned: personal gdb (old) and file gdb (new?).

Do you what kind of gdb file you have?

Why you can't read the file could be because of several problems.

Is the file corrupted?

What is your OS?

What version of R/rgdal?

Does the OS/R/rgdal combination involves formats for either pgdb or filegdb?

Nobody can help you with that little information you have given us.

Br.

Frede


Sendt fra Samsung mobil


-------- Oprindelig meddelelse --------
Fra: JOSEPH BECHARA
Dato:08/07/2014 16.35 (GMT+01:00)
Til: r-sig-geo at r-project.org<mailto:r-sig-geo at r-project.org>
Emne: [R-sig-Geo] reading a feature class
Dear All,

I ‘m trying ti import a feature class from a gdb to R using readOGR.
Unfortunately it is not working.
Anybody has a suggestion of a function to read it.


JOSEPH BECHARA
Wildfire Management Component Coordinator
Ashrafieh 1020 Building, 8th floor, Mathaf, Beirut, Lebanon
Tel.: +961 (1) 426630-1-2
Fax: +961 (1) 426631
Mail: jbechara at lri-lb.org<mailto:jbejjani at lri-lb.org>
www.lri-lb.org<http://www.lri-lb.org/>
[cid:image001.jpg at 01CF9B5A.A7B80290]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20140709/a86f3ce5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 16370 bytes
Desc: image001.jpg
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20140709/a86f3ce5/attachment.jpg>


More information about the R-sig-Geo mailing list