[GRASSLIST:1784] Re: ascii data import

Markus Neteler neteler at geog.uni-hannover.de
Sat Apr 28 12:05:47 EDT 2001


On Wed, Apr 25, 2001 at 12:07:19PM +1200, Brent Wood wrote:
> 
> As a new GRASS user, I'm trying to get some of my data into GRASS so I can
> use it. 
> 
> The documentation I have describes the commands to use, but not the file
> formats I need to use for the commands to work.
> 
> Typically I have three data formats, each line of which is as below:
> 
>  X Y     ascii trackline data (longitude/latitude) defining a polyline
>          feature
> 
>  X Y X Y data defining the start & end points of simple line features
>  
>  X Y Z   data defining points with a location and value, such as altitude
>          or temperature
> 
> 
>  I can reformat these as required, if I knew what formats are required.
> 
>  Can someone please suggest an approach to getting such files into GRASS
> datasets?

Hi Brent,

the v.in.ascii will be of interest for you (probably s.in.ascii as well for
the x y z point data).

See:
 http://www.geog.uni-hannover.de/grass/gdp/html_grass5/html/v.in.ascii.html
(just added format information)
 http://www.geog.uni-hannover.de/grass/gdp/html_grass5/html/s.in.ascii.html

Hope this helps,

 Markus




More information about the grass-user mailing list