[GRASS-user] v.in.ascii
Harald Hofmann
Harald.Hofmann at sci.monash.edu.au
Tue Feb 3 16:29:45 EST 2009
Sorry Hamish,
I replied a little to quickly, I should read the mails to the end ... :-)
Yes, I have tried the option colums=. I just thought there is an easier
way around.
If not, well, so it is then.
Thanks for your help...
Cheers
Harald
Hamish wrote:
> Harald Hofmann wrote:
>
>
>> What I mean is the header import in v.in.ascii.
>> I have point data with chemical analysis in the attribute
>> table. Every time I import a text file, containing these
>> tables and using v.in.ascii, the header is not imported,
>> which is quit annoying when you have 20 or 30 different
>> parameters.
>>
>
> If you use the skip= option to pass over column heading lines,
> you will find those lines saved in the map's metadata history.
> View it with 'v.info -h'.
>
> Lines after skip= number of rows which are commented (start with a "#")
> will not be saved to the metadata history.
>
> If you want the raw data column headings to become the attribute column
> names in the database, you have to use the v.in.ascii columns= option.
> Currently it is not automatically taken due to the free form allowance
> for the input data. A bit of a pain, but you must define column type
> anyway so a little cut&paste of the top line into a text editor gets
> you close.
>
>
> hope it helps,
> Hamish
>
>
>
>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
--
-------------------------------------------
Harald Hofmann
PhD Candidate - Hydrogeology
School of Geosciences
Bldg 28 Monash University
Clayton Campus
Wellington Road
VIC 3800
Australia
harald.hofmann at sci.monash.edu.au
Office: +61 3 9905 5786
Fax: +61 3 9905 4903
More information about the grass-user
mailing list