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.

This question already has an answer here:

Is there any way to perform multiple reclassification using RasterCalc?

For example reclassifying value 1 to 100 in map Map can be written as:

eq([Map]@1, 1, 100)

But if there are multiple values to reclassify in one operation, how can I do it? For example reclassifying value 1 to 100 AND 2 to 200 in map Map.

eq([Map]@1, 1, 100), eq([Map]@1, 2, 200) //<-This does not work!!

Please give me a advice.

share|improve this question

marked as duplicate by underdark Mar 31 '13 at 19:10

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Not sure that it is possible with RasterCalc. But you may try this: eq([eq([Map]@1, 1, 100)]@1, 2, 200) –  SS_Rebelious Mar 31 '13 at 18:17

1 Answer 1

If you have installed SEXTANTE and SAGA/GRASS then you could also just use those functions.

Both come with a reclassification function (r.reclass in GRASS and "Reclassify Grid Values"), which support so called rules. In a "rules file" you could simply specify multiple reclassifications.

share|improve this answer

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