Skip to main content
U.S. flag

An official website of the United States government

VisibilityFilter

Scale Representation using the VisibilityFilter Attribute

Page navigation: Methods for Using the VisibilityFilter Attribute | VisibilityFilter Domains, Codes and Queries | Known Issues | Citations

Methods for Using the VisibilityFilter Attribute

The VisibilityFilter attribute allows for filtering of vector data features at eight approximate scales. A given VisibilityFilter coded-value indicates that the feature is appropriate for use at approximately the defined scale and all larger scales. Two separate methods to display NHD features with the VisibilityFilter attribute for NHDFlowline, NHDWaterbody, NHDArea, and NHDLine feature classes are described below.

►These instructions are specific to Esri ArcMap as general examples, but can be adapted to perform in other GIS software.

 

Method 1: Definition Query

To view features at a desired scale in Esri ArcMap:

  1. Open the Layer Properties and go to the “Definition Query” tab
  2. Select the “Query Builder” button
  3. Double click the “VisibilityFilter” field and then click the “>=” operator
  4. Select “Get Unique Values” for a list of available scales
  5. Double click on the desired scale and click “OK.” The desired definition query should be visible in the “Definition Query” field
  6. Click “OK” to apply the query and close the Layer Properties

 

Query Builder screenshot of Method 1b: Definition Query
Query Builder screenshot of Method 1: Definition Query
Alternatively, copy and paste, or type definition queries from the “VisibilityFilter Domains, Codes and Queries” directly into the Definition Query field.

 

 

Method 2: New Data Layer

To create a data layer with a desired scale in Esri ArcMap:

  1. Under the Selection menu, open the “Select By Attributes” too
  2. Double click the “VisibilityFilter” field and then the “>=” operator
  3. Select “Get Unique Values” for a list of available scales
  4. Double click on the desired scale and click “OK.” The desired features should now be selected
  5. Right click on the layer, choose “Data” and “Export Data”
  6. Ensure the “Export:” dropdown is set to “Selected features”. Choose a coordinate system option and location/name for the new dataset and click “OK”
Select by Attributes screenshot of Method 2: New Data Layer
For example, to create a 1:250,000-scale map, enter “VisibilityFilter >= 250000” to select all features appropriate for use at scales smaller than approximately 1:250,000 and export this data to a new layer.

 

VisibilityFilter Domains, Codes and Queries

Below is a list of Visibility Filter domains, codes, and queries for reference

  • <1:24,000 Scale | VisibilityFilter: 0 | Queries: N/A
  • 1:24,000 Scale | VisibilityFilter: 24000 | Queries: VisibilityFilter >= 24000
  • 1:50,000 Scale | VisibilityFilter: 50000 | Queries: VisibilityFilter >= 50000
  • 1:100,000 Scale | VisibilityFilter: 100000 | Queries: VisibilityFilter >= 100000
  • 1:250,000 Scale | VisibilityFilter: 250000 | Queries: VisibilityFilter >= 250000
  • 1:500,000 Scale | VisibilityFilter: 500000 | Queries: VisibilityFilter >= 500000
  • 1:1,000,000 Scale | VisibilityFilter: 1000000 | Queries: VisibilityFilter >= 1000000
  • 1:2,000,000 Scale | VisibilityFilter: 2000000 | Queries: VisibilityFilter >= 2000000
  • 1:5,000,000 Scale | VisibilityFilter: 5000000 | Queries: VisibilityFilter >= 5000000

 

Known Issues

The VisibilityFilter attribute currently is in a testing phase. Issues will be listed here as they are discovered. Known issues will be resolved as VisibilityFilter attribute population is updated to an automated process prior to NHDPlus HR creation. The new process will allow the VisibilityFilter attribute to be populated when a geometry change to any of the NHD feature classes with the VisibilityFilter attribute is detected, ensuring NHD and NHDPlus HR data VisibilityFilter attributes are maintained and current.

  • 0 or “Unspecified” Attribute Value: Some features have a VisibilityFilter attribute value of 0 or “Unspecified” incorrectly assigned. This occurs when, for a given feature, there is a mismatch between the Permanent_Identifier in the NHD dataset used to apply the VisibilityFilter attribute to the NHDPlus HR and the Permanent_Identifier in the NHDPlus HR dataset itself. In these cases, the VisibilityFilter attribute values are not properly applied from the NHD dataset to the NHDPlus HR dataset. The incorrect 0 or “Unspecified” attribute values may result in network gaps because those features are not included in the VisibilityFilter attribute query.

There are two reasons this mismatch in Permanent_Identifier occurred:

  1. Editing took place causing a change to the Permanent_Identifier in the NHD dataset used to apply the VisibilityFilter attribute to the NHDPlus HR dataset, resulting in different Permanent_Identifiers for the feature.
  2. Gridding along quad boundaries resulted in divided NHDFlowlines, which, when combined, caused a loss of the Permanent_Identifier associated.

Citations

The methods to determine the VisibilityFilter attribute for NHDFlowline, NHDLine, NHDWaterbody, and NHDFlowline features are detailed in the papers listed below.

Buttenfield, B. P., Stanislawski, L. V., and Brewer, C. A., 2011, Adapting generalization tools to physiographic diversity for the United States National Hydrography Dataset: Cartography and Geographic Information Science, v. 38, no. 3, p. 289-301, http://www.tandfonline.com/doi/abs/10.1559/15230406382289, last accessed 05/09/2017.

Stanislawski, L. V., 2009, Feature pruning by upstream drainage area to support automated generalization of the United States National Hydrography Dataset: Computers, Environment and Urban Systems, v. 33, p. 325-333, http://www.sciencedirect.com/science/article/pii/S0198971509000520, last accessed 05/09/2017.

Stanislawski, L. V. and Buttenfield, B. P., 2011, A raster alternative for partitioning line densities to support automated cartographic generalization: Proceedings of the 25th International Cartographic Conference, Paris, France, http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.468.8004&rep=rep1&type=pdf, last accessed 05/09/2017.

Stanislawski, L.V., Doumbouya, A.T., Miller-Corbett, C.D., Buttenfield, B.P. and Arundel, S.T., 2012, Scaling stream densities for hydrologic generalization: Proceedings, 7th International Conference on Geographic Information Science, September 18-21, 2012, Columbus, Ohio, 6 p.

Stanislawski, L.V., Buttenfield, B.P., and Doumbouya, A., 2015, A rapid approach for automated comparison of independently derived stream networks: Cartography and Geographic Information Science, 42(5): 435-448, DOI: 10.1080/15230406.2015.1060869

Stanislawski, L.V., Falgout, J., Buttenfield, B.P., 2015, Automated extraction of natural drainage density patterns for the conterminous United States through high performance computing: The Cartography Journal 52(2):185-192

Stanislawski, L.V., Survila, K., Wendel, J., Liu, Y., and Buttenfield, B.P., 2017, An open source high-performance solution to extract surface water drainage networks from diverse terrain conditions: Cartography and Geographic Information Science, DOI: 10.1080/15230406.2017.1337524

Stauffer, A.J., Finelli, E., and Stanislawski, L.V., 2016, Moving from generalization to the 'Visibility Filter Attribute': Leveraging database attribution to support efficient generalization decisions: American Water Resources Association 2016 Summer Specialty Conference, GIS & Water Resources IX, July 11-13, 2016, Sacramento, California.

Was this page helpful?