Configure to use the new extended tile format

Feedback


Configuring tile storage

  1. Compile sample code and export it into JAR pacakge. Add the JAR file to %SuperMap iServer_HOME%/webapps/iserver/WEB-INF/lib directory.
  2.  Open the system configuration file iserver-system.xml (located at %SuperMap iServer_HOME%/webapps/iserver/WEB-INF/config), add storage ID and tile storage location in the <storages> node (you can name it, NationalCacheSample1 for instance in this example). Example is as follows:
  <storages> 
    <storage> 
      <id>NationalCacheSample1</id>  
      <tileSourceInfo class="com.supermap.services.tilesource.NationalCacheStandardTileSourceInfo"> 
        <outputPath>F:/tempcache>/outputPath> 
      </tileSourceInfo> 
    </storage> 
  </storages>
  1. Restart iServer.

Using extended tile format

Access http://localhost:8090/iserver/manager/tileservice/jobs page. Custom tile format can be employed while creating tiling task, please refer to Creating Tiling Task.

Except general operation, you still need to pay attention to:

Scale set supported in the regulation: [295829355.45, 147914677.73, 73957338.86, 36978669.43, 18489334.72, 9244667.36, 4622333.68, 2311166.84, 1155583.42, 577791.71, 288895.85, 144447.93, 72223.96, 36111.98, 18055.99, 9028.00, 4514.00, 2257.00, 1128.50, 564.25]