Skip To Content

Tutorial: Find features

In this tutorial, you'll learn how to find features in the Locate pane using the layers configured for search.

Get the data

The data for this tutorial is available for download on arcgis.com.

  1. Go to the item description web page of the geocoding tutorial data on arcgis.com.
  2. Click Download and save the file locally.
  3. Unzip the downloaded file.

Find a feature on the Locate pane using a layer created from a local feature class

In this exercise, you'll use the geocoded feature class that was created when you geocoded the table of addresses in the Geocode a table of addresses tutorial, and you'll configure it for search. If you have not completed that tutorial, do so before continuing.

  1. Start ArcGIS Pro.
  2. Sign in to ArcGIS Online.
  3. Create a new project based on a blank template.
  4. On the Insert tab, click New Map New Map.

    A basemap appears.

  5. On the Map tab, in the Layer group, click the Add Data drop-down menu, and choose Data Add Data. Browse to the saved location for the output feature class that you created in the Geocode a table of addresses tutorial, and double-click the feature class to add it to the map.

    The feature class is converted to a layer and is displayed as points on the map. You can also see that the layer is listed in the Contents pane.

  6. On the Map tab, in the Inquiry group, click the Locate button Locate.

    The Locate pane appears.

  7. In the Locate pane, click the Settings tab to change the active view of the pane.

    The Settings view of the Locate pane is now displayed, and you can see a list of available Locate Providers. This list includes any locators that were added automatically through your portal connection as well as any locators that you added to your project locally or through a server connection. You can drag and drop the locators into any order you prefer, modify locator properties, remove locators from your project, and enable or disable locators on the Settings tab. Since this tutorial focuses on searching for features in layers, you can disregard the locators.

    Locate providers in Locate

    Note:

    Layers added to the map do not appear automatically in the Locate pane. You must configure them for search first.

  8. Add the layer from the map to the Locate pane by clicking the Add a locate provider button and choosing Add Layer.
    Add layer to Locate

    The Select Layer dialog box appears, which displays all layers currently available in the Contents pane.

  9. Select the layer from the list of layers displayed in the Select Layer dialog box, and click OK.

    The Locate pane now displays the Configure Layer for Locate view for the layer you selected.

    Configure layer for Locate

  10. To configure the NAME field for search, use the drop-down menu associated with the NAME field and choose Contains, which allows you to perform an approximate search.

    You could instead chose Equals, which configures the NAME field for exact search, but this option can be somewhat limiting, as input must exactly match the field value you're searching for and is case sensitive. It is best to use Equals when searching for a field value that is always precise, for example, a long ID number containing both numbers and letters.

  11. To save your search configuration, click the Save and return to Settings arrow Save and return to Settings at the upper left of the pane.

    A message appears suggesting you index the fields you configured for search. Click Yes. Indexing improves performance and is worth doing if your dataset is large and you'll be searching it frequently.

    The Locate pane now displays the Settings tab again, and you'll see your newly configured layer displayed in the list of Locate Providers. You can rearrange the order of locate providers in the list, which determines the order in which search is performed, as well as the order in which results are returned and displayed in the Locate pane.

    Layer added to Locate

  12. Disable all locate providers listed on the Settings tab of the Locate pane except for the layer you just added.

    Disabling other locate providers is not necessary for search to function, but for the purposes of this tutorial, it will be helpful to see only the results you are interested in. Additionally, performance is improved when searching against fewer locate providers.

  13. In the Locate pane, type gas in the search box, and press Enter.

    Four results display in list format under the name of the layer you just configured, and they display as labelled points on your map. Notice that each has matched because the value in the NAME field contains the word gas.

  14. Click any item on the list to view the location on the map.

    The letter symbol of the item highlights on the map.

    Tip:

    If the item is outside the current map display, right-click the candidate and click Zoom To Zoom To or Pan To Pan To on the right of the selected item to zoom or pan to the location of the result on the map.

    Click Zoom To All Zoom To in the Menu Menu to zoom to all matched results on the map.

    Click the Item Details button Item Details to display the details of each match result.

  15. Select Candidate Pop-up from the Explore tool Explore Tool on the Map ribbon, and select a result from the list or from the map to view a pop-up with detailed information about a feature result.

    The Candidate Pop-up window appears. You can perform several actions, including selecting the feature.

