Yes, I was trying to read the file, trim the spaces and write a CSV
file, but the input file was too big. I found a solution using a
Python script to split big files
(http://code.activestate.com/recipes/224800-simple-file-splittercombiner-module/)
and now I can read them successfully into python and write CSV files.

I've successfully imported a section into GRASS and will patch and
clip the rasters in there.

Thanks for all the suggestions.

Hanlie

2011/3/29, Andreas Trawoeger <[email protected]>:
> 2011/3/29 Hanlie Pretorius <[email protected]>
>
>> Thanks for the suggestion. I can't use the CSV driver to read the
>> file, though, because it doesn't support a space as a field separator,
>> only COMMA/SEMICOLON/TAB
>>
>
> Python has a comprehensive CSV module (
> http://docs.python.org/library/csv.html) that makes it pretty easy to
> convert between different types of CSV files.
>
>
> cu andreas
>

Reply via email to