SuperMap iServer supports publishing MongoDB
distributively-stored tile as map
services and 3D services directly. Where, map services include REST map
service, WMS service, WMTS service and so on, and 3D service includes
REST 3D service.
In detail, you can:
Publish map tiles and vector tiles in MongoDB as map
services
You can quickly publish existing MongoDB map tiles and MVT tiles by
the following steps. For map tiles, you can generate them with SuperMap iDesktop or the distributed tiling service offered by SuperMap iServer, and configure MongoDB to store them. For MVT tiles, you can use SuperMap iDesktop to generate and store into MongoDB.
- In service management "home"
clicks quickly publishing a service or a group of services, chooses
data source as " MongoDB tile", clicks "Next".
- Sets MongoDB service address, there are
the following two ways:
- Sets by choosing MongoDB
tile repository that has been set.
- Sets MongoDB service address directly, such
as "192.168.112.251:27017",also improves data security by
checking "add replication set" to add multiple MongoDB service
and form Redundant backup,please make sure the correctness of all
inputted MongoDB service address and port, then clicks "Next".
- Input the name of MongoDB database which
the to be published tile is located and the account who has the authority
to access the database
- Chooses the map tile to be published, as
a MongoDB service may contains tiles of multiple maps getting by tiling
image several times, the default is publishing tiles of all maps.
Clicks "Next".
- Chooses the service type to be published,
such as REST-map service, clicks "Next".
- Can see service configuration information,
including data source,service type to be published, clicks" finish"
to finish the publishing procedure.
- After published, can see the current service
name and link, such as map-mongodb-China/rest, can access service
by clicking. If chooses to publish all maps, the published map service
will contain multiple maps.
Publish MongoDB 2D and 3D tiles as
3D services
If your MongoDB database stores 2D and 3D tile, you
can publish these existing 2D and 3D tile to serve 3D through fast publishing
function.The supported 3D tile formats till now: 3D image tile, 3D terrain
tile, OSGB model tile
the main process to publish tile as service:
- In service management "home"
clicks quickly publishing a service or a group of service, chooses
data source as " MongoDB tile", clicks "Next".
- Sets MongoDB service address, there are
following two ways:
- Sets by choosing MongoDB
tile repository that has been set, then clicks "Next".
- Sets MongoDB service address directly,such
as "192.168.112.251:27017",also improves data security by
checking "add replication set" to add multiple MongoDB service
and form Redundant backup,please make sure the correctness of all
inputted MongoDB service address and port, then clicks "Next".
- Input the name of MongoDB database which
the to be published tile is located and the account who has the authority
to access the database
- Chooses 3D tile in 3D layer list to publish
it, and you can choose multiple 2D and 3D tiles at the same time,
then clicks "Next".
- Chooses the service type to be published,
such as REST-map service, clicks "Next".
- Can see service configuration information,
including data source, service type to be published, clicks"
finish" to finish the publishing procedure.
- After published, can see the current service
name and link, such as 3D-mongodb/rest, can access service by clicking.
Besides,you can publish MongoDB 2D tile as map service
at the same time, and publish 2D and 3D tile as 3D service by just choosing
the corresponding map tile or 3D layer.