[GRASSLIST:44] Re: multiple sites files import

Markus Neteler neteler at itc.it
Mon Mar 13 11:53:17 EST 2006


On Thu, Mar 09, 2006 at 09:52:26PM -0800, Dylan Beaudette wrote:
> On Thursday 09 March 2006 08:31 pm, Adam J Stinton wrote:
> > Hi,
> >
> > I have hundreds of grass sites files to import to vector. Is there a way
> > to import multiple files at once using v.in.sites? Is there an
> > alternative way? (I am very new to GRASS). I am using version 6.0.2 on a
> > variant of RedHat Enterprise Linux.
> >
> > Thanks,
> >
> > Adam
> 
> how about a script:
> 
> for x in lis_of_sites_files ; do v.in.sites in=$x out=$x ; done

If the files are in GRASS 5, simply use

v.in.sites.all help
Description:
 convert all old GRASS < V5.7 sites maps to vector maps in current mapset

Markus




More information about the grass-user mailing list