[GRASS-stats] rgrass7 - SQLite and GML drivers not working for readVECT

Helmut Kudrnovsky hellik at web.de
Tue Oct 10 12:32:23 PDT 2017


>> 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

testing by:

v.out.ogr input=census_wake2000 at PERMANENT
output=D:\wd\test\slkdf\census_wake2000.sqlite format=SQLite

D:\wd\test\slkdf>ogrinfo census_wake2000.sqlite
INFO: Open of `census_wake2000.sqlite'
      using driver `SQLite' successful.
1: census_wake2000 (Polygon)

D:\wd\test\slkdf>ogr2ogr test.shp census_wake2000.sqlite
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

the same warning as in readVect.

OTOH loading the test.shp in QGIS, it seems that the area value is
successfully written into the shapefile dbf attribute table. maybe worth to
ask in the GDAL ML for clarification for these warnings.



-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Stats-f4049448.html


More information about the grass-stats mailing list