Hello everyone, welcome to my ArcGIS tutorial. In this short article, we are going to learn about Query in ArcMap. The query is a simple way to select data that match our criteria. In ArcMap, we can easily apply a query to a table or layer. For example, I have a layer with points and attribute data inside. Now I don’t want to display all the points in ArcMap. I only want to show the points that meet one or more criteria. Let’s try out.
So here is the layer with all the data displayed. No query applied to this layer.
Now, let’s apply some queries to the table. For example, I want to select the points that have an elevation value of more than 500 meters. Let’s do it.
First, double-click the vector layer or right-click on it and select Properties. And then, go to the Definition Query tab. And then, click the Query Builder.
Here you can specify the query SQL. For example:
"Elev">=500
Which means I want to select the points which have more than 500m of elevation. You can adjust the query based on your data. Click OK and see the result.
Watch the following video for the entire process: