Geographic Information Systems Asked by Robin Lovell on June 25, 2021
My student is having a problem when he tries to convert floating raster data to integer: the data is simplified and produces a considerably different map.
Any ideas for setting conditions or re-doing the raster calculator equation to sidestep this issue?
There is most of the time a loss of information when you convert float to integers. I would say that there are two types of solution to avoid losing too much :
rescale the data by multiplying the raster values by a constant (e.g. 1000). In this case, think about the type of integer before you rescale (Byte goes up to 255, uint16 up to 65535 etc). the "optimal" linear rescaling will use the maximum and the minimum values of your dataset: 255 * (rastervalue - min )/ (max - min)
reclassify the data into meaningfull group. You will then loose the quantitative information and replace it with categories. e.g. "0 to 3" becomes "small" (stored as 1), ..., and "100 to 1000" becomes "large" (stored as 5).
Answered by radouxju on June 25, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP