SuperMap iServer supports publishing FastDFS distributively stored tiles as map services, such as REST map services, WMS services, and WMTS services.
You can publish an existing FastDFS tile as map service by following these steps:
- Click "publish a service or a group of services" on the homepage of the old-version service management, and select "FastDFS Tile" as the data source, click "Next";
- There are two ways to set the address of the FastDFS service:
- Set it by selecting a FastDFS tile repository that has been set and click "Next"
- Set the FastDFS service address directly, that is, sets FastDFS Trackers and FastDHT Groups service address respectively. Please confirm that all service addresses and ports entered are correct. Then click "Next"
- Select the tiles to be published, because one FastDFS service may contain multiple tiles of multiple maps, and the same map may also contain tiles of multiple versions. Therefore, the setting here is: when publishing "All" maps, the tiles of the latest version of all maps will be published , and when selecting a map, this tiles of the latest version of the map will be published. Click "Next".
- Select the published service type, such as rest map service, and click Next;
- You can see the service configuration information, including the data source and the published service type. Click Finish to complete the publishing process;
- After publishing, you can see the service name and link of the current publication, such as map-fastdfs/rest. Click it to access the service directly. If you choose to publish all maps, you will have more than one map in the published map services.