
CVHull2Raster |
org.ecoinformatics.seek.gis.java_gis.CVHull2Raster |
This actor creates a spatial raster grid usng the ConvexHull polygon. Raster
points within the ConvexHull are set to a value of 1. Points outside have a value
of "NO_DATA". The raster is thus a 'mask'.
'hullFileName' is a text file with the (x,y) values of the convex hull
(one pair per line, space delimited)
'rasterFileName' is the name to be given to the raster output
'numrows' is the number of rows for the raster
'numcols' is the number of columns for the raster
'xllcorner' is the x value for the lower left corner
(if empty, set to the minimum x in the convexHull)
'yllcorner' is the x value for the lower left corner
(if empty set to the minimum x in the convexHull)
'cellsize' is the (square) cellsize (if empty, 50 cells in x direction are assumed;
and nuber of y-cells (ncols) is recalculated to y-extent of convexHull
This is a pure java implementation equivalent to the GISRasterActor based on grass JNI
Author(s): Dan Higgins NCEAS UC Santa Barbara
Version:
hullFileName
The name of the Convex Hull file of data points. 'hullFileName' is a text file
with the (x,y) values of the convex hull (one pair per line, space delimited)
rasterFileName
The name to be given to the resulting raster grid file
rasterFileResult
The output raster file result (it is in *.asc format).
xllcorner
x-value of the lower left corner of the grid to be created.
This is a double value.
yllcorner
y-value of the lower left corner of the grid to be created.
This is a double value.
cellsize
Cell size of the grid to be created (assumed square).
This is a double value.
numrows
Number of rows in the grid to be created.
This is an integer
numcols
Number of columns in the grid to be created.
This is an integer
useDisk
Boolean setting to determine whether or not to use disk for storing grid data rather
than putting all data in RAM arrays. This option in much slower but allows for very large
grids