SuperMap iServer supports publishing MongoDB distributed storage tiles as data sources directly to map services or 3D services. Among them, map services include REST map services, WMS services, WMTS services, OGC API map services, etc., and 3D services include REST 3D services.
You can publish grid tiles and MVT tiles stored in MongoDB as map services by following these steps. For map tiles, the SuperMap iDesktop or SuperMap iServer distributed tiling service generation, and the map cache also supports the configuration of MongoDB storage. For MVT tile, it can be produced by SuperMap iDesktop and stored in MongoDB.
- Click "publish service" on the "service management homepage" or click "quickly publish service" on the "service-service management" page to enter the publishing wizard;
- The select data source is "MongoDB tile". Click "Next".
- Select or fill in the corresponding data configuration and click "Next":
-
- Select distributed tiles storage source
- Select the registered distributed tiles storage, and the corresponding information such as server and name will be filled automatically
- Select "add distributed tiles storage", then fill in the new MongoDB server {IP}:{port}, name, user name and password to add new distributed tiles storage; You can also add the server address of the replicationset by clicking the "+" button to form a redundant backup and improve data security
-
- SuperMap iServer enables the "real time refresh tilesets" function by default, which is used to refresh the tiles in the MongoDB storage in real time and synchronize their changes. If you need to deactivate this function, you can uncheck it.
- Click the "click to get tilesets" button
- In 2D tilesets, select the tile that you want to publish as map services. The default entry is All, a MongoDB service may contain tiles of multiple maps obtained by tiling multiple maps, and the same map may also contain tiles of multiple versions. When "All" is selected, the system will publish the tiles of the latest version of all maps. When select a map, the latest version of the tile for the map is published
- In 3D tilesets, select the tile you want to publish as a 3D service. Multiple 2D and 3D tiles stored in the MongoDB database can be published as 3D services. Currently supported 3D tiles include: 3D image tiles, 3D terrain tiles, and OSGB Model tile
- Select the published service type, such as rest map service, and click Next;
- There is no need to configure the service. Click the "Publish" button to complete the publishing process;
- After publishing is completed, the status of each service publishing and the service access address link will be given. Click to access the service directly.