Skip to content

5l1v3r1/qgis-searchlayers-plugin

 
 

Repository files navigation

Search Layers Plugin

The Search Layers plugin features enhanced textual vector layer searching in QGIS. The existing QGIS searching capabilities are limited to a particular layer and a particular column. The difference with this plugin is that it will do a string search across all layers and all fields.

Search Layers is located in the QGIS Plugins menu under "Plugins->Search Layers->Search Layers" or by selecting the tool bar icon. Toolbar Icon

The following dialog box is displayed when "Search Layers" is launched.

Search Layers Dialog

Under Search String, enter the search string. Search Layers specifies whether the search will be on <All Layers>, <Selected layers>, or on any of the vector layers in the QGIS project. If a specific layer is selected then Search Fields will be enabled and by default <All Fields> will be selected, but any field can be selected from the layer and the search will only search on that layer and field.

Comparison is the matching criteria and is as follows.

  • = - This requires an exact match including case.
  • Contains - This performs a case independent search in which a match is made if a field contains the search string.
  • Begins with - This is a case independent search in which the search finds any field that begins with the search string.

Click the Search button to begin the search. In the case of a large data set, clicking on Stop will halt the process. Note that the plugin stops after finding 1500 matches.

When matches are found and clicked on, QGIS zooms to the feature, selects it, and highlights it. The matches can be examined even before the search process has been completed.

About

Enhanced textual vector layer searching in QGIS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 92.7%
  • HTML 4.1%
  • Makefile 3.2%