AnsweredAssumed Answered

I was running Rastor calculator but I got indentation errors

Question asked by haniballemma on Feb 9, 2016
Latest reply on Feb 9, 2016 by haniballemma

i was trying to execute the following command in Map algebra-----raster calculator.

     Con((("tpi300m_std" > -100) & ("tpi300m_std" < 100)) & ((("tpi2010m_std" > -100) & ("tpi2010m_std" < 100)) & ("slope_deg" <= 5)),5)

     con((("tpi300m_std" > -100) & ("tpi300m_std" < 100)) & ((("tpi2010m_std" > -100) & ("tpi2010m_std" < 100)) & ("slope_deg" > 5)),6)

     con((("tpi300m_std" > -100) & ("tpi300m_std" < 100)) & ("tpi2010m_std" >= 100),7)

     con((("tpi300m_std" > -100) & ("tpi300m_std" < 100)) & ("tpi2010m_std" <= -100),4)

     con(("tpi300m_std" <= -100) & (("tpi2010m_std" > -100) & ("tpi2010m_std" < 100)),2)

     con(("tpi300m_std" >= 100) & (("tpi2010m_std" > -100) & ("tpi2010m_std" < 100)),9)

     con(("tpi300m_std" <= -100) & ("tpi2010m_std" >= 100),3)

     con(("tpi300m_std" <= -100) & ("tpi2010m_std" <= -100),1)

     con(("tpi300m_std" >= 100) & ("tpi2010m_std" >= 100),10)

     con(("tpi300m_std" >= 100) & ("tpi2010m_std" <= -100),8)

however, I got the message ERROR 000539 parsing error indentationError unexpected indent.

 

anybody can help me please?

Outcomes