The invention belongs to the field of treatment of geographic information, and relates to a rapid building method of a tile
pyramid for a large-scale
raster data set. The method comprises the steps that 1, the
data set comprising image files is obtained; 2, the image files in the
data set are traversed, and a spatial index file is built; 3, the tile
pyramid maximum hierarchy and the image file number threshold value are set; the iteration variable k initial value is defined as the tile
pyramid maximum hierarchy; 4, the current hierarchy single-tile range retrieved image file number is compared with the threshold value; if the image file number is smaller than or equal to the set threshold value, each tile in the hierarchy is traversed, an
xml type character string of each tile is generated to be transferred to a Mapnik drawing engine for drawing and stored into the corresponding hierarchy of the pyramid; if the image file number is larger than the set threshold value, tile data of the existing k+1 hierarchies is called, and
resampling is carried out to generate tile data of k hierarchies to be stored into the corresponding hierarchies; 5, 1 is subtracted from the current hierarchy number k, if the result is larger than 0, the step 4 is executed again, and if not, the process is finished.