
GDALWarpActor |
org.ecoinformatics.seek.gis.gdal.GDALWarpActor |
This actor provides projection capabilities provided through the GDAL
GIS library. It attempts to find the projected file in the kepler file
cache before doing the projection. If the file is found, the projection
is not performed but the cached file is passed on. The file is cached
by it's filename (minus the extension after the '.') and the output format
so the cached result can be read from the cache with a tuple like
{outputFilename.substring(0, outputFilename.lastIndexOf(".")), outputFormat}.
The parameters inputParams and outputParams must be of the form used when
passing values to the -s_srs and -t_srs params on the gdalwarp command line
See the gdalwarp docs for more info.
http://www.remotesensing.org/gdal/gdalwarp.html
Note that the 'cache options' parameter has a choice of 'no cache'. This option
will not only not store files in the cache, but it will also ignore previously
stored cache items. It can thus be used to force a new calculation even if the
item was previousl cached (Dan Higgins)
Author(s):
Version:
inputFilename
the filename of the input file
outputFilename
the filename (cacheid) of the outputfile
trigger
trigger
inputParams
The -s_srs params from the command line.
outputParams
the -t_srs params from the cammand line.
outputFormat
The format of the output file taken from the list provided by
gdalwarp --formats on the command line
cacheOutput
how to use the cache, if at all
outputFilenameTokenProductionRate
production rate param to handle the multiport input