Instructions for use
Stereo Map can change the original simply displayed plane map into a three-dimensional map, so that the user can better identify the ground objects and increase the level of two-dimensional plane data; and by setting the style of the top surface and the shadow surface, the beauty of the map is increased; At present, Baidu Maps, Tencent and many other map manufacturers have launched Stereo Map viewing mode, only Zoom In to a certain scale range, you can see the three-dimensional effect of the buildings in the area.
Support the generation of building top data and side data by using the vector Region Dataset and the Specify Field value as the Extended Height value, so as to present a three-dimensional map in the two-dimensional space. As shown in the following figure:
The following is an example of Stereo Map production:
Operating instructions
- Data Preparation: Prepare a vector Region Dataset for making a three-dimensional map. An integer or double-precision field is required in the Dataset Properties to store the height of the building.
- On the Data tab, in the Data Processing group, click the Map Cartography Drop-down Button and select Stereo Map to bring up the Create Stereoscopic Map dialog.
- In the dialog, select Vector Region Dataset to create a stereoscopic effect, and set Pull Height Field and Resulting dataset name.
- Select whether to check the Show in Map check box. If checked, the implementation results will be automatically displayed in the Map after Stereo Map is completed. Stereo Map can be generated by setting the
- above parameters. As a result, two Datasets are generated, which are the top Region Dataset and the side Region Dataset of the building. Only when the two data are visible at the same time can display effect of Stereo Map be achieved.
- Top Region Dataset
- Side Region Dataset
For the top surface data, the Source Data is offset to the Y direction by a certain distance, that is, when the data is generated, the single object of the Source Data and the corresponding pull elevation value are directly read, and the pull elevation value is added to the Y value of Point2D in the object point set. Regenerate a copy of the top Region Dataset. The effect is shown in the figure below, but it is not difficult to find that there is still a certain gap between the offset effect and the stereo effect, because there is no side data between the two data.
From the comparison of Source Data and stereo top data, it is not difficult to find that they have a common feature that the coordinate of each point only has a specific value in the Y direction, and the X coordinate remains unchanged. According to this feature, it is convenient to construct the side data upward and take the first and second points of Source Data. We name it as point A and point B. With point A as the starting point, the second point is the point A1stretched by the Y value of point A, the third point is the point B1stretched by point B, and the fourth point is point B. Construct the point set in the clockwise direction to generate the side face. The principle is shown in the following figure:
- generated top data and side data to the same Map, and you can get a similar three-dimensional map through Layer Style configuration.
Figure: Stereo effect map |