Setting layer properties

You control all aspects of a layer through the layer's properties. Some of the properties you can define include

The Layer Properties dialog box will be different for different types of geographic data. For example, defining the symbology of a feature class data source will be different from a raster dataset. Using the Layer Properties dialog box, you can set the layer's properties, such as its symbology. With a group layer, you can manage the properties that apply to the whole group. Open the layer properties for each individual layer within the group layer to edit the properties of each of its layers individually.

Layer properties

Here is a brief description of tabs in the Layer Properties dialog box for Feature layers:

CautionCaution:

There are restrictions if your data source does not have an Object-ID field. This will be the case with text files (.txt files), Excel data (.xls files) and OLE DB data, such as nonregistered Oracle files accessed through OLEDB that have been added to the map as an event layer using the File > Add Data > Add XY Data or File > Add Data > Add Route Events functions. These restrictions include

  • Layer selection properties are disabled.
  • The layer's features can't be selected on the map in any way. You can select records in the attribute table window, including selecting an expression in the Select By Attributes dialog box accessed from the Table window, but this selection set is not reflected on the map. Definition queries can't be defined in layer properties.
  • Operations that utilize the set of selected features can't be performed, such as navigating from the table to the map.
  • Relates can't be defined. Relates can only be created for tables with an Object-ID column. You can relate to a table without an Object-ID field from a table with an Object-ID. In this case, the relate can be used by the identify tool to list related records. You can't push selections via the relate.

With event data, the workaround is to create a feature class from the tabular data source instead of an event layer. If you are adding a table with no Object-ID field containing XY data, don't use the File > Add Data > Add XY Data command in ArcMap to create an event layer based on the table. Instead, go to ArcCatalog, right-click the table, and choose Create Feature Class from XY to create a new feature class from it. Then add that new feature class into your map. Alternatively, after using File > Add Data > Add XY Data or File > Add Data > Add Route Events functions to create an event layer from a table without an Object-ID, you can export the data to make a new layer. This will save the data to a feature class and therefore write out an Object-ID field. Another option is to use the Make_Query_Table geoprocessing tool which allows you to make the table using an OLEDB connection and to specify a column to use for the Object-ID or to dynamically add the Object-ID.

Steps:
  1. Right-click the layer in the table of contents and click Properties, or double-click the layer name to open the Layer Properties dialog box.
    The Layer Properties dialog box with tabs
  2. Click the tab containing the properties you want to modify.
  3. Click OK when you are finished.
TipTip:
When you create a layer file (.lyr), you can set layer properties in ArcCatalog by right-clicking it and clicking Properties.
10/25/2012