AnsweredAssumed Answered

Reclassify by ASCII

Question asked by gurung.anan on May 15, 2017
Latest reply on May 15, 2017 by gurung.anan

I want to reclassify the landuse map as follows:

 

Original code

Field

New code to be given

0100

Rice paddy

1

0200

Agricultural fields

2

0500

Forest

3

0600

Barren area – OTHERS

4

0700

Built up area

5

0901

Road

5

0902

Railway

5

1000

Other inland type

4

1100

Inland waters

6

1400

Coastal area

4

1500

Ocean

7

1600

Golf course

4

0000

Outside areas

4

 So I made an input ASCII remap files as follows:

# Remap Table for cell value reclassification
0100 : 1
0200 : 2
0500 : 3
0600 : 4
0700 : 5
0901 : 5
0902 : 5
1000 : 4
1100 : 6
1400 : 4
1500 : 7
1600 : 4
0000 : 4

 

The output that I wanted was the reclassified map with 7 unique values. I wanted codes like 0700, 0901 and 0902 to be merged together and given the value 5. However, my reclassified map looks like this. 

When I open the symbology window, I do not have the option of seeing the map by different attributes. 

When I do the reclassification manually, I get results like this.

 

What is wrong with my ASCII file? 

Outcomes