WMS:Feature Selection

From XMS Wiki
Jump to navigationJump to search

With ArcObjects enabled three different selection methods are available. However, before attempting to select layers you should make sure that the layer(s) you want are selectable. By default a layer is selectable when you open it, but the status can be changed to unselectable using the Selectable Layers command in the Selection menu.

Graphical Selection

The select features tool can be used to interactively select features from GIS layers. When selecting using graphical selection all features from all selectable layers will be added to the selection list. A rectangular box can be dragged around a region of interest and then all features from all selectable layers that have in part within the rectangle will be added to the selection list.

The Options command is used to specify how features are selected and the way they are displayed.


File:WMSImage132.png


Selection by Attribute

Features of a layer can also be selected based on a query of the attributes and their values. The Query Wizard is used to choose the layer you wish to select from and the way the query results will be treated. The query can create a new selection, add to the current selection, remove from the current selection, or select on from within currently selected features.


File:WMSImage133.png


Selection by Location

You can select features from one or more GIS layers based on their spatial relationship to another layer. The Select By Location dialog allows you to specify whether you will select new features, add to currently selected features, select from selected features, or delete from selected features. In addition, it allows you to specify the layers you are selecting from as well as the relationship with the selection layer. Finally, you specify the layer used for selection and whether you will use all features or only selected features. A buffer distance can be added to the features of the selection layer.

File:WMSImage098.png


Clearing Selected Features

The Clear Selected Features command clears all features from the selection list.

Related Topics