[GRASS-dev] [GRASS GIS] #1957: v.in.ascii (points.c) does not import some numbers in attached example

GRASS GIS trac at osgeo.org
Mon May 6 01:11:02 PDT 2013


#1957: v.in.ascii (points.c) does not import some numbers in attached example
------------------------+---------------------------------------------------
 Reporter:  ychemin     |       Owner:  grass-dev@…              
     Type:  defect      |      Status:  new                      
 Priority:  normal      |   Milestone:  6.5.0                    
Component:  Vector      |     Version:  svn-trunk                
 Keywords:  v.in.ascii  |    Platform:  Linux                    
      Cpu:  x86-64      |  
------------------------+---------------------------------------------------

Comment(by ychemin):

 Replying to [ticket:1957 ychemin]:
 > v.in.ascii input=9.csv output=rain_$(echo 9.csv | sed 's/\.csv//g')
 separator=comma
 >
 > Real number of columns: 4020
 > -----From v.in.ascii-----------
 > Maximum number of columns: 1366
 > Minimum number of columns: 1317

 Merge Ticket 1958:

 importing .csv made of several rows of 4020 columns each, import stops at
 row 18, looking into the file, it is near the 20000 character.

 Same behavior in 6.4.2 (Ubuntu stable version)


 After setting (points.c):

 76     buflen = 50000;

 then error becomes:

 Number of columns: 4020  <-  THIS IS GOOD
 DBMI-SQLite driver error:
 Error in sqlite3_prepare():
 too many columns on rain_9  <-  :-(

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1957#comment:5>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list