Presentation and options | Dialog box of the application |
Examples | Syntax |
The most common use of this application is in multicriteria modeling. For example, the user wants to determine the best locations for the installation of a solar farm in a territory. The operation that is typically done is with the calculator/reclassifier CalcImg from several layers (insolation, land cover, distance to communication routes, protected areas, etc), which will assign to each cell of a raster network the score obtained in that location according to the decision rule (the formula that combines the layers by applying weights according to their suitability for the installation). When the user has the result of this execution from CalcImg, and a histogram of the scores obtained in the different cells of the resulting raster is calculated it will be observed that the values do not usually present a continuous distribution. If, for example, the histogram shows that the cells have the following scores: 0 (not suitable cells), 12.5, 22.7, 23.5, 45.4, and 45.5, a reclassification could be made in which the areas with 0 are assigned a value of 1, areas with 12.5 a value of 2, and so on up to a value of 6 for cells with a value of 45.5, so that the resulting raster, of an ordinal nature, would say which cells have the optimal score (those with a value of 6), sub-optimal (those with a value of 5), etc, and this map would present the multicriteria evaluation data in an easily understandable way, on a continuous scale of integer values. The OrdreRas application facilitates the quickly result of this summary map in a single step, without the need to calculate and analyze the histogram, or make a subsequent reclassification, since the OrdreRas directly orders the values present in the resulting raster of the decision rule and automatically generates, for each value, consecutive integer indices. Despite the interest of this tool as a quick evaluation method, it is important to be aware that with this way of proceeding the quantitative idea of the difference between the scores is lost: in the previous example the cells with values 45.4 and 45.5 have a very similar level of adequacy, and it would probably be convenient that they were part of the same category of optimally scored cells. That is why, in many cases, after a first impression provided by OrdreRas for the evaluation of several decision rules, it may be convenient to do a manual reclassification in order to refine the classes finally presented for the final decision.
The input raster must be in the file format .img and the data type can be any supported by MiraMon (more information is explained at MiraMon raster formats description). The output raster file will be in .img format of integer numbers of type byte RLE, unsigned integer RLE or long RLE, depending on the number of ordination levels requested. The output file is always of the type RLE 'extra-compresed'. The value of 0 will be assigned as the NoData value in the raster output file.
The rank process can be completed using ascending or descending criteria but, in either case, the value of 1 will represent the first ordination level in the output file. In the case that two cells have the same value, they will be classified to the same ordination level, except in case of forcing the tiebreaker depending on the geographical position, an option designed exclusively to allow a behavior equal to that of the Idrisi Rank application. It is also possible to limit the maximum number of levels to order.
It is also possible to define the minimum and maximum threshold values to be considered. Depending on whether or not the threshold limit is greater or lesser than the specified value, the ordination values will be calculated within the defined limits, always including the limiting values within the rank. Cells with values outside of the defined threshold value will be classified as NoData. If the original raster dataset included NoData values that the user wishes to distinguish from the NoData values generated by this application, reclassify, using CalcImg, the NoData values of the output file from this application to a set value and then multiply the reclassified image with a mask image of the original raster, where the values of interest have a value of 1 and the rest are NoData.
![]() |
OrdreRas dialog box |
OrdreRas A C:\InputRaster.img C:\OutputFile.img
OrdreRas D C:\InputRaster.img C:\OutputFile.img /LIM_SUP=500
OrdreRas D C:\InputRaster.img C:\OutputFile.img /LIM_INF=-30.05 /LIM_PIX=5