Raster_MatrixFilterService
This service could be used to filter the raster input to produce the raster output according to the matrix filter designed by the user.
Operation:
matrix_filter - Raster map matrix filter.
Request Parameters:
- sourceURL
- URL of input raster map
- Default format: GeoTIFF
- filterURL
- URL of input filter file
- Default format: UNIX ASCII file
- zero
- Apply filter only to zero data values
- Parameter format: boolean
- Default: false
- repeat
- Number of times the filter is to be applied to the input data
- Parameter format: Integer
- outputGeoTiffType
- Type of output GeoTIFF file. The output Format Type is specified as GeoTIFF
- Parameter format: string
- Options: Byte, Int16, UInt16, UInt32, Int32, Float32, Float64, CInt16, CInt32, CFloat32, CFloat64
Response Parameters:
- returnURL
- URL of output raster map
- returnFormat
- Format of output raster map
- Default: GeoTIFF
For further informations
ServiceLocation
WSDL
JavaInterface
See also GRASS command
r.mfilter
FILTERS
The filter file is a normal UNIX ASCII file designed by the user.
It has the following format:
TITLE TITLE
MATRIX n
.
n lines of n integers
.
DIVISOR d
TYPE S/P
EXAMPLE FILTER FILE
TITLE 3x3 average, non-zero data only, followed by 5x5 average
MATRIX 3
1 1 1
1 1 1
1 1 1
DIVISOR 0
TYPE P
MATRIX 5
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
DIVISOR 25
TYPE P
|