Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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
1  
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

1 Answer 1

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

 
discard

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.