Easy Feature Selector
-
Easy Feature Selector plugin for QGIS is a practical tool designed to simplify interactions with vector data.
It provides a straightforward interface for selecting fields from an attribute table, browsing and searching unique values, and zooming or panning to features directly on the map.
The plugin also displays detailed attribute information, including a clear indication of whether a feature has geometry, and includes a convenient feature for copying all table data to the clipboard for easy export or analysis.
Note:
Even though you can select multiple features with the same unique field value, this tool was developed with the intent of working with one feature at a time.
The extension is available from the official repository, QGIS plugins page.
Use the QGIS Plugins menu to install the Easy Feature Selector, QGIS manual.
A zip file of the current release is also available here for manual installation.
Easy Feature Selector is under development and test with QGIS 3.34.
-
Source Code
The source code of the module in Github can be obtained.
-
Data Formats
Any layers can be from any geospatial data source supported by QGIS.
-
Objective
1. Allows users to select fields (columns) from the attribute table of an active vector layer.
2. Displays and highlights unique values for the selected field, enabling quick navigation and selection with interactive zooming and panning options to automatically focus on selected features.
3. Allows users to filter unique values to locate them quickly.
4. Allows users to control over zoom level when selecting a feature through an adjustable slider.
5. Enables two-way selection, where selecting a feature on the map highlights the corresponding value in the list and vice versa.
6. Displays a table of attribute data for the selected feature, including an indicator for whether a feature has valid geometry.
7. Highlights features without geometry in yellow and prevents zooming/panning to them.
8. Allows users to copy all attribute data to the clipboard for easy export.
Tutorial
Easy Feature Selector can be found in Vector menu.
-
This is the main interface of the Easy Feature Selector. When you click the Easy Feature Selector, a popup dialog box will appear on the panel in the QGIS interface.
As you can see from the interface, there are four sections which are Field Selection, Unique Values, Search and Zoom Options and Feature Attributes.
For the first section which is Field Selection, it contains a dropdown menu listing all the fields (or columns) from the active vector layer’s attribute table.Simply click on the dropdown and choose the field you’re interested in. This selection will automatically update the list of unique values in the next section.
For Unique Values section, it will show all the unique values from that field after you have selected a field.
For example, if you choose a field called 'City,' this list will display all the unique city names in your data.
You can click on a value with your mouse or use the arrow keys on your keyboard to navigate and select.
The selected value will highlight all matching features on the map.
You can easily scroll through and select values using your keyboard for a more efficient workflow.
For the next section, Search and Zoom Options, it gives you more control over how you interact with the features on the map.
It has few components which are:
Search Box:
If you have a long list of unique values, this box to filter and quickly find what you’re looking for.
Interactive Zooming and Panning:
To automatically zoom and pan to the selected feature.
Zoom Level Slider:
To adjust this slider to control how much the map zooms in when a feature is selected. Slide left for less zoom and right for more zoom.
Two-Way Selection:
Enable this option to make your selection work both ways. If you select a feature on the map, it will automatically highlight the corresponding value in the list, and vice versa.
For the last section, Feature Attributes, it shows all the attribute data for the feature you have selected.
It includes the names of the fields and their corresponding values.
Special Row - Geometry_Type:
At the very top of the table, there is a special row called 'Geometry_Type.'
It tells you if the selected feature has geometry or not.
This means that if the feature has a valid geometry (i.e: like a point, line, or polygon), it will say 'Has a Geometry'.
If the feature doesn’t have a shape, it will say 'Has No Geometry,' and the cell will be highlighted in yellow.
This way, you’ll know that zooming to this feature won’t work.There is a button labeled 'Copy Table Data to Clipboard' right below the table.
When clicking this button to copy everything from the table to your clipboard.
You can then paste it into a spreadsheet, text document, or anywhere else you want to use the data.
Click Close button when you are done using the Easy Feature Selector to close the dialog.
Contacts
-
If you find a bug or have suggestions for improving the plugin, use the issues tracker. In addition, questions about using the plugin can be asked directly from our website.
Related Links
For more information, you can go to:
Main website: GIS Innovation Sdn. Bhd.
Webinar: GIS Webinars Malaysia
Training: GIS Training Malaysia