` `
The  Spatial Query Plugin allows you to make a spatial query
(i.e., select features) in a target layer with reference to another layer. The
functionality is based on the GEOS library and depends on the selected source
feature layer.
 Spatial Query Plugin allows you to make a spatial query
(i.e., select features) in a target layer with reference to another layer. The
functionality is based on the GEOS library and depends on the selected source
feature layer.
Operações possíveis:
Contém
Igual
Sobrepõe
Cruza
Intersecta
Disjunto
Toca
Dentro
Como exemplo, nós queremos encontrar as regiões no conjunto de dados do Alaska que contém os aeroportos. Os seguintes passos são necessários:
 Spatial Query icon, which appears in the QGIS toolbar menu. The plugin
dialog appears.
Spatial Query icon, which appears in the QGIS toolbar menu. The plugin
dialog appears.Selecione a camada regions como camada fonte e airports como camada de elementos referência.
Selecione ‘Contém’ como operador e clique [Aplicar].
Now you get a list of feature IDs from the query and you have several options, as shown in figure_spatial_query.
 Create layer with list of items.
 Create layer with list of items. Create layer with selected.
Create layer with selected. .
. 
Spatial Query analysis - regions contain airports