O'Reilly logo

ArcGIS By Example by Hussein Nasser

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Finding restaurants in a subtype

We have populated the subtypes of the restaurants in the Category drop-down list. In this section, we will learn how to query the feature class and filter, so we only display restaurants of particular category. For instance, if the user selects Cafe from the Category list, only cafes will be populated in the venues list.

Follow these steps to add the query:

  1. If necessary, open Visual Studio Express in administrator mode; we need to do this since our project is actually writing to the registry this time, so it needs administrator permissions. To do that, right-click on Visual Studio and click on Run as administrator.
  2. Go to File, then click on Open Project, browse to the Bestaurants project from the C:\ArcGISByExample\bestaurants\Code ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required