[GRASS-user] How to import grass ASCII grid with comma as a separator

Adam Dershowitz adershowitz at exponent.com
Tue Sep 16 12:29:30 EDT 2008


Translate (tr) is very fast.
If you do:
tr ',' '.' < input_file.txt > out_file.txt
it should do the job pretty quickly.


--Adam



On Sep 16, 2008, at 9:08 AM, Jarekj wrote:

> Hi
> I recived a number of grass ascii grid floating point maps with  
> resolution 6000 x8000 (over 300 MB) px with comma (,) instead of  
> point (.) as a decimal separator.
>
> I have problem with import that data due to bad interpretation of  
> comma in file. I tiried with find/replace command in gedit but due  
> to file size it takes to much time.
> Is some method to import such file without replacing commas with  
> points in external text editor
> Jarek
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user



More information about the grass-user mailing list