[GRASS-user] v.in.ascii error message
gary
lists at lazygranch.com
Wed Jul 19 04:24:07 EDT 2006
I managed to get this command to work (well at least issue no error
messages) by using the CSV option. However, the open_office created CSV
is was identical to my vim created file except that a comma is used as a
delimiter rather than the pipe symbol.
The input format was numeric LL, using the minus sign for W.
Stuart Edwards wrote:
> Hi
> This command has provided hours or entertainment for me too. Usually I
> can get it to work by meticulously following the format in example 1 on
> the help page. To this end you might try making the W and N into
> column headers, decimalize the lat/long and 'note the blank before
> entering vertex coordinates'. Adding a columns= string helps too.
> (columns='x double, etc). Good luck.
>
> Stuart
> On Jul 14, 2006, at 4:07 PM, gary wrote:
>
>> I changed the input format but got the same cryptic error message.
>>
>>
>> Markus Neteler wrote:
>>
>>> On Thu, Jul 13, 2006 at 01:30:43AM -0700, gary wrote:
>>>
>>>> I find this error message from v.in.ascii a bit cryptic.
>>>>
>>>> grass command:
>>>> v.in.ascii input=/usr/localsrc/utm/PERMANENT/site.dat output=sites5
>>>> format=point fs=| skip=0 x=1 y=2 z=0 cat=0
>>>>
>>>> error message:
>>>> Maximum input row length: 24
>>>> Maximum number of columns: 2
>>>> Minimum number of columns: 0
>>>>
>>>> GRASS_INFO_ERROR(15897,1): x column number > minimum last column
>>>> number
>>>> GRASS_INFO_ERROR(15897,1): (incorrect field separator?)
>>>>
>>>>
>>>>
>>>> The file site. dat is one line as follows
>>>> W115 58 2.4|N36 27 20.9
>>>>
>>>> The default separator is "pipe", so I'm sure the delimiter is fine.
>>>> Any idea what I'm doing wrong here?
>>>
>>> I guess that formatting should be
>>> 115:58:2.4W|36:27:20.9N
>>> instead of
>>> W115 58 2.4|N36 27 20.9
>>> Markus
>>> _______________________________________________
>>> grassuser mailing list
>>> grassuser at grass.itc.it
>>> http://grass.itc.it/mailman/listinfo/grassuser
>>
>>
>> _______________________________________________
>> grassuser mailing list
>> grassuser at grass.itc.it
>> http://grass.itc.it/mailman/listinfo/grassuser
>
>
>
>
More information about the grass-user
mailing list