The extraction of shape features from vector elements is essential in cartography and geographic information science, supporting a range of intelligent processing tasks. Traditional methods rely on different machine learning algorithms tailored to specific types of line and polygon elements, limiting their general applicability. This study introduces a novel approach called “Pre-Trained Shape Feature Representations from Transformers (PSRT)”, which utilizes transformer encoders designed with three self-supervised pre-training tasks: coordinate masking prediction, coordinate offset correction, and coordinate sequence rearrangement. This approach enables the extraction of general shape features applicable to both line and polygon elements, generating high-dimensional embedded feature vectors. These vectors facilitate downstream tasks like shape classification, pattern recognition, and cartographic generalization. Our experimental results show that PSRT can extract vector shape features effectively without needing labeled samples and is adaptable to various types of vector features. Compared to the methods without pre-training, PSRT enhances training efficiency by over five times and improves accuracy by 5–10% in tasks such as line element matching and polygon shape classification. This innovative approach offers a more unified, efficient solution for processing vector shape data across different applications.
12 June 2025 in Cartography and Geographic Information Science
Leveraging larger-scale data with higher currency to incrementally update smaller-scale data, thereby upholding consistency across multiple scale databases, has become a core focus of contemporary map production tasks centered on data updates. Existing methods rely on rule-based constraints to extract change information and identify update-required objects, which have notable limitations in terms of method generalization and constraints on results. To address the above issues, we propose an intelligent incremental updating method for different scale building datasets supported by Categorical Boosting (CatBoost). The proposed method forms a general incremental updating framework for buildings through three steps: change information extraction, change information classification, and change information updating. Experiments conducted on different scale datasets from Ningbo, China, demonstrate that the proposed method can effectively identify update-required objects and generate more reasonable updated smaller-scale data than the comparative methods.