The SuperMap iServer supports the aggregation of multiple
map tiles libraries and publishing them as a map service, which implements
data aggregation at the tile level. The tiles that support aggregation
include MBTiles, SMTile, UGCV5 format files in file storage, also support
map tiles stored in MongoDB. The release steps and precautions are as
follows:
- In the service management
homepage, click on quick service
publishing or in the Servcie->Service management page, click on
quick service creation to enter the publishing
wizard;
- The select data source is "multi tiles",
and click Next;
- Select or fill in the corresponding data
configuration and click Next:
- Enter the map name, that is, the name of the map services published
after the aggregation of multiple map tiles libraries;
- Select combining mode
- The range and
scale of the default: published map name service is the set of
all tile ranges and scales in the data source.
- Base tileset:
parameters such as the scope and scale of the published map name
service are based on the set base map tile
- Custom scales:
The scale of the published map name service is a custom scale
- Tile sets: Add the tile sets to be published. Different tile
sets can be added in different ways
MongoDB
1) Click the +
button to pop up the "select mongodb tiles" "pop-up box;
2) Select the source of "distributed
tiles storage". If the registered distributed tiles storage is selected,
the corresponding information such as server and name will be filled automatically;
If "add distributed tiles storage" is selected, a new MongoDB
server { IP }: { port }, name, user name and password to add new distributed
tiles storage; In addition, you can click the +
button to add the server address of the replicationset to form redundant
backup and improve data security;
3) Click the click
to get tilesets button, and select the tile set to be published;
4) Click OK
to complete the addition of a MongoDB tile set.
SMTile
1) Click the +
button to pop up the "Select SMTile tile Set" pop-up box;
2) Enter or select the path of the SMTile
file;
3) Click the click
to get tilesets button to select the tile set to be published;
4) Click OK
to complete the addition of an SMTile tile set.
UGCV5
1) Click the +
button to pop up the "select ugcv5 tiles" pop-up box;
2) Enter or select UGCV5 tile config file;
3) Click the click
to get tilesets button to select the tile set to be published;
4) Click OK
to complete the addition of a UGCV5 tile set.
- Add other tile sets to be published according to the above
steps. After adding, you can adjust the order of different tiles
according to your needs (the order of slices in tile sets from
top to bottom is consistent with that in published map name service).
- Make corresponding settings according to the selection of combining
mode:
- If default is selected, no other settings are required,
and click Next;
- If base tileset is selected, base
tileset needs to be set, and the setting steps are
the same as those in the "Add tile sets". If the
base map needs to be modified, click the "-" button
on the right side of the corresponding base map to delete
the original base map tile, and then click the +
button to reset. After completing the configuration, click
Next;
- Custom scales: input your customized scale in the input
box of "custom scales" (three formats are supported,
such as "1/100000", "1:100000" or "0.00001"),
and then click "+". After adding all the scale bars,
you can use Move Up
and Move Down to reorder
the scale bars, or use the "-" button to delete
the entered scale bars. After completing the configuration,
click Next;
- 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.
Note:
- The projection and size of multiple
tile libraries published in a service shall be consistent.
- After The data of multiple tile
libraries are published as map services, the overlapping areas
of different tiles will be automatically overlapped, and the overlapping
order of different tiles is determined by the order in tile sets.
The order of tile sets in tile sets is consistent with the order
of tiles from top to bottom in the published map name service.
- It is recommended that you select
a transparent tile set when publishing multi tiles.
- Selecting custom scales without
setting the scale bar uses the scale bar of the last tilesets
in total of the tile Set array as the visible scale bar for the
map; If you select base tileset but do not add base, the scale
and extents of the last tilesets in total of the tile set array
are used as the visible scale and extents of the map.