Hello everybody,
i'm trying to do a compromise programming by using the raster calculator.
Therefor i already rastered and reclassifed my data to do the calculation via raster calculator.
The formula i would like to use is the following:
For P there are 3 different numbers i would like to use: 1, 2 and 10.
Actually u can exclude the denominator because it is 1-0=1.
By calculating with P equal to 1 i get the results i want to:
with the value of
But if i try to use p as equal to 2 my results are disappointing.
With the value of
I have tried using the ^ symbole, aswell as square(), and multiplying the raster by itself but the results are still the same.
Does anybody know on how to use the square numbers reasonably?
Thank you so much for your help in advance!
PS:
This is acutaly the command im using in raster calculator:
(((0.0001065673*((1-"Clip_autobahn.tif")^2))+(0.0001616659*((1-"Clip_HBF.tif")^2))+(0.0003389557*((1-"Clip_Innenstadt.tif")^2))+(0.0017410576*((1-"Clip_OPNV.tif")^2))+(0.0022480425*((1-"Clip_Schulen.tif")^2))+(0.0022480425*((1-"Clip_Kindergarten.tif")^2))+(0.0007933861*((1-"Clip_Supermarkt.tif")^2))+(0.0015687854*((1-"Clip_GeIn100.tif")^2))+(0.0002218016*((1-"Clip_WohnenMisch500.tif")^2))+(0.0000970058*((1-"Clip_GrWas600.tif")^2))+(0.0013743581*((1-"Clip_laerm.tif")^2))+(0.0009187989*((1-"Clip_Neigung.tif")^2))+(0.0012601951*((1-"Clip_WohnenJN.tif")^2))+(0.0063049764*((1-"Clip_Groesse.tif")^2))+(0.0053271346*((1-"Clip_Shape.tif")^2))+(0.0002822758*((1-"Clip_ErschlossenStrassen.tif")^2))+(0.0022364378*((1-"Clip_BRW.tif")^2))+(0.0126653831*((1-"Clip_Miete.tif")^2))+(0.0064344619*((1-"Clip_Leerstand.tif")^2))+(0.0022364378*((1-"Clip_FertigWohnungen.tif")^2)))^(0.5))
Solved! Go to Solution.
#Square
Power(inRaster, 2.0)
#Cube
Power(inRaster, 3.0)
#Square root
Power(inRaster, 0.5)
#Inverse
Power(inRaster, -1.0)
#etc.
#Square
Power(inRaster, 2.0)
#Cube
Power(inRaster, 3.0)
#Square root
Power(inRaster, 0.5)
#Inverse
Power(inRaster, -1.0)
#etc.
Thank you! It worked!