Experience ArcGIS9.2 's history library features

Source: Internet
Author: User

Go from the original to experience ArcGIS9.2 's history library function

ESRI released the historically important software release ArcGIS9.2 on November 9, 2006, with the following four main features (ESRI Tian Changlian) added:

    1. First features: Non-version editing features. Multi-user editing can be done without a version;
    2. The second most powerful feature: Version data copy function. It provides convenience for distributed data synchronous replication;
    3. The third feature: SQL capabilities for Oracle space. Full support for Oracle-implemented Geodatabase spatial SQL interface;
    4. The fourth Daxin feature: Enhanced Geodatabase. The following points are included:

      (1) Historical database function

      (2) A large number of surface data sets have been changed and improved

      (3) file-based geodatabase, breaking through the Access file size 2G limit, equivalent to the enhanced personal geodatabase.

These new features above, to tell the truth I have been very fond of, have time really want to experience a bit. Nonsense, let's start by checking the History Library feature that ArcGIS9.2 brings.

1, first installed ArcGIS9.2 Desktop.

Note that to install 9.2, all previous versions of the software, including Desktop,arcgis Engine,arcgis server, must all be uninstalled first.

2, install SDE9.2.

The previous version of SDE does not support the History Library feature.

If you have an installation package that does not have an authorization file, please go here: http://www.cnblogs.com/watsonyin/archive/2007/02/09/646031.html

3, prepare the data. Here I import a very small parcel stratum for testing, the layer name is SDE.SDE.ZD.

4, registered version. Open Arccatalog, create a new connection to the default version, then select the layer, right click, click Register as versioned in the pop-up menu, this is the same as in version 9.1, only the registered version, in order to create the next "Build History Library"

5. Create a History library.

Select the layer in Arccatalog and right-click to find more than 9.1 archiving, including two sub-menus, Enable archiving and disable archiving. Click Enable Archiving and the system will automatically create a corresponding history layer for the layer, with the history layer's name SDE.SDE.ZD_H. We can't see the layer in Arccatalog because it's filtered. If you connect this data to other machines using the ArcGIS9.1 software, you can see that the layer is actually no different from the normal layer.

The data for the created history layer is a copy of the original layer, but you can see three more fields: Gdb_from_date,gdb_to_date,gdb_archive_oid. See these three fields, immediately understand the general idea, the first two fields refers to the existence of graphical objects, Gdb_from_date is the creation time of the graph, gdb_to_date is the deletion or modification of the graphics time. This is the same idea I used to make history library with Mo. The operation of the graph can be divided into three types, such as add, delete, change, and can be regarded as the first delete and then add a graphical object, so all the operation can be attributed to increase, delete two operations, which is the origin of the two fields. As for gdb_archive_oid, there is no explanation.

6. Enable History editing options

In Arccatalog, click Options under the Tools menu, and in the Options window, switch to the Geoprocessing page and select the log geoprocessing operations to as historical model, as shown in , so that when we edit the graph, the historical data generated during the editing process is automatically recorded in the history layer.

7. Editing graphics

Here we can do the editing test. Open ArcMap, select the layer, and do some intermittent editing to facilitate the experience later.

8. Create a new connection to the history database

You can do this in Arccatalog or ArcMap in the Select Data dialog box. Click on Add spatail Database Connection, click the Change button in the New Connection window, the following window will pop up:

We choose the connection refers to a historical version and choose whether to connect to a historical marker or specify a point in time.

9. Historical Data browsing

This is the key party to our experience

After the connection has been built, in ArcMap we use the connection to open the data sde.sde.zd. Right-click on the ArcMap toolbar, click Geodabase History, and the Library toolbar will appear.

The tool bar has three buttons, namely:

(1) Geodatabase history Viewer: Historical data Browsing tool.

(2) Add historical Archive: Add a History layer to the map.

(3) Historical Marker Manager: The history tag manager.

These three tools are described below:

9.1 Add Historical Archive

Selecting a layer in the TOC, and then tapping the tool button, adds the history layer corresponding to the selected layer to the Map window. As you can see, the history layer includes all the data produced during the editing process. To view the properties, you can see that its data source is SDE. Sde. Zd_h, you can also see the new fields in the field list. This man tool is not very big, because we do not need to add a history layer to the historical data, directly to the status of the layer to operate on it. Of course, by programming extensions, history layers can play a big role, for example, by filtering through attributes, viewing a history period, rather than the data situation at a point in time.

9.2 Historical Marker Manager

The so-called historical mark, in fact, is a textual description of a historical point of view, which is easier to understand than the history time, and thus more convenient for browsing historical data. In the example, I created three historical tags, namely "initial state", "New AB", "Remove a move B", which will be clear at a glance.

9.3 Geodatabase History Viewer

Click on it and the following screen will appear. If you are adding data using a History connection, this interface will be in an unusable state.

In historical Date and time, you can select a history marker, or you can select a specific moment and click the Apply button to see the data at that point in history. Other I would like to not explain, look at the different historical points of view of the picture.

(Time: 16:20:09 initial state)

(Time: 16:22:50 Create graphics A, B)

(Time: 16:26:06 Delete Graphics A, move B)

In this way, you can easily browse the data for any historical time. Through programming, we can also expand, for example, different historical moments of data comparison browsing and so on.

Experience ArcGIS9.2 's history library features

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.