Presentation | Dialog box of the application |
Syntax |
The operation in AdapRas is made based on the relation of the three parameters described below:
Size Grid origin Horizontal reference system
If the sizes, grid origin and horizontal reference systems are equal, an adaptation is made to the bounding box of the second raster. The values of the result will be the same as those of the raster to be adapted, except those of the area of the raster that does not have any point on the raster to be adapted, in these cells, the values will be equal to NoData. Any resampling is done.
If the reference systems are the same, but the sizes and/or the grid origin are different, a fitting by raster resampling is performed, according to one of the four following methods: nearest neighbor, 4 neighbors mode, bilinear interpolation or bicubic interpolation. In these last two options (bilinear interpolation and bicubic interpolation), when the value resulting from the resampling is a value outside the range of values of the original raster (lower than the minimum value or higher than the maximum value of the original raster), the user is allowed to select between to saturate the resampled value to the minimum value of the original raster (or maximum as appropriate) or assign NoData.
If the horizontal reference systems are different, a system change is made (projection parameters, datum, etc). In this case, a resampling will be done according to one of the four methods explained before.
The NoData value will be equal, as appropriate, to the value given by the user if not beyond the range of raster data representation to adapt or, otherwise, the present value of the raster to adapt, except when it is not defined, case in which it is written a value that depends on the type of raster data to adapt as detailed below.
Data type | NoData value |
---|---|
bit (logical) | 0 |
byte | 255 |
integer | -32768 |
unsigned integer | 65535 |
long | -2147483648 |
real | -3.4E+38 |
RECOMMENDATIONS SUMMARY (where DensRas program is indicated also applies to AdapRas)
EXPANSION: + Categorical map: CanviRes [followed by the method in X. Pons' Ph D thesis] + Sensor image: CanviRes for classification (not recommended) DensRas L, for visual analysis + DEM: DensRas L CONTRACTION:+ Categorical map: CanviRes, M option + Sensor image: CanviRes, C option for classification CanviRes, d or m option for visual analysis + DEM: CanviRes, d or m option for median or mean heights DensRas L, for heights that prioritize central values in the resulting cell
AdapRas dialog box. |