Advanced Tasks : Filtering map features on layers

Filtering map features on layers
If dynamic filtering has been enabled by your site administrator, you have the option of filtering map features on the layers (feature groups) listed on the Map Content dialog box. Any features whose attribute data do not match the criteria you specify in the layer filter are not displayed on the map and are also unavailable for use with other functionality, including searches, the Identify tool and selections.
1.
I n the top left corner of the interactive map, click the Map Content and Legend button.
2.
3.
4.
Hover over Layer Filter, and then click Create.
Figure 328 
5.
Notice that Layer is automatically set to the layer from where you open the Layer Filter window. You can select any other layer where dynamic filtering has been enabled by your site administrator.
These operators are used to compare two statements at a time to determine whether a feature’s attribute data satisfies them. If a map feature’s attribute data satisfies the filter you apply to the map, that filter displays on the map and is available for other functionality such as the Identify tool, searches and selections.
Table 39 
For a feature to be returned in the results, its attribute data must satisfy one of the conditions in the WHERE statement you define.
For a feature to be returned in the results, its attribute data must satisfy all the conditions in the WHERE statement you define.
NOTE: 
Figure 329 
Grouping or ungrouping SQL conditions
You can build complex statements by creating several conditions and grouping them or ungrouping them as necessary. Conditions that are grouped are evaluated first. The results of any groups are then evaluated according to the remainder of the condition.
Figure 330 
Once you have created any statements you want to group, select their check boxes and then the Group Selected button or Ungroup Selected button to group or ungroup them.
Figure 331 
In the example shown in Figure 331 , two statements have been grouped.
 
6.
Optionally click Show SQL to view the SQL statement.
NOTE: 
You can make changes to the SQL WHERE statement on the SQL statement view, but these will not be reflected in the graphical view, which appears if you click the Show Builder button.
7.
Click Apply.
Only those map features whose attribute data match the criteria in the layer filter are displayed. All other map features are filtered out and not available for other functionality, including searches, Query Builder and the Identify tool.
 
Removing layer filters
1.
2.
3.
4.
Hover over Layer Filter, and then select Remove.
 
Saving layer filters
If your site administrator has enabled this functionality, you will notice Save and Retrieve buttons in the top right corner of the Layer Filter window.
1.
2.
In the Save window, an automatically generated file name appears. You can either keep the autogenerated name or specify one of your own.
3.
Click Save.
 
Retrieving layer filters
If your site administrator has enabled this functionality, you will notice Save an Retrieve buttons in the top right corner of the Layer Filter window.
1.
2.
3.
4.
Hover over Layer Filter, and then select Create.
5.
In the Layer Filter window, click the button.
6.
Figure 332 
Saving layer filters to be applied at startup in profiles
You have the option of selecting the layer filters you want to be in effect when you open the OnPoint web-GIS application. It is assumed you have created a profile. See Creating profiles for more information.
1.
After creating and saving a layer filter, click Favorites in the top right corner of the interactive map and select the My Profile button.
2.
3.
Select the Layer Filter tab on the left of the My Profile window.
4.
In the Filter-Apply on Start column, for each layer where layer filters have been created, select the layer filter you want to be in effect upon opening the OnPoint web-GIS application.
Figure 333