Abstract. Restricted by the development level of hardware and software technology, computers cannot load massive data at one time, coupled with the fact that the three-dimensional linear scene is characterized by complicated lines, irregular shapes of features and a large number of features. Therefore, it is necessary to seek a three-dimensional spatial data organization and scheduling method applicable to the railroad scene to realize the display and interaction of the scene. In this paper, we propose a data organization method based on the aggregation degree function for the 3D model of features. The feature model is projected to generate an orthographic projection map, the cluster division rule is designed to divide the subsets, the feature model after clustering is aggregated using the feature model aggregation rule, and the aggregated model is displayed according to the aggregation degree function and viewpoint factor. The results of the test applied to the railroad scene show that the 3D spatial data aggregation based on the aggregation degree function can improve the loading speed of the 3D scene, and can effectively support the application of interactive visualization of the railroad 3D scene.