[GRASS-user] v.in.ascii

Harald Hofmann Harald.Hofmann at sci.monash.edu.au
Tue Feb 3 17:02:01 EST 2009


Thanks,
I will try this and give you some feedback how it worked.

Cheers
Harald


Markus Neteler wrote:
> On Tue, Feb 3, 2009 at 10:29 PM, Harald Hofmann
> <Harald.Hofmann at sci.monash.edu.au> wrote:
>   
>> 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.
>>     
>
> There (potentially) is:
>
> 1. Import table with db.in.ogr (if CSV, create also .csvt file: define
> appropriately
> the types Real, String, Date, Time and/or DateTime):
>  http://grass.osgeo.org/grass64/manuals/html64_user/db.in.ogr.html
> If needed, use the "key" parameter to auto-generate a unique key column.
>
> 2. generate a map from the imported table:
> v.in.db
> http://grass.osgeo.org/grass64/manuals/html64_user/v.in.db.html
>
> If you have many columns this may be quicker (slightly less precise concerning
> the column type definitions).
>
> Markus
> _______________________________________________
> 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