MapWinGIS:Utils GridInterpolateNoData

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

Printable version | Disclaimers | Privacy policy

GridInterpolateNoData

Uses valid data in a grid to replace grid cells containing no-data values with an interpolated value.


VB.NET Usage

Function GridInterpolateNoData(Grd As MapWinGIS.Grid, cBack As MapWinGIS.ICallback) As Boolean

            Parameters

Grd

The grid for which no-data cells will be replaced with interpolated values.
cBack The ICallback object which will receive progress and error messages.
ReturnValue A boolean value representing the success or failure of replacing no-data cells in the grid with interpolated values.

Sample Code

    Private Sub GridInterpolateNoData()
        Dim grid As New MapWinGIS.Grid()
        Dim utils As New MapWinGIS.Utils()
        Dim success As Boolean
        'Open a grid
        grid.Open("C:\test.bgd")
        'Replace no-data cells in the grid with interpolated values
        success = utils.GridInterpolateNoData(grid, Me)
    End Sub
  

VB 6 Usage

Function GridInterpolateNoData(Grd As Grid, cBack As ICallback) As Boolean

            Parameters

Grd

The grid for which no-data cells will be replaced with interpolated values.
cBack The ICallback object which will receive progress and error messages.
ReturnValue A boolean value representing the success or failure of replacing no-data cells in the grid with interpolated values.

Sample Code

    Private Sub GridInterpolateNoData()
        Dim grid As New MapWinGIS.grid
        Dim utils As New MapWinGIS.utils
        Dim success As Boolean
        'Open a grid
        grid.Open ("C:\test.bgd")
        'Replace no-data cells in the grid with interpolated values
        success = utils.GridInterpolateNoData(grid, Me)
    End Sub

Retrieved from "http://mapwindow.org/wiki/index.php/MapWinGIS:Utils_GridInterpolateNoData"

This page has been accessed 1,126 times. This page was last modified on 9 November 2005, at 17:37.