<div dir="ltr">Hi List,<div>How do I do a If/Else with the raster calculator *and* have the ability to set arbitrary values for both conditions.
</div><div><br></div><div>For example, similar to the below psuedocode:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

If(condition):<br>  Cell = 9<br>else:<br>  Cell = 68</blockquote><div><br></div><div>This seems like it'd be a core part of a raster calculator but all I can find is the ability to get True/False and then cludge around that, i.e. with:</div>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">(condition) * 9</blockquote><div><br></div><div>What am I missing? Good tutorials welcome (the ones I've found don't show anything beyond true/false).</div>

<div>Thanks,</div><div>Jonathan<br><br></div></div>

<br>
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)">This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.</span>