Tutorial summary
In this tutorial, you will implement data quality workflows for neighborhood streets and related data to ensure that they meet your organization's data quality requirements. You will identify errors in data that is shared across the organization so that members can review and make edits to the data using the ArcGIS Data Reviewer extension for ArcGIS Pro and ArcGIS Enterprise. To get started, register a feature service and create three attribute validation rules to review the data.
注意:
エンタープライズ ジオデータベースまたはフィーチャ サービスへのアクセス権がない場合、または ArcGIS Enterprise の基本的な操作に慣れていない場合は、ArcGIS Pro の ArcGIS Data Reviewer のクイックスタート チュートリアルをご参照ください。
予定時間 | 30 minutes |
ソフトウェア要件 | 最小バージョンは ArcGIS Pro 3.3 および ArcGIS Enterprise 11.3 以降 |
ライセンス要件 | ArcGIS Pro:
ArcGIS Enterprise:
注意:このチュートリアル シリーズを実施するには、ArcGIS Advanced Editing ユーザー タイプ エクステンションが必要です。 |
データ要件 | このチュートリアルのデータは、「ArcGIS Data Reviewer for Enterprise Tutorial」ページから取得できます。 このパッケージには、プロジェクト パッケージと地方自治体サンプル データのサブセットが含まれています。 データをダウンロードするには、次の手順に従います。
|
Open the project
この演習では、ファイル ジオデータベースでモデル化されたデータを含む ArcGIS Pro を使用してプロジェクト パッケージを開き、そのコンテンツを確認します。
- ArcGIS Pro を起動します。
- Sign in to ArcGIS Pro using your Enterprise account if necessary.
- 開始ページにある最近使用したプロジェクトの横で、[別のプロジェクトを開く] をクリックします。
注意:
プロジェクトを開いている場合は、[クイック アクセス ツールバー] の [プロジェクトを開く]
をクリックして、手順 4 に進みます。
- [プロジェクトを開く] ページで、[コンピューター] をクリックします。
- Browse to the project file in the folder where you downloaded and extracted the tutorial data: C:\EsriTrainng\DataReviewer_EnterpriseTutorial\CreateValidationRules.
- Click the DataReviewerTutorial.ppkx file.
- [OK] をクリックします。
Set up an enterprise geodatabase
To publish the neighborhood data as a feature service, you must create an enterprise geodatabase and add it to your project. Publishing data as a feature service allows it to be maintained and edited in a multiuser environment.
注意:
The following steps to create and connect to an enterprise geodatabase will vary based on the relational database management system (RDBMS) your organization uses. For this tutorial, the enterprise geodatabase is named DataReviewer_Tutorial and is implemented using PostgreSQL.
To set up an enterprise geodatabase, complete the following steps:
- Create an enterprise geodatabase named DataReviewer_Tutorial.
- Create a database connection.
注意:
Ensure that the Branch option is selected under Versioning Type.
An enterprise geodatabase named DataReviewer_Tutorial is created and a new database connection is added in the Databases folder.
Migrate the tutorial data
To migrate the tutorial data from the file geodatabase to the target geodatabase and register the data as versioned, complete the following steps:
- In the Catalog pane, expand Databases and expand the DataReviewerTutorial file geodatabase.
- Press the Ctrl key while clicking the Naperville feature dataset and the MasterRoadName tables.
- Right-click any of the selected objects and click Copy.
- Right-click the enterprise geodatabase and click Paste Special.
The Paste Special dialog box appears, and the Naperville feature dataset is listed in the first row.
- Click OK.
- Expand the enterprise geodatabase.
The enterprise geodatabase automatically updates to show the migrated data in the Catalog pane.
- In the Catalog pane, right-click the Naperville feature dataset in the enterprise geodatabase and click Manage.
The Feature Dataset Properties dialog box appears with geodatabase properties in the Manage geodatabase functionality section.
- On the Feature Dataset Properties dialog box, check the Versioning check box and choose the Branch option.
Leave the Archiving, Global IDs, and Editor tracking check boxes checked (the default).
- Click OK to apply the geodatabase properties.
- In the Catalog pane, right-click the MasterRoadName table in the enterprise geodatabase and click Manage.
- On the Feature Dataset Properties dialog box, check the Versioning check box and choose the Branch option.
Leave the Archiving, Global IDs, and Editor tracking check boxes checked (the default).
The tutorial data is migrated to the enterprise geodatabase. Now you will implement your organization's data quality requirements using Data Reviewer-based attribute rules.
Author validation attribute rules
検証属性ルールでは、指定したデータ品質条件を満たしていない既存のフィーチャがデータベース内で特定されます。 検証ルールは、フィーチャのジオメトリ整合性、他のフィーチャとの空間リレーションシップ、および属性の完全性を評価するために使用されます。
In this exercise, you will author a series of validation attribute rules in the enterprise geodatabase.
次の表に、住所検索のワークフローをサポートするデータ品質要件のサブセットを示します。 これらのルールを検証属性ルールとして実装して、住所に関連するすべてのフィーチャがこれらの要件に準拠していることを保証します。
ID | 要件 | オン | 属しているフィーチャクラス/テーブル |
---|---|---|---|
1 | 道路フィーチャに重複が含まれていてはいけない。 | 重複フィーチャ | Road Centerline |
2 | Building footprints must be within the tax parcel. | Feature on Feature | Building Footprint, Parcels |
3 | 道路中心線 Full Road Name 属性値はマスター ストリート インデックスと一致している必要がある。 | テーブル間属性 | Road Centerline、Master Road Name |
Implement requirement ID 1
道路フィーチャに重複が含まれていてはいけない。 この要件は、一致するジオメトリと同一の属性値を含む道路中心線フィーチャを検出するための「重複フィーチャ」チェックを使用して実装します。
要件 ID 1 を実装するには、次の手順を実行します。
- In the Catalog pane, expand the Naperville feature dataset in the enterprise geodatabase, right-click the RoadCenterline feature class, and click Data Design > Attribute Rules.
The Attribute Rules tab appears for the Road Centerline feature class.
注意:
In the following steps, the fully qualified enterprise geodatabase feature layer names may appear different, such as datareviewer_tutorial.sde.RoadCenterline.
ヒント:
The Data Design options are also available by right-clicking a feature class in the Contents pane.
- [属性ルール] タブの [ルールの追加] グループで、[レビューアー ルール]
ドロップダウン ギャラリーをクリックして、ArcGIS Data Reviewer の自動チェックを表示します。
注意:
[レビューアー ルール] ギャラリーのコンテンツはスマート ギャラリーで、選択したデータ ソースによって異なります。
- [レビューアー ルール] ギャラリーの [検証] セクションで、[重複フィーチャ]
をクリックして、新しいルールを追加します。
新しいルールが、赤い行ヘッダー付きで属性ルール ビューに表示されます。この赤い行ヘッダーは、必須パラメーター値がルール構成から欠落していることを示しています。
- [パラメーターのチェック] セクションで、[比較するフィーチャ] ドロップダウン矢印をクリックして [RoadCenterline] を選択します。
- In the Details section, configure the properties that will store results for features that fail validation.
- Type Road features must not contain duplicates in the Name text box.
- Type This is a duplicate feature. Delete one of the features. in the Description text box.
- Click the Severity(1-High, 5-Low) drop-down arrow and choose 2 to set the relative importance for results of this type compared to others.
- Type LGIM 2024, thematic accuracy, attributes in the Tags text box and press Enter.
ヒント:
Tags can be used to keep track of requirements. Consider including the data model and version that the rule is related to or including an ISO-19157 data quality element, such as thematic accuracy.
- [属性ルール] タブの [属性ルール] グループで、[保存]
をクリックして、新しいルールを保存します。
Once the first attribute rule is authored, the error layers are automatically generated in the enterprise geodatabase. You may need to refresh the connection to see it.
Implement requirement ID 2
The second requirement, building footprints must be within the tax parcel, is implemented with the Feature On Feature check to find building footprints that are not within the tax parcel.
要件 ID 2 を実装するには、次の手順を実行します。
- In the Catalog pane, expand the Naperville feature dataset in the enterprise geodatabase, right-click the BuildingFootprint feature class, and click Data Design > Attribute Rules.
The Attribute Rules tab appears for the Building Footprint feature class.
- On the Attribute Rules tab, in the Add Rules group, click the Ready to Use Rules
drop-down arrow to display the gallery containing ArcGIS Data Reviewer automated checks.
- In the Validation section, click Feature On Feature
to add a new rule.
The new rule appears in the Attribute Rules view with a red row header, indicating that required parameter values are missing from the rule's configuration.
- In the Check Parameters section, click the Features to Compare drop-down arrow and choose Parcels.
- Click the Spatial Relationship drop-down arrow and choose Within.
- Check the Invert Relationship check box to find scenarios where building footprints are not within tax parcels.
- In the Details section, configure the properties that will store results for features that fail validation.
- Type Building footprints must be within a tax parcel in the Name text box.
- Type Building footprints must be completely within a tax parcel. Move the building footprint into a tax parcel. in the Description text box.
- Click the Severity(1-High, 5-Low) drop-down arrow and choose 3 to set the relative importance for results of this type compared to others.
- Type LGIM 2024, thematic accuracy, attributes in the Tags text box and press Enter.
ヒント:
Tags can be used to keep track of requirements. Consider including the data model and version for which the rule is related, or including an ISO-19157 data quality element, such as thematic accuracy.
- [属性ルール] タブの [属性ルール] グループで、[保存]
をクリックして、新しいルールを保存します。
Implement requirement ID 3
道路中心線 Full Road Name 属性値はマスター ストリート インデックスと一致している必要があるという 3 番目の要件は、テーブル間属性チェックを使用して実装します。 この構成は、自治体の正式な道路名リストに記載されていない道路名の値を含む一般道路を検出します。
要件 ID 3 を実装するには、次の手順を実行します。
- In the Catalog pane, expand the Naperville feature dataset in the enterprise geodatabase, right-click the RoadCenterline feature class, and click Data Design > Attribute Rules.
The Attribute Rules tab appears for the RoadCenterline feature class.
- On the Attribute Rules tab, in the Add Rules group, click the Ready to Use Rules
drop-down arrow to display the gallery containing ArcGIS Data Reviewer automated checks.
- [レビューアー ルール] ギャラリーの [検証] セクションで、[テーブル間属性]
をクリックして、新しいルールを追加します。
新しいルールが、赤い行ヘッダー付きで属性ルール ビューに表示されます。この赤い行ヘッダーは、必須パラメーター値がルール構成から欠落していることを示しています。
- Road Centerlines フィーチャクラス上にフィルターを構成して、検証が一般道路の結果のみを返すようにします。
- [入力フィルター] セクションで [新しい属性フィルター] をクリックします。
- 次の句を作成します: Road Class is equal to Local-Local。
- [SQL 式の確認]
をクリックして SQL 式を確認します。
- [適用] をクリックします。
- [パラメーターのチェック] セクションで、Master Road Name フィーチャクラスと完全道路名の間にリレーションシップを作成します。
- [比較するフィーチャ] ドロップダウン メニューをクリックし、[MasterRoadName] をクリックします。
- [属性リレーションシップ] セクションで [新しい属性リレーションシップ] をクリックし、SQL 式「Full Road Name is equal to Full Road Name」を作成します。
- [SQL 式の確認]
をクリックして SQL 式を確認します。
- [適用] をクリックします。
- [リレーションシップの反転] チェックボックスをオンにし、マスター道路名が完全道路名と一致しないシナリオを検索します。
- In the Details section, configure the properties that will store results for features that fail validation.
- Type Road name missing from master street list in the Name text box.
- Type This check fails if the full road name is not found in the master street index. Provide a valid road name. in the Description text box.
- Click the Severity(1-High, 5-Low) drop-down arrow and choose 1 to set the relative importance for results of this type compared to others.
- Type LGIM 2024, thematic accuracy, attributes in the Tags text box and press Enter.
ヒント:
Tags can be used to keep track of requirements. Consider including the data model and version for which the rule is related or including an ISO-19157 data quality element, such as thematic accuracy.
- [属性ルール] タブの [属性ルール] グループで、[保存]
をクリックして、新しいルールを保存します。
- Close the Attribute Rules tab to close the rule design and keep ArcGIS Pro open to continue to the next tutorial.
In this exercise, you created and configured an enterprise geodatabase and authored three validation attribute rules. You will use these rules in the next tutorial to publish and evaluate the rules in a feature service.