public class SdoGeorRaPKG
extends java.lang.Object
Note that all methods in this class are transactional, which means that no commit statement is issued implicitly in each method.
The following is an example of how to use this class:
//initialize an instance of SdoGeorRaPKG SdoGeorRaPKG pkg=new SdoGeorRaPKG(connection); //reading a GeoRaster object from database based on a query Statement stmt = connection.createStatement(); ResultSet rs = statement.executeQuery("SELECT a.georaster FROM georaster_table a where a.georaster.rasterdatatable='RDT' and a.georaster.rasterid=1"); rs.next(); STRUCT geor = (oracle.sql.STRUCT) rs.getObject(1); //convert STRUCT into SdoGeoRaster SdoGeoRaster sdoGeoRaster = new SdoGeoRaster(geor); rs = statement.executeQuery("SELECT a.georaster FROM georaster_table a where a.georaster.rasterdatatable='RDT' and a.georaster.rasterid=2"); rs.next(); geor = (oracle.sql.STRUCT) rs.getObject(1); //convert STRUCT into SdoGeoRaster SdoGeoRaster sdoGeoRaster1 = new SdoGeoRaster(geor); //check overlap of two GeoRaster Objects boolean m_isOverlap=pkg.isOverlap(geoRaster,geoRaster1,new Double(0.5));
Modifier and Type | Field and Description |
---|---|
static int |
OPERATOR_ABSOLUTE |
static int |
OPERATOR_ADD |
static int |
OPERATOR_ADDCONST |
static int |
OPERATOR_DIVIDE |
static int |
OPERATOR_DIVIDECONST |
static int |
OPERATOR_EXP |
static int |
OPERATOR_INVERT |
static int |
OPERATOR_LOG |
static int |
OPERATOR_MULTIPLY |
static int |
OPERATOR_MULTIPLYCONST |
static int |
OPERATOR_SUBTRACT |
static int |
OPERATOR_SUBTRACTCONST |
Constructor and Description |
---|
SdoGeorRaPKG(java.sql.Connection conn)
Constructs an
SdoGeorRaPKG object using the given connection. |
Modifier and Type | Method and Description |
---|---|
void |
classify(SdoGeoRaster[] inGeoRasters, java.lang.String expression, double[] rangeArray, double[] valueArray, java.lang.String storageParam, SdoGeoRaster outGeoRaster, boolean nodata, double nodataValue, int parallelDegree)
Generates a new GeoRaster object after applying the specified classification operation on the input GeoRaster object or objects.
|
void |
classify(SdoGeoRaster inGeoRaster, java.lang.String expression, double[] rangeArray, double[] valueArray, java.lang.String storageParam, SdoGeoRaster outGeoRaster, boolean nodata, double nodataValue, int parallelDegree)
Generates a new GeoRaster object after applying the specified classification operation on the input GeoRaster object or objects.
|
void |
classify(java.lang.String inGeoRasters, java.lang.String expression, double[] rangeArray, double[] valueArray, java.lang.String storageParam, SdoGeoRaster outGeoRaster, boolean nodata, double nodataValue, int parallelDegree)
Generates a new GeoRaster object after applying the specified classification operation on the input GeoRaster object or objects.
|
void |
diff(SdoGeoRaster georaster1, SdoGeoRaster georaster2, double[] cropArea, java.lang.String storageParam, SdoGeoRaster outGeoRaster, boolean nodata, java.lang.Double nodataValue, int parallelDegree)
Generates a new GeoRaster object by performing the diff operation (explained in the Usage Notes).
|
void |
diff(SdoGeoRaster georaster1, SdoGeoRaster georaster2, JGeometry cropArea, java.lang.String storageParam, SdoGeoRaster outGeoRaster, boolean nodata, java.lang.Double nodataValue, boolean polygonClip, int parallelDegree)
Generates a new GeoRaster object by performing the diff operation (explained in the Usage Notes).
|
void |
findCells(SdoGeoRaster inGeoRaster, java.lang.String condition, java.lang.String storageParam, SdoGeoRaster outGeoRaster, double[] bgValues, boolean nodata, int parallelDegree)
Generates a new GeoRaster object based on the input GeoRaster object, but masking all cells that do not satisfy the condition parameter specification.
|
java.sql.Connection |
getConnection()
Returns a connection which points to target database.
|
boolean |
isOverlap(SdoGeoRaster[] inGeoRasters, java.lang.Double tolerance)
Returns the string TRUE if two or more GeoRaster objects overlap, or FALSE if two or more GeoRaster objects do not overlap.
|
boolean |
isOverlap(SdoGeoRaster geoRaster1, SdoGeoRaster geoRaster2, java.lang.Double tolerance)
Returns the string TRUE if two or more GeoRaster objects overlap, or FALSE if two or more GeoRaster objects do not overlap.
|
boolean |
isOverlap(java.lang.String inGeoRasters, java.lang.Double tolerance)
Returns the string TRUE if two or more GeoRaster objects overlap, or FALSE if two or more GeoRaster objects do not overlap.
|
void |
over(SdoGeoRaster georaster1, SdoGeoRaster georaster2, double[] cropArea, java.lang.String storageParam, SdoGeoRaster outGeoRaster, boolean nodata, java.lang.Double nodataValue, int parallelDegree)
Generates a new GeoRaster object by performing the over operation (explained in the Usage Notes).
|
void |
over(SdoGeoRaster georaster1, SdoGeoRaster georaster2, JGeometry cropArea, java.lang.String storageParam, SdoGeoRaster outGeoRaster, boolean nodata, java.lang.Double nodataValue, boolean polygonClip, int parallelDegree)
Generates a new GeoRaster object by performing the over operation (explained in the Usage Notes).
|
void |
rasterMathOp(SdoGeoRaster[] inGeoRasters, java.lang.String[] operation, java.lang.String storageParam, SdoGeoRaster outGeoRaster, boolean nodata, java.lang.Double nodataValue, int parallelDegree)
Generate a new GeoRaster object from layers of one or more input GeoRaster objects based on the operation parameter specification.
|
void |
rasterMathOp(SdoGeoRaster georaster0, SdoGeoRaster georaster1, java.lang.Double constant, int operartor, java.lang.String storageParam, SdoGeoRaster outGeoRaster, double[] bgValues, boolean nodata, java.lang.Double nodataValue, int parallelDegree)
Applies a mathematical operation on all corresponding cells of each layer of one or two input GeoRaster objects.
|
void |
rasterMathOp(SdoGeoRaster inGeoRaster, java.lang.String[] operation, java.lang.String storageParam, SdoGeoRaster outGeoRaster, boolean nodata, java.lang.Double nodataValue, int parallelDegree)
Generate a new GeoRaster object from layers of one or more input GeoRaster objects based on the operation parameter specification.
|
void |
rasterMathOp(java.lang.String inGeoRasters, java.lang.String[] operation, java.lang.String storageParam, SdoGeoRaster outGeoRaster, boolean nodata, java.lang.Double nodataValue, int parallelDegree)
Generate a new GeoRaster object from layers of one or more input GeoRaster objects based on the operation parameter specification.
|
void |
rasterUpdate(SdoGeoRaster inGeoRaster, java.lang.Integer pyramidLevel, java.lang.String[] conditions, java.lang.String[][] vals, double[] bgValues, boolean nodata, int parallelDegree)
Updates all cells for which the conditions specification is true, using values calculated from the vals specification.
|
void |
setConnection(java.sql.Connection conn)
Sets the connection which points to the target database.
|
void |
stack(SdoGeoRaster[] inGeoRasters, double[] cropArea, int[] layerList, java.lang.String method, java.lang.String storageParam, SdoGeoRaster outGeoRaster, boolean nodata, java.lang.Double nodataValue, int parallelDegree)
Generates a single-layer GeoRaster object whose cell values are a local statistics value of a list of layers of the input GeoRaster array.The input layers are specified by the layerList parameter, and the statistics method is specified by the method parameter.
|
void |
stack(SdoGeoRaster[] inGeoRasters, JGeometry cropArea, int[] layerList, java.lang.String method, java.lang.String storageParam, SdoGeoRaster outGeoRaster, boolean nodata, java.lang.Double nodataValue, boolean polygonClip, int parallelDegree)
Generates a single-layer GeoRaster object whose cell values are a local statistics value of a list of layers of the input GeoRaster array.The input layers are specified by the layerList parameter, and the statistics method is specified by the method parameter.
|
public static final int OPERATOR_ABSOLUTE
public static final int OPERATOR_ADD
public static final int OPERATOR_ADDCONST
public static final int OPERATOR_DIVIDE
public static final int OPERATOR_DIVIDECONST
public static final int OPERATOR_EXP
public static final int OPERATOR_INVERT
public static final int OPERATOR_LOG
public static final int OPERATOR_MULTIPLY
public static final int OPERATOR_MULTIPLYCONST
public static final int OPERATOR_SUBTRACT
public static final int OPERATOR_SUBTRACTCONST
public SdoGeorRaPKG(java.sql.Connection conn)
SdoGeorRaPKG
object using the given connection.conn
- a JDBC connection.public void setConnection(java.sql.Connection conn)
conn
- a JDBC connectionpublic java.sql.Connection getConnection()
public void classify(SdoGeoRaster inGeoRaster, java.lang.String expression, double[] rangeArray, double[] valueArray, java.lang.String storageParam, SdoGeoRaster outGeoRaster, boolean nodata, double nodataValue, int parallelDegree) throws java.lang.Exception
inGeoRaster
- Input GeoRaster object.expression
- An arithmetic expression used to classify cell values. See the Usage Notes for more information about specifying this parameter.rangeArray
- A number array that defines ranges for classifying cell values. The array must contain at least one element.valueArray
- A number array that defines the target cell value for each range. The number of elements must be 1 greater than the elements in rangeArray (that is, its length must be rangeArray+1).storageParam
- A string specifying storage parametersoutGeoRaster
- Output GeoRaster object.nodata
- The string TRUE specifies that for any NODATA cells in an input GeoRaster object, the corresponding cells in the output GeoRaster object are to be set to the value specified for the nodataValue parameter. The string FALSE (the default) causes cells with NODATA values to be considered as regular data. NODATA values and value ranges are discussed in Section 1.10 of Spatial GeoRaster Developer's Guide.nodataValue
- The value used to set NODATA cells if the nodata parameter value is the string TRUE.parallelDegree
- Specifies the degree of parallelism for the operation. If >1. The database optimizer uses the degree of parallelism specified by this parameter. If <=1, then there is no parallel processing. (For more information,see Section 1.13 of Spatial GeoRaster Developer's Guide, "Parallel Processing in GeoRaster"). If parallelDegree>1 then it means that you cannot roll back the results of this procedure.java.lang.Exception
public void classify(SdoGeoRaster[] inGeoRasters, java.lang.String expression, double[] rangeArray, double[] valueArray, java.lang.String storageParam, SdoGeoRaster outGeoRaster, boolean nodata, double nodataValue, int parallelDegree) throws java.lang.Exception
inGeoRasters
- An array of SdoGeoRaster objects. The maximum number of GeoRaster objects in the array is 8, but there is no limit on the total number of layers for all the GeoRaster objects.expression
- An arithmetic expression used to classify cell values. See the Usage Notes for more information about specifying this parameter.rangeArray
- A number array that defines ranges for classifying cell values. The array must contain at least one element.valueArray
- A number array that defines the target cell value for each range. The number of elements must be 1 greater than the elements in rangeArray (that is, its length must be rangeArray+1).storageParam
- A string specifying storage parametersoutGeoRaster
- Output GeoRaster object.nodata
- The string TRUE specifies that for any NODATA cells in an input GeoRaster object, the corresponding cells in the output GeoRaster object are to be set to the value specified for the nodataValue parameter. The string FALSE (the default) causes cells with NODATA values to be considered as regular data. NODATA values and value ranges are discussed in Section 1.10 of Spatial GeoRaster Developer's Guide.nodataValue
- The value used to set NODATA cells if the nodata parameter value is the string TRUE.parallelDegree
- Specifies the degree of parallelism for the operation. If >1. The database optimizer uses the degree of parallelism specified by this parameter. If <=1, then there is no parallel processing. (For more information,see Section 1.13 of Spatial GeoRaster Developer's Guide, "Parallel Processing in GeoRaster"). If parallelDegree>1 then it means that you cannot roll back the results of this procedure.java.lang.Exception
public void classify(java.lang.String inGeoRasters, java.lang.String expression, double[] rangeArray, double[] valueArray, java.lang.String storageParam, SdoGeoRaster outGeoRaster, boolean nodata, double nodataValue, int parallelDegree) throws java.lang.Exception
inGeoRasters
- PL/SQL query for the input GeoRaster objects. The maximum number of GeoRaster objects in the cursor is 8, but there is no limit on the total number of layers for all the GeoRaster objects.expression
- An arithmetic expression used to classify cell values. See the Usage Notes for more information about specifying this parameter.rangeArray
- A number array that defines ranges for classifying cell values. The array must contain at least one element.valueArray
- A number array that defines the target cell value for each range. The number of elements must be 1 greater than the elements in rangeArray (that is, its length must be rangeArray+1).storageParam
- A string specifying storage parametersoutGeoRaster
- Output GeoRaster object.nodata
- The string TRUE specifies that for any NODATA cells in an input GeoRaster object, the corresponding cells in the output GeoRaster object are to be set to the value specified for the nodataValue parameter. The string FALSE (the default) causes cells with NODATA values to be considered as regular data. NODATA values and value ranges are discussed in Section 1.10 of Spatial GeoRaster Developer's Guide.nodataValue
- The value used to set NODATA cells if the nodata parameter value is the string TRUE.parallelDegree
- Specifies the degree of parallelism for the operation. If >1. The database optimizer uses the degree of parallelism specified by this parameter. If <=1, then there is no parallel processing. (For more information,see Section 1.13 of Spatial GeoRaster Developer's Guide, "Parallel Processing in GeoRaster"). If parallelDegree>1 then it means that you cannot roll back the results of this procedure.java.lang.Exception
public void findCells(SdoGeoRaster inGeoRaster, java.lang.String condition, java.lang.String storageParam, SdoGeoRaster outGeoRaster, double[] bgValues, boolean nodata, int parallelDegree) throws java.lang.Exception
inGeoRaster
- PL/SQL query for the input GeoRaster objects. The maximum number of GeoRaster objects in the cursor is 8, but there is no limit on the total number of layers for all the GeoRaster objects.condition
- An expression string used to filter out cells.storageParam
- A string specifying storage parametersoutGeoRaster
- Output GeoRaster object.bgValues
- Background values to represent values of cells in the empty raster blocks of the input GeoRaster object. The number of elements in the bgValues array must be either one (same filling value used for all bands) or the band dimension size (a different filling value for each band, respectively). For example, (1,5,10) fills the first band with 1, the second band with 5, and the third band with 10. The default bgValues are zero (0). The filling values must be valid cell values as specified by the target cell depth background values for filling sparse data.nodata
- The string TRUE specifies to keep the original values for any NODATA cells in the GeoRaster object. The string FALSE (the default) causes cells with NODATA values to be considered as regular data. NODATA values and value ranges are discussed in Section 1.10 of Spatial GeoRaster Developer's Guide.parallelDegree
- Specifies the degree of parallelism for the operation. If >1. The database optimizer uses the degree of parallelism specified by this parameter. If <=1, then there is no parallel processing. (For more information,see Section 1.13 of Spatial GeoRaster Developer's Guide, "Parallel Processing in GeoRaster"). If parallelDegree>1 then it means that you cannot roll back the results of this procedure.java.lang.Exception
public boolean isOverlap(SdoGeoRaster geoRaster1, SdoGeoRaster geoRaster2, java.lang.Double tolerance) throws java.lang.Exception
geoRaster1
- Input GeoRaster objectgeoRaster2
- Input GeoRaster objecttolerance
- Tolerance value used to determine if two cells in the cell space overlap in the model space. The value should be between 0 and 1, and the unit is cell. For example, 0.5 (the default) means one-half cell, namely, that two cells overlap if the distance between them in 0.5 cell or less.java.lang.Exception
public boolean isOverlap(SdoGeoRaster[] inGeoRasters, java.lang.Double tolerance) throws java.lang.Exception
inGeoRasters
- An array of SdoGeoRaster objects. The maximum number of GeoRaster objects in the array is 8, but there is no limit on the total number of layers for all the GeoRaster objects.tolerance
- Tolerance value used to determine if two cells in the cell space overlap in the model space. The value should be between 0 and 1, and the unit is cell. For example, 0.5 (the default) means one-half cell, namely, that two cells overlap if the distance between them in 0.5 cell or less.java.lang.Exception
public boolean isOverlap(java.lang.String inGeoRasters, java.lang.Double tolerance) throws java.lang.Exception
inGeoRasters
- PL/SQL query for the input GeoRaster objects. The maximum number of GeoRaster objects in the cursor is 8, but there is no limit on the total number of layers for all the GeoRaster objects.tolerance
- Tolerance value used to determine if two cells in the cell space overlap in the model space. The value should be between 0 and 1, and the unit is cell. For example, 0.5 (the default) means one-half cell, namely, that two cells overlap if the distance between them in 0.5 cell or less.java.lang.Exception
public void rasterMathOp(java.lang.String inGeoRasters, java.lang.String[] operation, java.lang.String storageParam, SdoGeoRaster outGeoRaster, boolean nodata, java.lang.Double nodataValue, int parallelDegree) throws java.lang.Exception
inGeoRasters
- PL/SQL query for the input GeoRaster objects. The maximum number of GeoRaster objects in the cursor is 8, but there is no limit on the total number of layers for all the GeoRaster objects.operation
- An array of arithmeticExpr expression strings used to calculate raster cell values in the output GeoRaster object. Each element of the array corresponds to a layer in the output GeoRaster object. The syntax for the arithmeticExpr expressions is explained in Section 4.1, "Raster Algebra Language".storageParam
- A string specifying storage parametersoutGeoRaster
- Output GeoRaster object.nodata
- The string TRUE specifies to keep the original values for any NODATA cells in the GeoRaster object. The string FALSE (the default) causes cells with NODATA values to be considered as regular data. NODATA values and value ranges are discussed in Section 1.10 of Spatial GeoRaster Developer's Guide.nodataValue
- The value used to set NODATA cells if the nodata parameter value is the string TRUE.parallelDegree
- Specifies the degree of parallelism for the operation. If >1. The database optimizer uses the degree of parallelism specified by this parameter. If <=1, then there is no parallel processing. (For more information,see Section 1.13 of Spatial GeoRaster Developer's Guide, "Parallel Processing in GeoRaster"). If parallelDegree>1 then it means that you cannot roll back the results of this procedure.java.lang.Exception
public void rasterMathOp(SdoGeoRaster[] inGeoRasters, java.lang.String[] operation, java.lang.String storageParam, SdoGeoRaster outGeoRaster, boolean nodata, java.lang.Double nodataValue, int parallelDegree) throws java.lang.Exception
inGeoRasters
- An array of SdoGeoRaster objects.operation
- An array of arithmeticExpr expression strings used to calculate raster cell values in the output GeoRaster object. Each element of the array corresponds to a layer in the output GeoRaster object. The syntax for the arithmeticExpr expressions is explained in Section 4.1, "Raster Algebra Language".storageParam
- A string specifying storage parametersoutGeoRaster
- Output GeoRaster object.nodata
- The string TRUE specifies to keep the original values for any NODATA cells in the GeoRaster object. The string FALSE (the default) causes cells with NODATA values to be considered as regular data. NODATA values and value ranges are discussed in Section 1.10 of Spatial GeoRaster Developer's Guide.nodataValue
- The value used to set NODATA cells if the nodata parameter value is the string TRUE.parallelDegree
- Specifies the degree of parallelism for the operation. If >1. The database optimizer uses the degree of parallelism specified by this parameter. If <=1, then there is no parallel processing. (For more information,see Section 1.13 of Spatial GeoRaster Developer's Guide, "Parallel Processing in GeoRaster"). If parallelDegree>1 then it means that you cannot roll back the results of this procedure.java.lang.Exception
public void rasterMathOp(SdoGeoRaster inGeoRaster, java.lang.String[] operation, java.lang.String storageParam, SdoGeoRaster outGeoRaster, boolean nodata, java.lang.Double nodataValue, int parallelDegree) throws java.lang.Exception
inGeoRaster
- Input GeoRaster object.operation
- An array of arithmeticExpr expression strings used to calculate raster cell values in the output GeoRaster object. Each element of the array corresponds to a layer in the output GeoRaster object. The syntax for the arithmeticExpr expressions is explained in Section 4.1, "Raster Algebra Language".storageParam
- A string specifying storage parametersoutGeoRaster
- Output GeoRaster object.nodata
- The string TRUE specifies to keep the original values for any NODATA cells in the GeoRaster object. The string FALSE (the default) causes cells with NODATA values to be considered as regular data. NODATA values and value ranges are discussed in Section 1.10 of Spatial GeoRaster Developer's Guide.nodataValue
- The value used to set NODATA cells if the nodata parameter value is the string TRUE.parallelDegree
- Specifies the degree of parallelism for the operation. If >1. The database optimizer uses the degree of parallelism specified by this parameter. If <=1, then there is no parallel processing. (For more information,see Section 1.13 of Spatial GeoRaster Developer's Guide, "Parallel Processing in GeoRaster"). If parallelDegree>1 then it means that you cannot roll back the results of this procedure.java.lang.Exception
public void rasterMathOp(SdoGeoRaster georaster0, SdoGeoRaster georaster1, java.lang.Double constant, int operartor, java.lang.String storageParam, SdoGeoRaster outGeoRaster, double[] bgValues, boolean nodata, java.lang.Double nodataValue, int parallelDegree) throws java.lang.Exception
georaster0
- The left operand.georaster1
- The right operand.constant
- Constant value for some operators , such as addConst and divConstant.operator
- One of the following math operators, which are defined in this class: OPERATOR_ABSOLUTE OPERATOR_ADD OPERATOR_ADDCONST OPERATOR_DIVIDE OPERATOR_DIVIDECONST OPERATOR_EXP OPERATOR_INVERT OPERATOR_LOG OPERATOR_MULTIPLY OPERATOR_MULTIPLYCONST OPERATOR_SUBTRACT OPERATOR_SUBTRACTCONSTstorageParam
- A string specifying storage parametersoutGeoRaster
- Output GeoRaster object.bgValues
- Background values to represent values of cells in the empty raster blocks of the input GeoRaster object. The number of elements in the bgValues array must be either one (same filling value used for all bands) or the band dimension size (a different filling value for each band, respectively). For example, (1,5,10) fills the first band with 1, the second band with 5, and the third band with 10. The default bgValues are zero (0). The filling values must be valid cell values as specified by the target cell depth background values for filling sparse data.nodata
- The string TRUE specifies to keep the original values for any NODATA cells in the GeoRaster object. The string FALSE (the default) causes cells with NODATA values to be considered as regular data. NODATA values and value ranges are discussed in Section 1.10 of Spatial GeoRaster Developer's Guide.nodataValue
- The value used to set NODATA cells if the nodata parameter value is the string TRUE.parallelDegree
- Specifies the degree of parallelism for the operation. If >1. The database optimizer uses the degree of parallelism specified by this parameter. If <=1, then there is no parallel processing. (For more information,see Section 1.13 of Spatial GeoRaster Developer's Guide, "Parallel Processing in GeoRaster"). If parallelDegree>1 then it means that you cannot roll back the results of this procedure.java.lang.Exception
public void rasterUpdate(SdoGeoRaster inGeoRaster, java.lang.Integer pyramidLevel, java.lang.String[] conditions, java.lang.String[][] vals, double[] bgValues, boolean nodata, int parallelDegree) throws java.lang.Exception
geoRaster
- GeoRaster object that is used for input and for output (updating based on specified conditions).pyramidLevel
- Pyramid level to be updated. If this parameter is null, all pyramid levels are updated.conditions
- An array of booleanExpr expression strings used to select cells.vals
- An array or arrays of arithmeticExpr expressions, with the outer array corresponding to each condition and the inner array corresponding to each layer.bgValues
- Background value arraynodata
- The TRUE specifies that any NODATA cells in the GeoRaster object are not to be updated. The FALSE (the default) causes cells with NODATA values to be considered as regular cells and thus eligible for updating. NODATA values and value ranges are discussed in Section 1.10.of Spatial GeoRaster Developer's Guide.parallelDegree
- Specifies the degree of parallelism for the operation. If >1. The database optimizer uses the degree of parallelism specified by this parameter. If <=1, then there is no parallel processing. (For more information,see Section 1.13 of Spatial GeoRaster Developer's Guide, "Parallel Processing in GeoRaster"). If parallelDegree>1 then it means that you cannot roll back the results of this procedure.java.lang.Exception
public void diff(SdoGeoRaster georaster1, SdoGeoRaster georaster2, double[] cropArea, java.lang.String storageParam, SdoGeoRaster outGeoRaster, boolean nodata, java.lang.Double nodataValue, int parallelDegree) throws java.lang.Exception
georaster1
- First input GeoRaster object.georaster2
- Second input GeoRaster object.cropArea
- Crop area definition,the parameter identifies the upper-left (row, column) and lower-right (row, column) coordinates of a rectangular window, and raster space is assumed.storageParam
- A string specifying storage parametersoutGeoRaster
- Output GeoRaster object.nodata
- The string TRUE specifies to keep the original values for any NODATA cells in the GeoRaster object. The string FALSE (the default) causes cells with NODATA values to be considered as regular data. NODATA values and value ranges are discussed in Section 1.10 of Spatial GeoRaster Developer's Guide.nodataValue
- The value used to set NODATA cells if the nodata parameter value is the string TRUE.parallelDegree
- Specifies the degree of parallelism for the operation. If >1. The database optimizer uses the degree of parallelism specified by this parameter. If <=1, then there is no parallel processing. (For more information,see Section 1.13 of Spatial GeoRaster Developer's Guide, "Parallel Processing in GeoRaster"). If parallelDegree>1 then it means that you cannot roll back the results of this procedure.java.lang.Exception
public void diff(SdoGeoRaster georaster1, SdoGeoRaster georaster2, JGeometry cropArea, java.lang.String storageParam, SdoGeoRaster outGeoRaster, boolean nodata, java.lang.Double nodataValue, boolean polygonClip, int parallelDegree) throws java.lang.Exception
georaster1
- First input GeoRaster object.georaster2
- Second input GeoRaster object.cropArea
- Crop area definitionstorageParam
- A string specifying storage parametersoutGeoRaster
- Output GeoRaster object.nodata
- The string TRUE specifies to keep the original values for any NODATA cells in the GeoRaster object. The string FALSE (the default) causes cells with NODATA values to be considered as regular data. NODATA values and value ranges are discussed in Section 1.10 of Spatial GeoRaster Developer's Guide.nodataValue
- The value used to set NODATA cells if the nodata parameter value is the string TRUE.polygonClip
- Ignored if cropArea is null. Otherwise, the string TRUE causes the cropArea value to be used to crop the data; the string FALSE or a null value causes the MBR of cropArea to be used to crop the output image.parallelDegree
- Specifies the degree of parallelism for the operation. If >1. The database optimizer uses the degree of parallelism specified by this parameter. If <=1, then there is no parallel processing. (For more information,see Section 1.13 of Spatial GeoRaster Developer's Guide, "Parallel Processing in GeoRaster"). If parallelDegree>1 then it means that you cannot roll back the results of this procedure.java.lang.Exception
public void over(SdoGeoRaster georaster1, SdoGeoRaster georaster2, double[] cropArea, java.lang.String storageParam, SdoGeoRaster outGeoRaster, boolean nodata, java.lang.Double nodataValue, int parallelDegree) throws java.lang.Exception
georaster1
- First input GeoRaster object.georaster2
- Second input GeoRaster object.cropArea
- Crop area definition,the parameter identifies the upper-left (row, column) and lower-right (row, column) coordinates of a rectangular window, and raster space is assumed.storageParam
- A string specifying storage parametersoutGeoRaster
- Output GeoRaster object.nodata
- The string TRUE specifies to keep the original values for any NODATA cells in the GeoRaster object. The string FALSE (the default) causes cells with NODATA values to be considered as regular data. NODATA values and value ranges are discussed in Section 1.10 of Spatial GeoRaster Developer's Guide.nodataValue
- The value used to set NODATA cells if the nodata parameter value is the string TRUE.parallelDegree
- Specifies the degree of parallelism for the operation. If >1. The database optimizer uses the degree of parallelism specified by this parameter. If <=1, then there is no parallel processing. (For more information,see Section 1.13 of Spatial GeoRaster Developer's Guide, "Parallel Processing in GeoRaster"). If parallelDegree>1 then it means that you cannot roll back the results of this procedure.java.lang.Exception
public void over(SdoGeoRaster georaster1, SdoGeoRaster georaster2, JGeometry cropArea, java.lang.String storageParam, SdoGeoRaster outGeoRaster, boolean nodata, java.lang.Double nodataValue, boolean polygonClip, int parallelDegree) throws java.lang.Exception
georaster1
- First input GeoRaster object.georaster2
- Second input GeoRaster object.cropArea
- Crop area definitionstorageParam
- A string specifying storage parametersoutGeoRaster
- Output GeoRaster object.nodata
- The string TRUE specifies to keep the original values for any NODATA cells in the GeoRaster object. The string FALSE (the default) causes cells with NODATA values to be considered as regular data. NODATA values and value ranges are discussed in Section 1.10 of Spatial GeoRaster Developer's Guide.nodataValue
- The value used to set NODATA cells if the nodata parameter value is the string TRUE.polygonClip
- Ignored if cropArea is null. Otherwise, the string TRUE causes the cropArea value to be used to crop the data; the string FALSE or a null value causes the MBR of cropArea to be used to crop the output image.parallelDegree
- Specifies the degree of parallelism for the operation. If >1. The database optimizer uses the degree of parallelism specified by this parameter. If <=1, then there is no parallel processing. (For more information,see Section 1.13 of Spatial GeoRaster Developer's Guide, "Parallel Processing in GeoRaster"). If parallelDegree>1 then it means that you cannot roll back the results of this procedure.java.lang.Exception
public void stack(SdoGeoRaster[] inGeoRasters, double[] cropArea, int[] layerList, java.lang.String method, java.lang.String storageParam, SdoGeoRaster outGeoRaster, boolean nodata, java.lang.Double nodataValue, int parallelDegree) throws java.lang.Exception
inGeoRasters
- An array of SdoGeoRaster objects.cropArea
- Crop area definitionlayerList
- A number array to specify which bands of the input GeoRaster objects are used to compute statistics value for output. For example, if georArray specifies three GeoRaster objects geor1,geor2,geor3, which have 2,3,4 bands respectively, a layer list {0,3,7} is used to specify three bands as follows: The first band of the first GeoRaster object geor1 The second band of the second GeoRaster object geor2 The third band of the third GeoRaster object geor3method
- A string to specify what local statistics value should be returned. It should be one of the following values: max, min, median, mean, std, sum, minority, majority, diversity.storageParam
- A string specifying storage parametersoutGeoRaster
- Output GeoRaster object.nodata
- The string TRUE specifies to keep the original values for any NODATA cells in the GeoRaster object. The string FALSE (the default) causes cells with NODATA values to be considered as regular data. NODATA values and value ranges are discussed in Section 1.10 of Spatial GeoRaster Developer's Guide.nodataValue
- The value used to set NODATA cells if the nodata parameter value is the string TRUE.parallelDegree
- Specifies the degree of parallelism for the operation. If >1. The database optimizer uses the degree of parallelism specified by this parameter. If <=1, then there is no parallel processing. (For more information,see Section 1.13 of Spatial GeoRaster Developer's Guide, "Parallel Processing in GeoRaster"). If parallelDegree>1 then it means that you cannot roll back the results of this procedure.java.lang.Exception
public void stack(SdoGeoRaster[] inGeoRasters, JGeometry cropArea, int[] layerList, java.lang.String method, java.lang.String storageParam, SdoGeoRaster outGeoRaster, boolean nodata, java.lang.Double nodataValue, boolean polygonClip, int parallelDegree) throws java.lang.Exception
inGeoRasters
- An array of SdoGeoRaster objects.cropArea
- Crop area definitionlayerList
- A number array to specify which bands of the input GeoRaster objects are used to compute statistics value for output. For example, if georArray specifies three GeoRaster objects geor1,geor2,geor3, which have 2,3,4 bands respectively, a layer list {0,3,7} is used to specify three bands as follows: The first band of the first GeoRaster object geor1 The second band of the second GeoRaster object geor2 The third band of the third GeoRaster object geor3method
- A string to specify what local statistics value should be returned. It should be one of the following values: max, min, median, mean, std, sum, minority, majority, diversity.storageParam
- A string specifying storage parametersoutGeoRaster
- Output GeoRaster object.nodata
- The string TRUE specifies to keep the original values for any NODATA cells in the GeoRaster object. The string FALSE (the default) causes cells with NODATA values to be considered as regular data. NODATA values and value ranges are discussed in Section 1.10 of Spatial GeoRaster Developer's Guide.nodataValue
- The value used to set NODATA cells if the nodata parameter value is the string TRUE.polygonClip
- Ignored if cropArea is null. Otherwise, the string TRUE causes the cropArea value to be used to crop the data; the string FALSE or a null value causes the MBR of cropArea to be used to crop the output image.parallelDegree
- Specifies the degree of parallelism for the operation. If >1. The database optimizer uses the degree of parallelism specified by this parameter. If <=1, then there is no parallel processing. (For more information,see Section 1.13 of Spatial GeoRaster Developer's Guide, "Parallel Processing in GeoRaster"). If parallelDegree>1 then it means that you cannot roll back the results of this procedure.java.lang.Exception