[Qgis-user] Sextante and R not loading shp in qgis_dev

gvSIGMac gvsig.mac at gmail.com
Sun Dec 16 12:22:32 PST 2012


In the case I'm checking the correct version, issue 6834 have been already closed, the issue is still in master in Mac.
_______________________
Master version
'QGIS_1-9-0_2012-12-16_cdaebd1' ZIP Archive Checksums

MD5(qgis-mac-nightly.zip)= 6dc68fec9c0339745f42fe59aeede052
SHA1(qgis-mac-nightly.zip)= fe5ba1cb736c29882dfc455571db50ac60a447ef

Latest commit to master branch: cdaebd1
'More GRASS direct functions'
by Radim Blazek, 5 hours ago

M    src/providers/grass/CMakeLists.txt
M    src/providers/grass/qgsgrassgislib.cpp
____________________________________
R execution console output
R execution console output

R version 2.15.2 (2012-10-26) -- "Trick or Treat"
Copyright (C) 2012 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: i386-apple-darwin9.8.0/i386 (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

library("rgdal")
Loading required package: sp
rgdal: (SVN revision 360)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 1.9.0, released 2011/12/29
Path to GDAL shared files: /Library/Frameworks/R.framework/Versions/2.15/Resources/library/rgdal/gdal
Loaded PROJ.4 runtime: Rel. 4.8.0, 6 March 2012, [PJ_VERSION: 480]
Path to PROJ.4 shared files: /Library/Frameworks/R.framework/Versions/2.15/Resources/library/rgdal/proj
layer = readOGR("/Users/adiez/sextante/tempdata/1355687718.434.shp",layer="1355687718.434")
Error in ogrInfo(dsn = dsn, layer = layer, encoding = encoding) :
Multiple # dimensions:
Calls: readOGR -> ogrInfo
Execution halted

________________________________
Agustin

On 06/12/2012, at 13:06, Filipe Dias <filipesdias at gmail.com> wrote:

> Hi
> 
> R tools on Sextante are not working. I already opened a bug report.
> 
> http://hub.qgis.org/issues/6834
> 
> On Thu, Dec 6, 2012 at 11:26 AM, Agustin Diez-Castillo <gvsig.mac at gmail.com> wrote:
> Hi,
> Working with several commands that used to work (like F function- distance from a point to nearest event)
> Sextante attempts to read at the wrong location the points layer because it puts the file in both the dsn and the layer call 
> points = readOGR("/Users/adiez/sextante/tempdata/sextanteaddautoincrementalfield12",layer="sextanteaddautoincrementalfield12")
> instead of
> points = readOGR("/Users/adiez/sextante/tempdata/",layer="sextanteaddautoincrementalfield12")
> that it's what works in the R console
> QGIS version
> 1.9.0-Master
> QGIS code revision
> 98dc557
> Compiled against Qt
> 4.8.3
> Running against Qt
> 4.8.3
> Compiled against GDAL/OGR
> 1.9.1
> Running against GDAL/OGR
> 1.9.2
> GEOS Version
> 3.3.5
> PostgreSQL Client Version
> 9.1.6
> SpatiaLite Version
> 3.0.1
> QWT Version
> 6.0.1
> PROJ.4 Version
> 480
> QScintilla2 Version
> 2.6.2
> This copy of QGIS writes debugging output.
> Log
> -------
> R execution console output
> 
> R version 2.15.2 (2012-10-26) -- "Trick or Treat"
> Copyright (C) 2012 The R Foundation for Statistical Computing
> ISBN 3-900051-07-0
> Platform: i386-apple-darwin9.8.0/i386 (32-bit)
> 
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type 'license()' or 'licence()' for distribution details.
> 
> Natural language support but running in an English locale
> 
> R is a collaborative project with many contributors.
> Type 'contributors()' for more information and
> 'citation()' on how to cite R or R packages in publications.
> 
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for an HTML browser interface to help.
> Type 'q()' to quit R.
> 
> library("rgdal")
> Loading required package: sp
> rgdal: (SVN revision 360)
> Geospatial Data Abstraction Library extensions to R successfully loaded
> Loaded GDAL runtime: GDAL 1.9.0, released 2011/12/29
> Path to GDAL shared files: /Library/Frameworks/R.framework/Versions/2.15/Resources/library/rgdal/gdal
> Loaded PROJ.4 runtime: Rel. 4.8.0, 6 March 2012, [PJ_VERSION: 480]
> Path to PROJ.4 shared files: /Library/Frameworks/R.framework/Versions/2.15/Resources/library/rgdal/proj
> points = readOGR("/Users/adiez/sextante/tempdata/sextanteaddautoincrementalfield12.shp",layer="sextanteaddautoincrementalfield12")
> Error in file(paste(dsn, .Platform$file.sep, layer, ".dbf", sep = ""), :
> cannot open the connection
> Calls: readOGR -> ogrInfo -> file
> In addition: Warning message:
> In file(paste(dsn, .Platform$file.sep, layer, ".dbf", sep = ""), :
> cannot open file '/Users/adiez/sextante/tempdata/sextanteaddautoincrementalfield12.shp/sextanteaddautoincrementalfield12.dbf': Not a directory
> Execution halted
> 
> 
> 
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20121216/6570adb2/attachment.html>


More information about the Qgis-user mailing list