Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having trouble performing calculations with single output map algebra ArcgIS 9.3 using conditional statements and applying it to several model outputs as they are generated: The statement is:

Con(dem%n%<= -0.02,1).

I have tried these: Con('dem%n%' <= -0.02,1) and Con("dem%n%" <= -0.02,1) but they seems unstable. What would be a better solution?

share|improve this question
What are you trying to accomplish? We cannot tell from the question because your use of Con does not conform to its syntax, making it unintelligible. – whuber Dec 10 '13 at 16:17

So it looks like you are using the format: Con(<condition>, <true_expression>, <false_expression>)

Based on your question are you using %n% as a form of wildcard for your 'several model outputs'?

There is a Con (Spatial Analyst) tool which may help you format your expression and use it in a model.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.