Closed TillF closed 6 years ago
Always use the grass-stats list for user questions. This is not the right place. You are using 32-bit Windows GRASS, it may well be that drivers are not supported on that very legacy platform. If you post, you need to provide a replicable example on a platform that others have access to.
I am trying to import a vector from GRASS:
res <- readVECT("basin_t")
and get the following error messages:The vector map "basin_t" does not have the field "oid", but "cat", "value" and "label". When reading vectors that are connected to dbf-tables, everything runs smoothly. However, basin_t is connected to a sqlite-table. I tried to explicitly connect to the sqlite-db by executing
execGRASS("db.connect", driver="sqlite", database="wasweissich")
The error above stays the same. What am I doing wrong?Matrix products: default
locale: [1] LC_COLLATE=German_Germany.1252 LC_CTYPE=German_Germany.1252
[3] LC_MONETARY=German_Germany.1252 LC_NUMERIC=C
[5] LC_TIME=German_Germany.1252
attached base packages: [1] stats graphics grDevices utils datasets methods base
other attached packages: [1] lumpR_2.4.11 rgeos_0.3-28 rgdal_1.3-2 RODBC_1.3-15 foreach_1.4.4
[6] xts_0.10-2 zoo_1.8-1 maptools_0.9-2 cluster_2.0.7-1 raster_2.6-7
[11] rgrass7_0.1-10 XML_3.98-1.11 sp_1.2-7
loaded via a namespace (and not attached): [1] Rcpp_0.12.16 lattice_0.20-35 codetools_0.2-15 grid_3.5.0 iterators_1.0.9 [6] tools_3.5.0 foreign_0.8-70 compiler_3.5.0