[GRASS-dev] [GRASS GIS] #1159: v.in.ascii fails with long text file
in WinGRASS-6.4.0-1
GRASS GIS
trac at osgeo.org
Tue Sep 14 11:33:44 EDT 2010
#1159: v.in.ascii fails with long text file in WinGRASS-6.4.0-1
------------------------+---------------------------------------------------
Reporter: lponti | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.1
Component: Vector | Version: 6.4.0
Keywords: v.in.ascii | Platform: MSWindows 7
Cpu: x86-32 |
------------------------+---------------------------------------------------
My settings: WinGRASS-6.4.0-1 on Windows 7. Performing example v.in.ascii
task showed in manual:
{{{
v.in.ascii input=coords.txt output=mymap
}}}
works fine in Spearfish location.
Using this text file:
https://docs.google.com/leaf?id=0B0EpsfMZ-
IZYNGZlNWZkMWEtNzhiNS00OGRiLTgyNzctYzk4ODUxODk1NzI1&sort=name&layout=list&num=50
in a latlong location with the following command:
{{{
v.in.ascii
input=C:\cygwin\home\andy\models_temp\Bloomday_Olive_11set10_Avg
output=test_US_import fs=\t
}}}
yields an error:
{{{
v.in.ascii
input=C:\cygwin\home\andy\models_temp\Bloomday_Olive_11set10_Avg
output=test_US_import fs=\t
Scanning input for column types...
Maximum input row length: 31
Maximum number of columns: 3
Minimum number of columns: 3
Column: 1 type: double
Column: 2 type: double
Column: 3 type: double
Importando punti ...
Populating table...
ERROR: Could not close attribute table. The DBMI driver did not accept all
attributes
}}}
Trying same test with an old (May 29) WinGRASS-6.4.svn installed on the
same machine (same command), everything seems ok:
{{{
v.in.ascii --overwrite
input=C:\cygwin\home\andy\models_temp\Bloomday_Olive_11set10_Avg
output=test_US_import fs=\t
Scanning input for column types...
Maximum input row length: 31
Maximum number of columns: 3
Minimum number of columns: 3
Column: 1 type: double
Column: 2 type: double
Column: 3 type: double
Importando punti ...
Populating table...
Building topology for vector map <test_US_import>...
Registering primitives...
10001157 primitives registered
1157 vertices registered
Building areas...
0 areas built
0 isles built
Attaching islands...
Attaching centroids...
Number of nodes: 1154
Number of primitives: 1157
Number of points: 1157
Number of lines: 0
Number of boundaries: 0
Number of centroids: 0
Number of areas: 0
Number of isles: 0
v.in.ascii completo.
}}}
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1159>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list