5 Steps for Processing OSGB Data to Display on the Web Server

18 July,2018

The oblique photogrammetry is an efficient and precise method for data collection and rapid modeling. It has been used in lots of projects. The following parts will introduce the steps from getting OSGB data to display the data on the web server based on SuperMap iDesktop and SuperMap iServer.

Step 1: Generate the SCP configuration file

There are lots of OSGB data manufacturers at present. SuperMap iDesktop needs to generate index files (.scp files) based on existing configuration files (e.g. Smart3D outputs metadata.xml) to access to OSGB data. The steps are as follows:

1. Open SuperMap iDesktop, select “oblique photogrammetry” menu->”general”->"create OSGB config file".

2. Select the catalog where the OSGB data is located.

3. Set the name and saving path of the configuration file. The name can not contain special characters, and the filename cannot be “config”.

4. Set the center location of the model, including longitude, latitude and altitude in “model reference”. It can be set up with reference to the original configuration file (like metadata.xml).

5. Tick the “projection settings” and set the coordinate system information of OSGB data. It can be set up with reference to the projection information of the original configuration file (like metadata.xml). There are two ways for this setting, one is importing the existing projection file, the other is setting the coordinate system based on the existing parameter. If the coordinate system of the original configuration file is ENU, please tick the ENU option box.

6. After setting the above parameters, click the “ok” button to complete the configuration file generation.

Step 2: Data processing and optimization (OSGB)

Besides loading the OSGB data, SuperMap iDesktop can also optimize the OSGB data to enhance the display efficiency in the scene. You can check the steps from the link bellow:

https://www.supermap.com/en/html/SuperMap_GIS_news460.html

Step 3: Model Monomer

If you need to query one or more objects of OSGB data after completing the loading of OSGB data, , you can you implement model monomer processing. The steps are as follows:

1. In the Oblique Photogrammetry group, click Model Monomer to display the dialog box as shown below:

2. Click the button to the right of OSGB data to display the Open dialog box, where you can specify the *.scp data for model monomer, click Open.

3. Relation Settings allow you to set the vector polygon dataset, relate field associated with the oblique images.

    a. Datasource: The datasource where the associated vector polygon dataset is.

    b. Dataset: The dataset to be associated with the model dataset, which can be a 2D or 3D polygon dataset.

    c. Related Field: Set the relate field for OSGB data and the vector polygon dataset.

4. Click the button to the right of Target Path, set the *.scp result data in the dialog box that display.

5. Click OK to implement the model monomer operation.

Then the new OSGB data will be generated, and the corresponding vector data can be used as model for querying.

Step 4: Generate S3M (Spatial 3D Model) format

1. Select “oblique photogrammetry” menu——”WebGL”——generate S3M data.

2. Select the configuration file (.scp) of the OSGB data.

3. Set the saving path of S3M data.

4. Set the compression type of the data. There are 3 types: PC, Android and IOS.

5. After setting the above parameters, click “ok” button to complete the S3M data generation.

Step 5: Save the workspace and publish the data.

1. Open SuperMap iDesktop and add a 3D caching layer in a new 3D scene and select the S3M file which is generated in step 4.

2. Double click the layer to skip to the visual range of this layer and check whether the cache has been generated successfully. Then save the workspace and scene.

3. Go to SuperMap iServer management page and select “Quickly publish service(s)”, and then publish as “REST-3D Service”

4. You can review the 3D service in WebGL when the result shows “successfully published”.

Tags: Big Data

More Articles