Abstract. Terrain services have increasingly wide applications in urban planning, 3D gaming animation, and other fields. Map websites typically provide terrain services to users in the form of terrain shaded relief tiles. Map tile technology offers a new solution for large-scale concurrent user access. Although terrain shaded relief tiles can effectively represent changes in terrain relief, users cannot adjust the visualized raster images for visualization schemes, making data analysis and applications more challenging. The emergence of Terrain-RGB technology has effectively addressed this limitation. However, currently, internet maps mostly provide multi-level map services to users in the form of web map tile service (WMTS). Terrain-RGB images produced by simple encoding tools may exhibit grid lines when rendered on tiles with a small grid spacing, affecting the usability of Terrain-RGB products. Therefore, this paper proposes a technical approach for producing global multi-level Terrain-RGB products using digital elevation model (DEM), focusing on addressing the issues of gridlines and splicing traces from different scenes DEM data, offering a new solution for map websites to release analyzable terrain services.