[GRASS-dev] backporting new v.digit to the 6.2 branch

Hamish hamish_nospam at yahoo.com
Fri Apr 27 02:15:58 EDT 2007


Markus Neteler wrote:
> On Fri, Apr 27, 2007 at 04:24:06PM +1200, Hamish wrote:
> > v.what segfaulted, but that was another
> > issue which I've just fixed in CVS. Now v.what works ok.
> 
> It doesn't yet since it only reports on the first coordinate
> pair even if multiple are given.

So it does(n't) ...  (both 6.2 and 6.3-cvs)

it works in 6.3 if coords are taken from stdin:
(is the -s flag really needed? couldn't it just test if the east_north=
answer was NULL?)

g.region v=fields
d.vect -c fields type=area

v.what -s << EOF
591672,4919071
594353,4923539
601742,4924260
EOF

# but only the first coord if taken from the command line:
v.what east=591672,4919071,594353,4923539,601742,4924260



Hamish




More information about the grass-dev mailing list