Find a feature on the Locate pane using a layer created from an online feature service

  1. Start ArcGIS Pro.
  2. Sign in to ArcGIS Online.
  3. Create a new project based on a blank template.
  4. On the Insert tab, click New Map New Map.

    A basemap appears.

  5. On the Map tab, in the Layer group, click the Add Data button Add Data, click All Portal All Portal, type restaurants in the search box, and press Enter. Double-click Naperville_Restaurants, and double-click Restaurants to add it to the map.

    The feature service is converted to a layer and is displayed as points on the map. You can also see that the layer is listed in the Contents pane.

  6. On the Map tab, in the Inquiry group, click the Locate button Locate.

    The Locate pane appears.

  7. In the Locate pane, click the Settings tab to change the active view of the pane.

    The Settings view of the Locate pane is now displayed, and you can see a list of available Locate Providers. This list includes any locators that were added automatically through your portal connection, as well as any locators you added to your project locally or through a server connection. You can drag and drop the locators into any order you prefer, modify locator properties, remove locators from your project, and enable or disable locators on the Settings tab. Since this tutorial focuses on searching for features in layers, you can disregard the locators.

    Locate providers in Locate

    Note:

    Layers added to the map do not appear automatically in the Locate pane. You must configure them for search first.

  8. Add the layer from the map to the Locate pane by clicking the Add locate provider button and choosing Add Layer.
    Add layer to Locate

    The Select Layer dialog box appears, which displays all layers currently available in the Contents pane.

  9. Select the layer from the list of layers displayed in the Select Layer dialog box, and click OK.

    The Locate pane now displays the Configure Layer for Locate view for the layer that you selected.

    Configure layer for Locate

  10. To configure the Cuisine field for search, click the drop-down menu associated with the Cuisine field and choose Contains, which allows you to perform an approximate search.

    You could instead choose Equals, which configures the Cuisine field for an exact search, but this option can be somewhat limiting, as input must exactly match the field value that you're searching for and is case sensitive. It is best to use Equals when searching for a field value that is always precise, for example, a long ID number containing both numbers and letters.

  11. To save your search configuration, click the Save and return to Settings arrow Save and return to Settings at the upper left of the pane.

    You will not be prompted with the message suggesting you index the fields you configured for search for online feature services.

    The Locate pane now displays the Settings tab again, and you'll see your newly configured layer displayed in the list of Locate Providers. You can rearrange the order of locate providers in the list, which determines the order in which search is performed, as well as the order in which results are returned and displayed in the Locate pane.

    Feature service layer added to Locate

  12. Disable all locate providers listed on the Settings tab of the Locate pane except for the layer you just added.

    Disabling other locate providers is not necessary for search to function, but for the purposes of this tutorial, it will be helpful to see only the results you are interested in. Additionally, performance is improved when searching against fewer locate providers.

  13. In the Locate pane, type frog legs in the search box, and press Enter.

    One result displays in list format under the name of the layer you just configured, and it displays as a labelled point on your map. Notice it has matched because the value in the Cuisine field contains the words frog legs.

  14. Click the result in the list to view the location on the map.

    The letter symbol of the item highlights on the map.

    Tip:

    If the item is outside the current map display, right-click the candidate and click Zoom To Zoom To or Pan To Pan To on the right of the selected item to zoom or pan to the location of the result on the map.

    Click Zoom To All Zoom To in the Menu Menu to zoom to all matched results on the map.

    Click the Item Details button Item Details to display the details of each match result.

  15. Choose Candidate Pop-up from the Explore tool Explore Tool on the Map ribbon, and select the result from the list or from the map to view a pop-up with detailed information about a feature result.

    The Candidate Pop-up window appears. You can perform several actions, including selecting the feature.