[GRASS-dev] Re: [GRASS GIS] #465: r.proj.seg thins along null areas
and raster bounds for bilinear and cubic methods
GRASS GIS
trac at osgeo.org
Mon Feb 2 09:55:22 EST 2009
#465: r.proj.seg thins along null areas and raster bounds for bilinear and cubic
methods
--------------------------+-------------------------------------------------
Reporter: kyngchaos | Owner: grass-dev at lists.osgeo.org
Type: enhancement | Status: new
Priority: major | Milestone:
Component: Raster | Version: svn-develbranch6
Resolution: | Keywords:
Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Comment (by kyngchaos):
Now I remember - to get the value of the cell in my added interp
functions, after calling p_nearest to set the cell value, I'd be
duplicating a most of p_nearest(): floor the row/col for the cell index,
checking if it's out of bounds, getting the value with that CPTR() macro,
and testing if it's null.
Hmmm, I suppose duplicate p_nearest completely and skip calling it? Is
this what you meant by inlining? (I thought it would be some complex
macro)
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/465#comment:14>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list