Cache Directory Other Hierarchy Building Bases

Layers with different resolutions obtained after the Image Pyramid is generated according to the Image Data, and the initial layering and the final layering determined by the system; meanwhile, the system specifies the layering level number of each layer according to the resolution of the Image Layer, starting from the first layer, which corresponds to the image layer with the lowest resolution; The second layer corresponds to the image layer with higher resolution than first layer; the third layer corresponds to the image layer with the highest resolution.

Depending on the storage type, the resulting cache results will vary.

  1. If the "raw" type is used to store the cached results, the
    • According to the Global rule of the longitude and latitude coordinate system, the Image Data of each layer is blocked, the Data Save of the corresponding range of each block is a cache file (cache image), and the file name of the cache file is nRow _ nCol _ nVersion. Postfix.

      Where, nRow: refers to the row number of the corresponding block of the cache file in the Global grid, which shall be at least 4 characters, and shall be filled with 0 if it is not enough;
      nCol: refers to the column number of the corresponding block of the cache file in the Global grid, which shall be at least 4 characters, and shall be filled with 0 if it is not enough;
      nVersion: refers to the version number of the cache file, which is 0000 by default;
      Postfix: refers to the extension of the cache file, which is *.png.

    • Store
    • the layered and blocked cache files in groups, and determine which block cache files are stored together according to the rules in the "Grouping Grid" below.
  2. If you store the cached results in a "packed" type, the
    • On the basis of the above block grouping, all cache files in the same group are compressed and encrypted to be stored as three cache files, and the filenames of the cache files are successively: Name. ~, Name. SC, name.sc00.

      Where, Name: is the Cache name, that is, the name of the cache root directory, here is day.


When SuperMap carries out layering and blocking on the terrain/Image Data, a rule based on a longitude and latitude coordinate system Global is adopted, the rule establishes a global uniform grid subdivision model, and the data of the global scale and the data of the regional scale are layered and blocked by adopting the uniform rule, That is to say, a standard system for data segmentation has been established. According to this rule system, it is also easy to determine which hierarchical block range a certain range of terrain/Image Data belongs to. The Tiling Mode of the quadtree is adopted to carry out layered and blocked segmentation on the Global, the layered results respectively correspond to Raster layers with different resolutions obtained after the terrain/image Raster Data Create Image Pyramid, the first layer of the layered level is numbered as 0, In general, the maximum number of layers supported is 21.