[GRASS-user] R-GDAL incompatible libraries
Kim Besson
kimbesson1981 at gmail.com
Tue Mar 2 12:53:30 EST 2010
Following Leo's suggestion I installed GDAL 1.6.3 and I tried again:
> library(spgrass6)
Loading required package: sp
Loading required package: rgdal
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 1.6.3, released 2009/11/19
Path to GDAL shared files: /usr/share/gdal16
Loaded PROJ.4 runtime: Rel. 4.6.1, 21 August 2008
Path to PROJ.4 shared files: (autodetected)
Loading required package: XML
GRASS GIS interface loaded with GRASS version: 6.4.0svn
and location: nc_spm_08
(seems OK?)
> precip <- readVECT6("precip_30ynormals", ignore.stderr)
OGR data source with driver: GRASS
Source: "/mnt/GIS/nc_spm_08/PERMANENT/vector/precip_30ynormals/head", layer:
"1"
with 136 features and 18 fields
Feature type: wkbPoint with 3 dimensions
(seems OK?)
When I did
> plot(nc_state, axes=TRUE)
> plot(precip30n, add=TRUE, lwd=2, col="brown")
Error: object 'precip30n' not found
Error in plot(precip30n, add = TRUE, lwd = 2, col = "brown") :
error in evaluating the argument 'x' in selecting a method for function
'plot'
THe last plot gave that error
But would you say that it seems to be working?
Thank you all for your help and support
Thanks
Kim
Question: Is there any known problem with GRASS and GDAL1.6.3?
2010/3/2 Kim Besson <kimbesson1981 at gmail.com>
>
> Ok I reinstalled rgdal
> R CMD INSTALL rgdal
>
> And then:
> R
> library(spgrass6)
>
> Output:
> Loading required package: sp
> Loading required package: rgdal
> Geospatial Data Abstraction Library extensions to R successfully loaded
> Loaded GDAL runtime: GDAL 1.5.4, released 2009/01/07
> Path to GDAL shared files: /usr/share/gdal15
> Loaded PROJ.4 runtime: Rel. 4.6.1, 21 August 2008
> Path to PROJ.4 shared files: (autodetected)
> Loading required package: XML
> GRASS GIS interface loaded with GRASS version: 6.4.0svn
> and location: North-Carolina
>
> precip30 <- readVECT6("precip_30ynormals", ignore.stderr=TRUE)
> ERROR: Incompatible library version for module. You need to rebuild GRASS
> or untangle multiple installations.
>
> Same error.
> I'm running GRASSsvn6.4.0, from latest week, in a Linux Machine with:
> rgdal_0.6-10
> spgrass6_0.6-15.
> R version 2.9.2 (2009-08-24)
>
> Any idea of what might not be compatible?
>
> Thank you
> Kim
>
> 2010/3/2 Markus Neteler <neteler at osgeo.org>
>
>> 2010/3/2 Kim Besson <kimbesson1981 at gmail.com>:
>>
>> > Ok I have just installed latest GRASS snapshot and I got the following
>> error
>> >> precip30n <- readVECT6("precip_30ynormals", ignore.stderr=TRUE)
>> > ERROR: Incompatible library version for module. You need to rebuild
>> GRASS
>> > or untangle multiple installations.
>> > What I would like to know is the versions of R and spgrass6 that I
>> should
>> > install on my system in order to not get this errors?
>>
>> You also need to update the GRASS-GDAL plugin.
>>
>> Markus
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100302/9db0c4f2/attachment.html
More information about the grass-user
mailing list