[GRASS-user] v.in.ascii error message
gary
lists at lazygranch.com
Sat Jul 15 12:12:49 EDT 2006
Just an FYI, there is a method described in the Markus' "Grass 6 in a
Nutshell" to use QGIS to generate a vector map (Section 6.8). The
command sequence works fine, but GRASS complains about the file that
QGIS generates. [Yes, I know, not GRASS' problem.] I didn't log the
error message, but basically it complained about the file being too
large by I believe 14 bytes.
I'll hack with v.in.ascii a bit more.
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