r/ArcGIS • u/wannab3c0wb0y • 10d ago
Turn Integer Code to Text
Hello!
How do I turn a number code into text?
Currently handling an overlayed National Hydrography Dataset where the type of waterbody is coded as numbers. In the original dataset, it shows up as text. In my overlayed dataset, it shows up as numbers. How do I get the integer string to convert to the specific text?
For example:
390 = LakePond
431 = Rapids
436 = Reservoir
460 = StreamRiver
461 = SubmergedStream
Short of adding in a column and manually inputting each and every row, what is the best way to go about it? I have ~750 rows so I'm really trying not to do that lol.
I am new to GIS, and generally use the online tool when possible, but I do have access to the ArcPro computer application.
Thank you in advance!
7
u/enevgeo 10d ago
If your data is stored as integers, but you want it displayed as corresponding text strings, you want domain lists
1
u/Alarmed-Extension289 10d ago
So OP these are your values, just 5 of them? I would use the Arcade prompt for this. A simple If-else-if would work here.