[GRASS-dev] extending v.in.ascii capacity to scan large number of columns (code change provided)

Yann Chemin ychemin at gmail.com
Thu Aug 15 03:27:06 PDT 2013


v.in.ascii/points.c:

76 buflen = 400000; #Changed from 4000
77 buf = (char *)G_malloc(buflen);
78 buf_raw = (char *)G_malloc(buflen);
79 coorbuf = (char *)G_malloc(16*256); #Added 16*
80 tmp_token = (char *)G_malloc(16*256); #Added 16*



This change permitted me to read cleanly through an ascii file x,y,v1,v2...v4018
and import each of the x,y,v combinations as 3D vector layers
independently (without attribute table)




-- 
----


More information about the grass-dev mailing list