With the increasing popularity of location-based services, channel state information (CSI) has received widespread attention in positioning due to the fine-grained information it provides. However, the raw amplitudes of CSI are especially sensitive to noise and easily effected by the frequency-selective fading. As the expanding of test area, positioning is disturbed by random noise and insufficient resolution of features severely. In this paper, we propose Cluster-Mapping (C-Map), an adaptive pre-processing system for CSI amplitude-based fingerprint localization. This system models positioning as a classification problem, an adaptive processing mechanism is constructed according to the characteristics of CSI amplitude. C-Map mainly contains two parts: dynamic denoising and feature enhancement. In the dynamic denoising, effective features are screened out by clustering iteratively, without specifying parameters according to the experimental environment. In the feature enhancement, polynomial fitting with regularization is used to reduce jagged fluctuations, then the trend of variation over 30 sub-carriers are described by combining derivation with nonlinear kernel function. Extensive experiments are conducted in typical environments to verify the superior performance of C-Map for the preprocessing of CSI amplitude. Compared with the combination of mean and multidimensional scaling (MDS), the average positioning error of C-Map is reduced 28.1% in comprehensive indoor environment, and 19% in garage. Furthermore, compared with the combination of DBSCAN and principal component analysis (PCA), the average positioning error of C-Map is reduced 33.1% in comprehensive indoor environment, and 28% in garage.INDEX TERMS Channel state information (CSI), feature enhancement, data pre-processing, wireless communication, indoor localization.