ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Ayuda
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plataforma de representación cartográfica para tu organización

ArcGIS Desktop

Un completo SIG profesional

ArcGIS Enterprise

SIG en tu empresa

ArcGIS Developers

Herramientas para crear aplicaciones basadas en la ubicación

ArcGIS Solutions

Plantillas de aplicaciones y mapas gratuitas para tu sector

ArcGIS Marketplace

Obtén aplicaciones y datos para tu organización.

  • Documentación
  • Soporte
Esri
  • Iniciar sesión
user
  • Mi perfil
  • Cerrar sesión

ArcMap

  • Inicio
  • Introducción
  • Cartografiar
  • Analizar
  • Administrar datos
  • Herramientas
  • Extensiones

Defining an SQL query in ArcGIS Production Mapping

Disponible con licencia de Production Mapping.

Structured Query Language (SQL) queries allow you to select features by using feature attributes. When you choose the feature attributes you want to use in the query, you can then specify a range of values to use to define a selection set for a tool. In ArcGIS Production Mapping, SQL queries can be used with ArcGIS Data Reviewer Desktop to define a set of features to use with a particular tool. With Data Reviewer, you can use an SQL query to create a subset of features from a feature class on which you want to run a check. For example, if you want to run a check only on roads that are classified as major highways, you could define a query that selects only those features for the check.

For more information about data checks in Data Reviewer, see Checks in Data Reviewer.

You can also use this tool to select features from the first layer listed in the table of contents.

  1. Inicie ArcMap.
  2. Add the Select Features Using SQL tool by doing the following:
    1. On the main menu, click Customize > Customize Mode.

      The Customize dialog box appears.

    2. Click the Commands tab.
    3. In the Categories list, choose Production Control Commands.
    4. From the Commands list, drag the Select Features Using SQL button Select Features Using SQL to a toolbar.
    5. Haga clic en Cerrar.
  3. Click the Select Features Using SQL button Select Features Using SQL.

    The Select Features Using a Query dialog box appears.

    Sugerencia:

    You can also open this dialog box by clicking SQL on the check properties dialog box or by clicking SQL Builder on the Reviewer Table Properties dialog box.

    Select Features Using a Query dialog box
  4. Double-click the field to use with the query in the Fields list.

    The field name appears in the Where Clause text box, and the possible values for the field are shown in the Values list.

    Nota:
    If there is a large number of possible values for a field, only a short list of them is initially shown.
  5. Click an operator to add it to the query.
  6. If necessary, click All Values to view all the unique values for the field.
  7. Double-click a field value in the Values list.

    The value is added to the query.

  8. Repeat steps 4 through 7 to add parameters to the query.

    Nota:
    You can also edit the SQL statement directly in the Where Clause text box.

  9. Click Verify to verify that the query is valid.

    A message appears that indicates the number of records returned by the query.

  10. Haga clic en Aceptar.

Temas relacionados

  • Buscar entidades con una consulta SQL

ArcGIS Desktop

  • Inicio
  • Documentación
  • Soporte

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

Acerca de Esri

  • Quiénes somos
  • Empleo
  • Blog de Esri
  • Conferencia de usuarios
  • Cumbre de desarrolladores
Esri
Díganos su opinión.
Copyright © 2021 Esri. | Privacidad | Legal