Skip To Content

Query Attributes

Available with Data Reviewer license.

Summary

The Query Attributes check finds features based on a query against its attribute values.

Overview

The purpose of the Query Attributes check is to identify errors based on a Structured Query Language (SQL) query that can include one or more attribute values. Depending on the database type, this query can also include functions (string and numeric) to implement complex queries. Features or rows returned by the query are written as a Reviewer result.

Industry scenarios

  • In parcel management, features that contain invalid values in their parcel identification numbers, invalid conveyance type, and encumbrance type attributes impact attribute consistency between features and reporting.
  • In gas utility management, pipe features that contain invalid values in the material and diameter fields impact asset reporting and modeling.
  • In water utility management, network features that contain invalid values based on known construction methods (such as butterfly valves measuring less than 24 inches in diameter) impact asset reporting, modeling, and locator services.

Syntax

ParameterRequiredDescription

Input Layers/Standalone Tables

Yes

The input feature layers or stand-alone tables evaluated by the rule.

Valid inputs for this rule type are feature layers and stand-alone tables. Click the Forward button Forward to apply filtering to specific features in the feature layer or specific rows in the stand-alone table.

Search Goal

Yes

Query expression to be applied to a feature layer or stand-alone table.

All features or rows whose parameters match those defined in the SQL query are returned as Reviewer results.

Title

No

Title property of the Reviewer result created when a noncompliant feature is found.

This information is used to support data quality requirement traceability, automated reporting, and corrective workflows.

Notes

No

Descriptive text of the Reviewer result created when noncompliant features are found.

This information is used to provide guidance to facilitate corrective workflows.

Severity

No

Severity of the Reviewer result created when noncompliant features are found.

This value indicates the importance of the Reviewer result relative to other results. Values range from 1 to 5, with 1 being the highest priority and 5 being the lowest.

Tags

No

Tag property of the Reviewer rule.

This information is used in rule authoring and management workflows to support traceability and reporting of data quality requirements.

Notes

  • When configuring filter parameters, care should be taken when using database-specific SQL functions that differ from those supported in your production environment. For more information, see SQL reference for query expressions used in ArcGIS.
  • When authoring a rule for multiple layers or stand-alone tables, only those fields that are common (matching name and data type) across all layers or tables can be used in the Search Goal parameter.

Related topics