Re: [GRASS-user] Some question about r.in.xyz and r.surf.idw

2009-03-11 Thread Hamish

Alberto wrote:
 I had the same problem. As Hamish told me some weeks ago,
 
 r.surf.idw and r.surf.idw2 only produce CELL (integer)
 maps.

 I solved my problem multiplying the input raster by 100
 (r_bio in your case), then I interpolated with r.surf.idw
 and finally divided once again by 100.


[depending on your needs] r.to.vect + v.surf.rst or r.surf.nnbathy
(from wiki addons) will create a /much/ nicer surface than IDW
methods. this explains why r.surf.idw module development is rather
neglected.

see also R-stats/grass interface kriging tools and v.surf.idw.
I am not sure if v.surf.idw handles floating-point data or just
integers, but as a total guess I'd say it would create FP output
due to the vector modules generally being more recently written.


Hamish



  

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Some question about r.in.xyz and r.surf.idw

2009-03-10 Thread Alberto Pettazzi

Hi John,

I had the same problem. As Hamish told me some weeks ago,

r.surf.idw and r.surf.idw2 only produce CELL (integer) maps.


I solved my problem multiplying the input raster by 100 (r_bio in your case), 
then I interpolated with r.surf.idw and finally divided once again by 100.

Hope this may help you

Alberto Pettazzi


MeteoGalicia - Departamento de Climatología y Observación

Consellería de Medio Ambiente e Desenvolvemento Sostible

Rúa de Roma, 6

15707 Santiago de Compostela. A Coruña


Teléfono: +34-881-999646


e-mail: alberto.petta...@meteogalicia.es 
mailto:alberto.petta...@meteogalicia.es





Jhon Ortiz escribió:


Hi all,

Im working with xyz data, the range of my data is:min = 0.046000  
max = 1.358000


And  I'm trying interpolate with r.surf.idw, but the answer is  Range 
of data:min = 1  max = 1


I'm working with these steps:

r.in.xyz input=biomarcadores.txt output=r_bio method=mean 
type=FCELL fs=| x=2 y=1 z=4 zscale=1.0  percent=100


r.surf.idw input=r_bio output=r_sup_bio

The problem is when I try work with decimal numbers.


some advice about how I'll work with decimal numbers in this process?

Thanks for your help!!

John
Grupo Bioestratigrafia - ICP
Bogotá - Colombia


Comparte tus fotos con tus amigos. Más fácil con Windows Live 
http://download.live.com



___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
  

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Some question about r.in.xyz and r.surf.idw

2009-03-09 Thread Jhon Ortiz


Hi all,

Im working with xyz data, the range of my data is:min = 0.046000  max = 
1.358000

And  I'm trying interpolate with r.surf.idw, but the answer is  Range of data: 
   min = 1  max = 1

I'm working with these steps:

r.in.xyz input=biomarcadores.txt output=r_bio method=mean type=FCELL 
fs=| x=2 y=1 z=4 zscale=1.0  percent=100

r.surf.idw input=r_bio output=r_sup_bio

The problem is when I try work with decimal numbers.


some advice about how I'll work with decimal numbers in this process?


Thanks for your help!!

John
Grupo Bioestratigrafia - ICP
Bogotá - Colombia

_
¿Quieres ver los mejores videos de MSN? Enciende Messenger TV
http://messengertv.msn.com/mkt/es-es/default.htm___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user