Table of Contents

Update the localization service with upgraded mapping results

This article details how to add the lossless upgraded mapping result Block to the cloud localization library. Depending on the mapping version and the cloud localization library version, choose the corresponding operation method to use Mega-related functions in practical applications.

Upgrade from version 9.x to version 9.x

If the mapping version is upgraded from 9.x to 9.x, and the current cloud localization library version is V4.0, please refer to: Use lossless update results for localization.

Upgrading from version 7.x/8.x to 9.x

If the mapping version is upgraded from 7.x/8.x to 9.x, and the current cloud positioning library version in use is V2.0 or V3.0, it is necessary to create a new V4.0 version of the cloud positioning library and load the upgraded result block. The specific steps are as follows:

Create V4.0 cloud localization library

  1. Log in to the EasyAR Developer Center, select Mega Block -> Block Cloud Localization from the left menu bar, and click the Manage button under the corresponding Mega Cloud Localization service group to enter the cloud localization library management interface.

    Cloud service management

  2. Click the Create button in the upper right corner, fill in the cloud localization library name in the pop-up window, select the latest cloud localization library version V4.0, and finally click Confirm to create the cloud localization library.

    Create cloud localization library

Associate mapping task

  1. Click the + button in the associate mapping task area.

    Associate mapping task

  2. In the pop-up window, select the corresponding MegaBlock repository and click Confirm.

    Associate mapping task

  3. If the associated MegaBlock repository is selected incorrectly, click the Change button to reselect.

    Change associate mapping task

Bind the megablock repository

Under the corresponding cloud positioning repository, click the Bind the megablock repository dropdown and select the desired repository.

Bind the megablock repository

Loading upgraded result block

  1. After binding the cloud localization library to the MegaBlock repository, click the Manage button to enter the cloud localization library management interface.

    Enter cloud localization library management interface

  2. In the cloud localization library management interface, click the Add button.

    Add block

  3. Select the corresponding upgraded mapping result block in the pop-up window, then click Confirm.

    Add block

    Note
    • Only one block can be added at a time.
    • If the corresponding upgraded result block cannot be found, check whether the data format of the cloud localization library matches the lossless upgraded mapping data format.
      If inconsistent, refer to: Switching cloud localization library data format.
  4. After confirming the addition, view the addition progress on the page.

    View addition progress

    If added successfully, the corresponding block will appear in the Mega Block list of the cloud localization library.

    Added successfully result

    If the addition fails, click the Clear task button in the progress pop-up to re-add.

Next steps