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.
Hinweis:
Wenn Sie keinen Zugriff auf eine Enterprise-Geodatabase oder einen Feature-Service haben oder wenn Sie mit den Grundlagen der Arbeit mit ArcGIS Enterprise nicht vertraut sind, nutzen Sie die ArcGIS Data Reviewer-Schnellstart-Lernprogramme für ArcGIS Pro.
Geschätzte Zeit | 30 minutes |
Softwareanforderungen | Mindestversionen ArcGIS Pro 3.3 und ArcGIS Enterprise 11.3 oder höher |
Lizenzanforderungen | ArcGIS Pro:
ArcGIS Enterprise:
Hinweis:Für diese Lernprogramm-Reihe ist die Benutzertyp-Erweiterung ArcGIS Advanced Editing erforderlich. |
Datenanforderungen | Die Daten für dieses Lernprogramm sind auf der ArcGIS Data Reviewer for Enterprise-Lernprogrammseite verfügbar. Dieses Paket enthält das Projektpaket und einen Teil der Beispieldaten der Kommunalverwaltung. Um die Daten herunterzuladen, führen Sie die folgenden Schritte aus:
|
Open the project
In dieser Übung öffnen Sie in ArcGIS Pro ein Projektpaket, das in einer File-Geodatabase modellierte Daten enthält, und überprüfen seinen Inhalt.
- Starten Sie ArcGIS Pro.
- Sign in to ArcGIS Pro using your Enterprise account if necessary.
- Klicken Sie auf der Startseite neben Ihren zuletzt verwendeten Projekten auf Anderes Projekt öffnen.
Hinweis:
Wenn Sie ein Projekt geöffnet haben, klicken Sie auf der Symbolleiste für den Schnellzugriff auf Projekt öffnen
. Wechseln Sie dann zu Schritt 4.
- Klicken Sie auf der Seite Projekt öffnen auf Computer.
- 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.
- Klicken Sie auf 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.
Hinweis:
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.
Hinweis:
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
Validierungsattributregeln identifizieren in einer Datenbank vorhandene Features, die den festgelegten Datenqualitätsbedingungen nicht entsprechen. Validierungsregeln werden zum Bewerten der geometrischen Integrität eines Features, der räumlichen Beziehungen mit anderen Features und der Konsistenz von Attributen verwendet.
In this exercise, you will author a series of validation attribute rules in the enterprise geodatabase.
Die folgende Tabelle gibt einen Überblick über einen Teil der Datenqualitätsanforderungen, die Workflows für die Adresssuche unterstützen. Diese Regeln implementieren Sie als Validierungsattributregeln, um sicherzustellen, dass alle adressbezogenen Features diesen Anforderungen entsprechen.
ID | Anforderung | Überprüfung | Beteiligte Feature-Class/Tabelle |
---|---|---|---|
1 | Straßen-Features dürfen keine Duplikate enthalten. | Doppeltes Feature | Straßenmittelachse |
2 | Building footprints must be within the tax parcel. | Feature on Feature | Building Footprint, Parcels |
3 | Die Werte des Attributs Full Road Name von Straßenmittelachsen müssen mit dem Hauptstraßenindex übereinstimmen. | Attribut für "Tabelle in Tabelle" | Road Centerline, Master Road Name |
Implement requirement ID 1
Straßen-Features dürfen keine Duplikate enthalten. Diese Anforderung wird mit der Prüfung Doppeltes Feature implementiert, um die Straßenmittelachsen-Features zu suchen, die übereinstimmende Geometrien und identische Attributwerte enthalten.
Um Anforderung ID 1 zu implementieren, führen Sie die folgenden Schritte aus:
- 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.
Hinweis:
In the following steps, the fully qualified enterprise geodatabase feature layer names may appear different, such as datareviewer_tutorial.sde.RoadCenterline.
Tipp:
The Data Design options are also available by right-clicking a feature class in the Contents pane.
- Klicken Sie auf der Registerkarte Attributregeln in der Gruppe Regeln hinzufügen auf die Dropdown-Galerie Einsatzbereite Regeln
, um automatisierte ArcGIS Data Reviewer-Prüfungen anzuzeigen.
Hinweis:
Der Inhalt der intelligenten Galerie Einsatzbereite Regeln variiert je nach ausgewählter Datenquelle.
- Klicken Sie in der Galerie Einsatzbereite Regeln im Abschnitt Validierung auf Doppeltes Feature
, um eine neue Regel hinzuzufügen.
Die neue Regel wird in der Ansicht "Attributregeln" mit einem roten Zeilenkopf angezeigt. Damit wird angegeben, dass in der Regelkonfiguration erforderliche Parameterwerte fehlen.
- Klicken Sie im Abschnitt Parameter überprüfen auf den Dropdown-Pfeil Zu vergleichende Features, und wählen Sie RoadCenterline aus.
- 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.
Tipp:
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.
- Klicken Sie auf der Registerkarte Attributregeln in der Gruppe Attributregeln auf Speichern
, um die neuen Regeln zu speichern.
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.
Um Anforderung ID 2 zu implementieren, führen Sie die folgenden Schritte aus:
- 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.
Tipp:
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.
- Klicken Sie auf der Registerkarte Attributregeln in der Gruppe Attributregeln auf Speichern
, um die neuen Regeln zu speichern.
Implement requirement ID 3
Die dritte Anforderung, "Die Werte des Attributs Full Road Name von Straßenmittelachsen müssen mit dem Hauptstraßenindex übereinstimmen", wird mit der Prüfung Attribut für "Tabelle in Tabelle" implementiert. Mit der Konfiguration werden Ortsstraßen gesucht, deren Straßennamen in keiner offiziellen Liste der Straßennamen der Gemeinde zu finden sind.
Um Anforderung ID 3 zu implementieren, führen Sie die folgenden Schritte aus:
- 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.
- Klicken Sie in der Galerie Einsatzbereite Regeln im Abschnitt Validierung auf Attribut für "Tabelle in Tabelle"
, um eine neue Regel hinzuzufügen.
Die neue Regel wird in der Ansicht "Attributregeln" mit einem roten Zeilenkopf angezeigt. Damit wird angegeben, dass in der Regelkonfiguration erforderliche Parameterwerte fehlen.
- Konfigurieren Sie einen Filter für die Feature-Class "Road Centerlines", damit bei der Validierung nur Ortsstraßen als Ergebnisse zurückgegeben werden.
- Klicken Sie im Abschnitt Eingabefilter auf Neuer Attributfilter.
- Erstellen Sie die folgende Klausel: Road Class is equal to Local-Local.
- Klicken Sie auf Die Gültigkeit des SQL-Ausdrucks überprüfen
, um den SQL-Ausdruck zu prüfen.
- Klicken Sie auf Übernehmen.
- Erstellen Sie im Abschnitt Parameter überprüfen die Beziehung zwischen der Feature-Class "Master Road Name" und dem vollständigen Straßennamen.
- Klicken Sie auf das Dropdown-Menü Zu vergleichende Features und dann auf MasterRoadName.
- Klicken Sie im Abschnitt Attributbeziehung auf Neue Attributbeziehung, und erstellen Sie die folgende SQL-Abfrage: Full Road Name is equal to Full Road Name.
- Klicken Sie auf Die Gültigkeit des SQL-Ausdrucks überprüfen
, um den SQL-Ausdruck zu prüfen.
- Klicken Sie auf Übernehmen.
- Aktivieren Sie das Kontrollkästchen Beziehung umkehren, um die Fälle zu finden, bei denen der "Master Road Name" nicht mit dem vollständigen Straßennamen übereinstimmt.
- 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.
Tipp:
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.
- Klicken Sie auf der Registerkarte Attributregeln in der Gruppe Attributregeln auf Speichern
, um die neuen Regeln zu speichern.
- 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.