ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Creating and using layer selections

Layers and table views provide useful reference shortcuts to feature or tabular data on disk, but more important benefits are realized when they're used in conjunction with the selection tools: Select Layer By Attribute and Select Layer By Location.

The Select Layer By Attribute tool selects features based on attribute values, while the Select Layer By Location tool selects features based on their relationship to other features (within the same or in another feature class).

When the layer (as opposed to the path to the feature class or table) is used as input, only the selected features will be used. For example, if Select Layer By Attribute is run on a layer named World Countries, you devise a selection with "COUNTRY_NAME" = 'Canada', and the layer is used as input to Summary Statistics to sum the values in the POPULATION field, only one feature will be used (Canada) and the result will be a value of 33 million. However, if the path to the feature class (for example, C:\mydata.gdb\world_countries) is used instead of the layer name, all 195 features will be used and the result will be 6.7 billion.

The Copy Features tool can be used to make a permanent copy of the selection to a new feature class or table.

Multiple spatial and attribute selections can be combined using add to and remove from options on the Select Layer By Attribute and Location tool dialog boxes.

Layers and table views and selections can be used within Python scripts and models without having ArcMap, ArcScene, or ArcGlobe. To do so, use the Make Feature Layer and Make Table View tools to create the layers or view and perform selections on the layers, then use the layers as input to other tools.

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal