[GRASSLIST:10859] multiple sites files import

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

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

--
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341

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.

Use v.in.sites.all

mind that the attribute data gets transfered correctly.

Hamish

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