Hello all,
Are SQLite and GML drivers disabled/broken in readVECT? I only get
driver="ESRI Shapefile" to work, but in some cases with a lot of warnings.
Here an example with NC location:
grass73svn grassdata/nc_spm_08_grass7/PERMANENT/ --text
...
GRASS 7.3.svn (nc_spm_08_grass7):~ > R
...
>library(rgrass7)
...
> bla <- readVECT("firestations", driver="SQLite")
Error: driver %in% candDrivers is not TRUE
> bla <- readVECT("firestations", driver="GML")
Error: driver %in% candDrivers is not TRUE
> bla <- readVECT("firestations", driver="ESRI Shapefile")
Exporting 71 features...
100%
v.out.ogr complete. 71 features (Point type) written to <firestat>
(ESRI_Shapefile format).
OGR data source with driver: ESRI Shapefile
Source: "/home/veroandreo/grassdata/nc_spm_08_grass7/PERMANENT/.tmp/
ipv6.dynamic.ziggo.nl", layer: "firestat"
with 71 features
It has 22 fields
For some vectors, I get the following warnings (loss of data apparently):
> bla2<-readVECT("census_wake2000")
Exporting 105 areas (may take some time)...
Warning 1: Value 120426752 of field AREA of feature 23 not successfully
written. Possibly due to too larger number with respect to field width
Warning 1: Value 108540592 of field AREA of feature 24 not successfully
written. Possibly due to too larger number with respect to field width
[...]
Warning 1: Value 439922656 of field AREA of feature 102 not successfully
written. Possibly due to too larger number with respect to field width
Warning 1: Value 678758336 of field AREA of feature 103 not successfully
written. Possibly due to too larger number with respect to field width
100%
Warning 1: Value 439045472 of field AREA of feature 104 not successfully
written. Possibly due to too larger number with respect to field width
v.out.ogr complete. 105 features (Polygon type) written to <census_w>
(ESRI_Shapefile format).
OGR data source with driver: ESRI Shapefile
Source: "/home/veroandreo/grassdata/nc_spm_08_grass7/PERMANENT/.tmp/
ipv6.dynamic.ziggo.nl", layer: "census_w"
with 105 features
It has 13 fields
Thanks a lot in advance for any hint
best,
Vero
_______________________________________________
grass-stats mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-stats