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

Veronica Andreo veroandreo at gmail.com
Tue Oct 10 12:29:24 PDT 2017


Hi Helli,

2017-10-10 21:24 GMT+02:00 Helmut Kudrnovsky <hellik at web.de>:

> >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
>
> it seems to be a shapefile/(ogr) issue, see:
>
> v.out.ogr input=census_wake2000 at PERMANENT
> output=D:\wd\test\slkdf\census_wake2000.shp format=ESRI_Shapefile
> 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 136831232 of field AREA of feature 26 not
> successfully written. Possibly due to too larger number with
> respect to field width
> Warning 1: Value 133581472 of field AREA of feature 37 not
> successfully written. Possibly due to too larger number with
> respect to field width
> Warning 1: Value 186611808 of field AREA of feature 42 not
> successfully written. Possibly due to too larger number with
> respect to field width
> Warning 1: Value 645046656 of field AREA of feature 43 not
> successfully written. Possibly due to too larger number with
> respect to field width
> Warning 1: Value 550580288 of field AREA of feature 44 not
> successfully written. Possibly due to too larger number with
> respect to field width
>

thanks for testing :)

and yes, precisely because shapefile has that limitation, I would rather to
use SQLite (which was working some months ago, say June, but in some months
things might change)

Vero
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-stats/attachments/20171010/95edcbdc/attachment.html>


More information about the grass-stats mailing list