[GRASS5] Problems with site data imported using v.in.ascii in G57

Hello, I am trying to import site data through v.in.ascii in G57. I can
run the command:

cat bdem-join.asc | awk '{print $1 "|" $2 "|" $3 "|" $4}' | v.in.ascii
out=bdem_sites xcol=2 ycol=3 catcol=1 columns='cat int, x real, y real,
elevation int'

and everything works nicely.

When I try to display the map with d.vect i get:

ERROR: Vector 'coor' format version 5.1 is not supported by this version
of
        GRASS. Update your GRASS.

I am running 5.7 so I am not sure what's wrong here.

Craig

On Friday 21 May 2004 00:44, Funkmeister wrote:

Hello, I am trying to import site data through v.in.ascii in G57. I can
run the command:

cat bdem-join.asc | awk '{print $1 "|" $2 "|" $3 "|" $4}' | v.in.ascii
out=bdem_sites xcol=2 ycol=3 catcol=1 columns='cat int, x real, y real,
elevation int'

and everything works nicely.

When I try to display the map with d.vect i get:

ERROR: Vector 'coor' format version 5.1 is not supported by this version
of
        GRASS. Update your GRASS.

I am running 5.7 so I am not sure what's wrong here.

This should not happen, update and recompile GRASS from CVS.

Radim

PS: looking into diglib I found that the code checking versions was wrong
and I fixed it, but it was not causing the problem above.

I finally got GRASS57 recompiled with latest and greatest and I no longer have the problem. Also I am able to run v.surf.idw and v.surf.rst on the sites file I generated.

It would be nice if v.surf.idw could take a named attribute for the z values like v.surf.rst does (zcol).

Craig

On 21-May-04, at 2:47 AM, Radim Blazek wrote:

On Friday 21 May 2004 00:44, Funkmeister wrote:

Hello, I am trying to import site data through v.in.ascii in G57. I can
run the command:

cat bdem-join.asc | awk '{print $1 "|" $2 "|" $3 "|" $4}' | v.in.ascii
out=bdem_sites xcol=2 ycol=3 catcol=1 columns='cat int, x real, y real,
elevation int'

and everything works nicely.

When I try to display the map with d.vect i get:

ERROR: Vector 'coor' format version 5.1 is not supported by this version
of
        GRASS. Update your GRASS.

I am running 5.7 so I am not sure what's wrong here.

This should not happen, update and recompile GRASS from CVS.

Radim

PS: looking into diglib I found that the code checking versions was wrong
and I fixed it, but it was not causing the problem above.

Thanks Radim, I finally got source to recompile, and the sites file is working fine now.

Craig

On 21-May-04, at 2:47 AM, Radim Blazek wrote:

On Friday 21 May 2004 00:44, Funkmeister wrote:

Hello, I am trying to import site data through v.in.ascii in G57. I can
run the command:

cat bdem-join.asc | awk '{print $1 "|" $2 "|" $3 "|" $4}' | v.in.ascii
out=bdem_sites xcol=2 ycol=3 catcol=1 columns='cat int, x real, y real,
elevation int'

and everything works nicely.

When I try to display the map with d.vect i get:

ERROR: Vector 'coor' format version 5.1 is not supported by this version
of
        GRASS. Update your GRASS.

I am running 5.7 so I am not sure what's wrong here.

This should not happen, update and recompile GRASS from CVS.

Radim

PS: looking into diglib I found that the code checking versions was wrong
and I fixed it, but it was not causing the problem above.