[GRASS-user] r.what and d.what.rast

Glynn Clements glynn at gclements.plus.com
Wed Oct 4 15:40:04 EDT 2006


Javier Álvarez Rodríguez wrote:

> My problem is about I'm obtaining different results when using d.what.rast
> and r.what. 
> 
> Using interactively d.what.rast on a map named "bas", I obtain these
> results:
> 
> 361421.875(E) 4540953.125(N)
> bas in DATOS, quant   (854)
> bas in DATOS, actual  (854.000000)
> 
> Then I write "x" and "y" coordinates in a file named "pp3.txt" 
> 
> 361421 4540953 (no matter real or integer coordinates)
> 
> and when using r.what
> 
> r.what bas at DATOS < pp3.txt
> 
> result is 860
> 
> Does someone know what is wrong?

Have you tried using the exact coordinates:

361421.875 4540953.125

with r.what?

Also, can you provide the output from "g.region -p"?

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-user mailing list