[GRASS-dev] Re: [GRASS GIS] #98: r.resamp.interp fails for bicubic and bilinear interpolation

GRASS GIS trac at osgeo.org
Wed Mar 26 09:55:42 EDT 2008


#98: r.resamp.interp fails for bicubic and bilinear interpolation
-----------------------+----------------------------------------------------
  Reporter:  cmbarton  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect    |      Status:  closed                   
  Priority:  critical  |   Milestone:  6.3.0                    
 Component:  default   |     Version:  unspecified              
Resolution:  invalid   |    Keywords:                           
-----------------------+----------------------------------------------------
Changes (by neteler):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 On Tue, Mar 18, 2008 at 10:01 PM, Helena Mitasova <hmitaso unity.ncsu.edu>
 wrote:
 >  Michael - unless you have at least on point per cell NAN is actually
 >  a correct result.
 >  r.resamp.interp is for resampling a raster map not for interpolating
 >  from randomly distributed points.
 >  Eg this is the example from the book - you go from 30m resolution to
 >  10m resolution -
 >  let me know if that does not work (then we are in trouble because
 >  this worked so we may have a bug introduced somewhere).
 >
 >  g.region rast=elevation -p
 >  r.resamp.interp elev_ned_30m out=elev_ned10m_bil meth=bilinear
 >  r.resamp.interp elev_ned_30m out=elev_ned10m_bic meth=bicubic
 >
 >  Helena

 New documentation wording:

 "<EM>r.resamp.interp</EM> resamples an input raster map by interpolating
 between
 the neighboring cells via a selectable resampling algorithm. All cells
 present in the neighborhood of the input raster cell must be non-null to
 generate a non-null cell in the output raster map."

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/98#comment:1>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/


More information about the grass-dev mailing list