[GRASS5] [5.7] v.out.ascii to stdout
blazek at itc.it
Thu May 13 03:27:11 EDT 2004
On Thursday 13 May 2004 03:06, you wrote:
> 5.7's v.out.ascii produces no output when output= isn't specified.
> (i.e. -> stdout)
> line 35 of grass51/vector/v.out.ascii/b2a.c
> if ( pnt && !(type & GV_POINT) ) continue;
> That should that be ..!(type && GV_POINT) right?
> I'd guess so, but the bitwise stuff isn't my forte.
That's correct, I think, did you get a wrong output?
Maybe better !(type & (GV_POINT|GV_CENTROID) ) ?
More information about the grass-dev