[GRASS-dev] Re: query vector points x,y

Damiano Triglione damiano.triglione at polimi.it
Wed Sep 27 08:16:09 EDT 2006


 (...)
>> Indeed, if I enter the command
>> v.to.db -p map=mymap type=point opt=coor column=dummy_x,dummy_y,dbl_3
>>or
>> v.to.db -p map=mymap type=point opt=coor column=dummy_x,dummy_y
>> I receive the rows
>> cat|x|y|z
>> and not any other field  (for example dbl_3).
>>Damiano
 (...)
> Well, you are asking for opt=coor and that's what you are getting. Now
> you'd have to combine the v.to.db opt=coor output with db.execute output.
>
> Sorry.
>
> Maciek
OK, but then I think it is better to use v.out.ascii for this purpose!
 v.out.ascii print coordinates with high precision, while v.to.db gives only
 a couple of decimals after floating  point. Why?
 Damiano




More information about the grass-dev mailing list