 | CIMUGridResample Method |
Create a new grid by resampling an existing grid
Namespace:
GeoEngine.Core.GXNet
Assembly:
geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void GridResample(
string input_grid_filename,
string output_grid_filename,
double o_x,
double o_y,
double d_x,
double d_y,
int n_x,
int n_y
)
public static void GridResample(
string input_grid_filename,
string output_grid_filename,
double o_x,
double o_y,
double d_x,
double d_y,
int n_x,
int n_y
)
Public Shared Sub GridResample (
input_grid_filename As String,
output_grid_filename As String,
o_x As Double,
o_y As Double,
d_x As Double,
d_y As Double,
n_x As Integer,
n_y As Integer
)
Public Shared Sub GridResample (
input_grid_filename As String,
output_grid_filename As String,
o_x As Double,
o_y As Double,
d_x As Double,
d_y As Double,
n_x As Integer,
n_y As Integer
)
public:
static void GridResample(
String^ input_grid_filename,
String^ output_grid_filename,
double o_x,
double o_y,
double d_x,
double d_y,
int n_x,
int n_y
)
public:
static void GridResample(
String^ input_grid_filename,
String^ output_grid_filename,
double o_x,
double o_y,
double d_x,
double d_y,
int n_x,
int n_y
)
static member GridResample :
input_grid_filename : string *
output_grid_filename : string *
o_x : float *
o_y : float *
d_x : float *
d_y : float *
n_x : int *
n_y : int -> unit
static member GridResample :
input_grid_filename : string *
output_grid_filename : string *
o_x : float *
o_y : float *
d_x : float *
d_y : float *
n_x : int *
n_y : int -> unit
Parameters
- input_grid_filename
- Type: SystemString
Input grid filename - output_grid_filename
- Type: SystemString
Output grid filename - o_x
- Type: SystemDouble
Origin X - o_y
- Type: SystemDouble
Origin Y - d_x
- Type: SystemDouble
Cell spacing X - d_y
- Type: SystemDouble
Cell spacing Y - n_x
- Type: SystemInt32
Elements in X - n_y
- Type: SystemInt32
Elements in Y
RemarksWorks only for un rotated grids.
See Also