The range slider is an on-screen control to help you filter and step through numeric data ranges for a layer, or set of layers, in your map. Like the time slider and definition queries, range filtering helps you focus on an area of interest for your data. You can customize the range settings to control how you move through the data for the layer.
You can set the range definition for a layer using the Layer Properties dialog box, and use the on-screen range slider to filter through the range you've customized. For example, you can display only those properties for sale within a certain price range, or stream gauges currently registering a volume of water above a certain level. You can also filter information through floors of a building, such as room occupancy or floor number. However, if you have Indoors layers or floor-aware maps, you can use the specifically designed interactive floor filter instead.
- You can filter the list of layers in the Contents pane of a map or scene to only layers with a range definition.
- All geoprocessing tools honor the map's current range properties as a filter.
Photo credit: United States Department of Health and Human Services, National Institutes of Health, Division of Environmental Protection, 2009.
Define range properties for a layer
Range properties are set for your layer using the Layer Properties dialog box in order to use the range slider. This means selecting a single field, such as Occupancy or PropertyValue, that contains the values. The chosen field must be a numeric type, such as integer, long, float or double. For fields containing date values consider using the time slider. A layer can have multiple ranges configured, but only a single range can be active in the map at a time. If your map contains more than one layer with the same range name, the range slider responds to all of them. This allows you to interactively filter content for multiple layers at once.
You can set range properties using any numerical field stored in the attribute fields for the following layer types:
- Feature class
- Mosaic dataset
- NetCDF layers
- Image service
- Feature service
Supported numeric formats
Range properties support the following numeric formats:
- Integer (short or long)
- Float (single or double)
The range slider snaps to whole numbers when the range is set on an integer field. On the Range tab in the Active Range group, change the range slider to single-value mode in order to step through a discrete integer range.