Tutorial summary
In this tutorial, you will publish the feature service and evaluate the neighborhood street data using the three checks you created in the previous tutorial, Create validation rules in an enterprise geodatabase. You will do this by preparing a map for publishing and evaluating rules in ArcGIS Pro and ArcGIS Enterprise.
Remarque :
Si vous n’avez pas accès à une géodatabase d’entreprise ou à un service d’entités, ou si vous ne maîtrisez pas les principes de base de l’utilisation de ArcGIS Enterprise, consultez les didacticiels de démarrage rapide ArcGIS Data Reviewer pour ArcGIS Pro.
Durée estimée | 25 minutes |
Configuration logicielle requise | Versions minimales de ArcGIS Pro 3.3 et de ArcGIS Enterprise 11.3 ou ultérieure |
Licences requises | ArcGIS Pro:
ArcGIS Enterprise:
Remarque :L’extension de type d’utilisateur ArcGIS Advanced Editing est requise pour suivre cette série de didacticiels. |
Conditions requises pour les données | Les données de ce didacticiel sont disponibles à partir de la page ArcGIS Data Reviewer for Enterprise Tutorial. Ce paquetage contient un paquetage de projet et un sous-ensemble des données d’exemple Autorités locales. Pour télécharger les données, procédez comme suit :
|
Open the project
Dans cet exercice, vous allez ouvrir un paquetage de projet avec ArcGIS Pro contenant des données modélisées dans une géodatabase fichier et vérifier son contenu.
- Démarrez ArcGIS Pro.
- Si nécessaire, connectez-vous à ArcGIS Pro avec votre compte Enterprise.
Attention :
Ce didacticiel s’appuie sur le premier didacticiel, Créer des règles de validation dans une géodatabase d’entreprise. Pour poursuivre cette série, vous devez terminer le premier didacticiel. Si vous n’avez pas téléchargé les données du premier didacticiel Data Reviewer pour ArcGIS Pro et ArcGIS Pro, consultez les conditions requises ci-dessus concernant les données et terminez le premier didacticiel.
Integrate data quality management in a feature service
Before you can share the features as web layers, you must prepare the map that you are going to publish. In this workflow, you will open an existing map and prepare it for publishing by adding feature layers and configuring map properties.
To add layers to the map, complete the following steps:
- Ouvrez le fichier DataReviewerTutorial.ppkx dans ArcGIS Pro s’il n’est pas déjà ouvert.
Attention :
Le premier didacticiel, Créer des règles de validation dans une géodatabase d’entreprise, est un prérequis aux étapes suivantes. Terminez le premier didacticiel avant de passer à l’étape 2.
- In the Catalog pane, expand Maps, right-click the Naperville_Services map and click Open if it is not already open.
The Naperville Service map opens.
- In the Catalog pane, expand Databases, and expand the DataReviewer_Tutorial enterprise geodatabase you created and the Naperville feature dataset if it is not already expanded.
- Press Ctrl while clicking the AddressPoints, BuildingFootprint, Parcels, and RoadCenterline feature classes from the enterprise geodatabase to select several feature classes at once.
- Right-click any of the selected feature classes and click Add To Current Map.
The data sources are added to the Naperville_Services map.
- In the Catalog pane, right-click the MasterRoadName table and click Add To Current Map.
The table is added to the Contents pane.
Remarque :
The MasterRoadName table must be included in the map to support evaluation of road centerline features for data quality requirement ID 3: Road centerline Full Road Name attribute values must match the master street index. This data quality requirement was created in the previous tutorial, Create validation rules in an enterprise geodatabase.
- In the Catalog pane, press Ctrl while clicking each of the following attribute rule error layers: GDB_ValidationLineErrors, GDB_ValidationObjectErrors, GDB_ValidationPointErrors, and GDB_ValidationPolygonErrors.
Remarque :
If you authored attribute rules from the first tutorial and do not see the attribute rule error layers, right-click the enterprise geodatabase and click Refresh.
- Right-click any of the selected feature classes and click Add To Current Map.
The data sources are added to the Naperville_Services map.
Remarque :
The attribute rule error layers must be included in the map to enable the validation service data quality capabilities on the web layers.
- In the Contents pane, right-click the BuildingFootprint layer and click Zoom To Layer.
Arrange layers for the feature service
Next, you will rename and rearrange the layers to reflect how they appear in the published web service.
To arrange the layers, complete the following steps:
- Right-click the layer in the Contents pane and click Properties.
- On the Layer Properties dialog box, edit the layer name to remove the fully qualified dataset portion of the layer name, and click OK.
For example, the fully qualified name, datareviewer_tutorial.sde.RoadCenterline, would be renamed RoadCenterline.
Conseil :
You can edit a layer name from the Contents pane by clicking the layer to select it, then clicking it again to rename it.
- Repeat the previous step for all layers that would expose the fully qualified dataset name when the service is published.
- In the Contents pane, drag the layers to arrange them in the following order if necessary:
Order Layer name 1
Validation Point Errors
2
Address Points
3
Validation Line Errors
4
Road Centerlines
5
Validation Polygon Errors
6
Parcels
7
Building Footprints
8
Validation Object Errors
9
Master Road Name
In ArcGIS Pro, you can share a map that contains multiple layers as a web service. When you share a web service, the layers in the map become service sublayers. Each sublayer is identified by a unique numeric ID that allows you to use or reference it in a web map or application. For example, you can reference a service sublayer by the URL https://<service-url>/<layerID>.
By default, each layer that you share is automatically assigned an ID based on its drawing order in the Contents pane, beginning with 0 for the first layer. If you share selected layers from the map, the IDs are based on the sequence of the selected layers, including any group layers they are contained in.
Assign layer IDs
To assign layer IDs that will remain static as the map is modified, complete the following steps:
- In the Contents pane, right-click the Naperville Services map and click Properties.
- On the Map Properties dialog box, on the General tab, check the Allow Assignment Of Unique Numeric IDs For Sharing Web Layers check box.
- Click OK.
Sequential IDs are assigned to each layer in the map.
Publish the map to a feature service
A feature service allows you to expand the Data Reviewer capabilities to other members of your organization. As a publisher of a feature service, you can decide what functionality is available to organization members who use the feature service. When others access the feature service, they can view the data or run the validation attribute rules you created. To enable these capabilities, you must publish and share the feature service.
Remarque :
Icons are unavailable if you are not signed in to your Enterprise account and do not have publishing or administrative privileges.
To publish the map to a feature service, complete the following steps:
- In ArcGIS Pro, verify that the Naperville_Services map is open and active.
- On the ArcGIS Pro ribbon, click the Share tab.
- In the Share As group, click the Web Layer
drop-down arrow and click Publish Web Layer
.
The Share As Web Layer pane appears.
- Type Naperville_Services in the Name text box on the General tab of the Share As Web Layer pane.
- Optionally, provide a summary and add tags in the Summary and Tags text boxes.
- In the Reference registered data section, ensure that Map Image is selected, and check the Feature check box to share the web feature layer as a dependent layer to the map image layer.
Attention :
For web feature layers to use attribute rules, they must reference registered data sources. This ensures that the data is not copied during the publishing process and is directly referenced by the service.
- In the Location section, choose the storage location for the web layer in the Portal Folder and Server and Folder drop-down menus.
By default, the web layer is saved to your root folder in My Content.
Conseil :
To save the web layer to a different folder in My Content, type the folder name or browse to an existing folder.
- Sous Sharing Level (Niveau de partage), indiquez le mode de partage de la couche Web :
- Owner (Propriétaire) : seul le propriétaire (et les membres de l’organisation autorisés à consulter le contenu détenu par d’autres membres) ont accès à l’élément. Il s’agit de l’option par défaut.
- Organization (Organisation) : permet de partager le contenu avec tous les utilisateurs authentifiés de votre organisation. Cette option est disponible si vous êtes connecté avec un compte d’organisation.
- Everyone (public) (Tout le monde [public]) : permet de partager le contenu avec le public. Tout le monde peut y accéder et l’afficher.
- Sous Groups (Groupes), vous pouvez également sélectionner les groupes auxquels vous appartenez pour partager votre contenu avec leurs membres.
- On the Configuration tab, in the Configure Layers group, in the Capabilities section, check the Version Management and Validation check boxes.
The Version Management service is required to activate the data quality management capabilities provided by the Validation service.
- Optionally, click the Content tab to view the new web layers and their associated layer identifiers.
- Click Analyze to check for errors.
Errors appear on the Messages tab. Right-click the error message to access information about the error or warning message and review suggested fixes.
Remarque :
If you have not registered the enterprise geodatabase with the data store, you can click Options
next to the error message, and choose Register Data Source with Server to register it.
- When the information and content pass validation, click Publish to share the datasets as web layers.
In this exercise, you prepared the map for publishing by opening an existing map, adding feature layers to it, and configuring the map's properties to assign layer IDs. You shared the map to your Enterprise portal with version management and validation capabilities. These capabilities will be used in the next tutorial, Error management in ArcGIS Server, to manage data editing workflows and evaluate the quality of data shared across your organization.
Rubriques connexes
Vous avez un commentaire à formuler concernant cette rubrique ?