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

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 was marked as an exact duplicate of an existing 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

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.