Publish MongoDB Tile

Instructions for use

Directly publish the Tile in the MongoDB database as a data source as Map Service, REST service, OGC service, 3D service, Other services, etc., and support publishing Raster Tile and Vector Tile.

Before you publish a MongoDB Tile, you need to do the following:

Caution:
MongoDB version 3.2

is currently supported.

Operation steps

  1. Start the iServer service and run the startup. Bat/startup. Bat in the bin directory of the SuperMap iServer.
  2. If you start the iServer service for the first time, you also need to Register and log in the http://localhost:8090/iserver/ address in the browser. Follow the prompts to complete the steps for creating an administrator account, checking the System Environment, configuring licenses, and then configuring the demonstration service.
  3. On the Online tab, in the Publish iSever Service group, click the MongoDB Tile button to bring up the Publish MongoDB Tiles. dialog.
  4. Enter the iServer address of the Publich Service. The Server Address entered last time is selected by default. If it is used for the first time, you need to enter the Login SuperMap iServer dialog box through New Connection to set the Server Address, user name, and password. The address of successful login will be Auto Save in History, which is convenient for login again.

    Server Address supports entering the Server Address after the custom iServer installation directory/webapps/iserverFolder Name. It is compatible with three iServer Server Address formats of localhost, HTTP, and HTTPS. The formats are as follows:

    • localhost:8090
    • localhost:8090/iserver
    • localhost:8090/userdefine
    • http://localhost:8090
    • http://localhost:8090/iserver
    • http://localhost:8090/userdefine
    • https://localhost:8443
    • https://localhost:8443/iserver
    • https://localhost:8443/userdefine
  5. Caution:

    If the iServer service is not started or the administrator account or password is entered incorrectly, you will not be able to log in normally. Please confirm whether the Connection Info is correct and then log in again.

  6. Connect to MongoDB: The related information of the Area Setting MongoDB server and database. Parameter Description is as follows:
    • Server Address: Enter the address of the MongoDB server where Map Tiles are stored.
    • Database Name: Enter the Database Name where Map Tiles are stored.
    • Username/Password: if the user name and password are set in the database, the corresponding user name and password of the database shall be entered; if the user name and password are not set in the database, they can be left blank.
  7. Publish Map Service: Select the Tile to be published by checking the checkbox. It is supported to select one Tile or all the tiles in the entire database; Then select the Server Type to be published. Supported Map Services include REST Map Service, OGC services, and Other services. For a detailed introduction to Server Type, please refer to Introduction to Introduction to WebData source .
  8. Caution:

    The ArcGIS REST Map Service provides access to maps and layers and related operations, including:

    • Get a list of maps and layers and view Attributes.
    • Feature editing is
    • supported, including Retrieve Feature, Add Feature, Update Feature, and Delete Feature.
    • Supports Raster Query, Spatial Query, Range Query, and SQL Query.
    • It supports plotting, including full map, Hawkeye map, Vector Tile, etc.
    • Clear the map image cached by the server.
  9. Publish 3D Service: Check this box to publish a Tile as a 3D Service by checking the Tile in the list.
  10. Caution:

    Map Service and 3D Service can be published at the same time. Publish Map Service only supports publishing by selecting one or all Tiles. Publish 3D Service can select multiple Tiles. The selected Tiles of the two services do not conflict.

  11. Click the Publish button, and the Output Window will prompt whether the publication is successful. If the publication is successful, the Output Window will display the published Server Type and each service link. The user can click the link address to view the service publication results.
  12. Figure: Publish MongoDB Tiles. Output Result.
  13. Click the link of the REST Map Service successfully published to enter the root directory page of the SuperMap iSever Rest service. Click the next level of directory maps to view the published map list. Select a browsing method to browse the Tile Data in the browser.
  14. Click the link of the successfully published 3D Service, enter the root directory page of SuperMap iSever 3D Service, click the next directory realspace, enter the root node page of 3D Service, and click the next directory datas. You can browse the data in 3D in the 3D Dataset List.
Figure: Publish MongoDB Tiles. Output Result.

Related topics