caught segfault?!
On Mon, 12 Apr 2010, joel dinis wrote:
Hello Roger,
I did what you sugest, i.e.:
area <- readVECT6("area1", plugin=FALSE)
and it works just fine!
So something is broken in your GRASS/GDAL installation. If you determine what it is (report platform, OS, and how GDAL and GRASS were installed), please post on statgrass, where GRASS developers are also helpers. Roger
Thanks a lot JD On Mon, Apr 12, 2010 at 5:26 PM, Roger Bivand <Roger.Bivand at nhh.no> wrote:
On Mon, 12 Apr 2010, joel dinis wrote: Hello to all,
I'm currently using R-GRASS GIS
interface and I get an error when I'm trying
to read a vector through readVECT6:
area <- readVECT6("area1")
*** caught segfault *** address (nil), cause 'memory not mapped'
Which platform are you using?
Can you do v.out.ogr on area1, and try to recreate the error reading
directly reading with readOGR?
Do you have the GRASS GDAL plugin installed (I believe that you do as the
traceback (thanks for including it!) has layer="1"), and if so does running:
area <- readVECT6("area1", plugin=FALSE)
make a difference? If it makes a difference, there is a problem with the
GRASS GDAL plugin. Please report back on this list, or the lower-volume
statgrass list.
Hope this helps,
Roger
Traceback:
1: .Call("ogrInfo", as.character(dsn), as.character(layer), PACKAGE =
"rgdal")
2: ogrInfo(dsn = dsn, layer = layer, input_field_name_encoding =
input_field_name_encoding)
3: readOGR(dsn, layer = "1", verbose = !ignore.stderr, pointDropZ =
pointDropZ)
4: readVECT6("area1")
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Selection: 1
aborting ...
Can anyone tell me why this happen,
and how can I solve this?
Thanks
JD
[[alternative HTML version deleted]]
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo
-- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43 e-mail: Roger.Bivand at nhh.no
Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43 e-mail: Roger.Bivand at nhh.no