Geometry Attribute Table¶
An attribute table window which includes a geometry describing column for any vector layer.
The geometry column uses the icons shown in Table 1 to indicate a feature’s geometry value or type in descending precedence: unknown (null); empty; point; multi-part point; line; multi-part line; polygon; and, multi-part polygon.
Icon | Geometry Description | Precedence |
---|---|---|
Unknown value | First | |
Empty value | Second | |
Point type | Third | |
Multi-Part Point type | Fourth | |
Line type | Fifth | |
Multi-Part Line type | Sixth | |
Polygon type | Seventh | |
Multi-Part Polygon type | Eighth |
The plugin does not distinguish between two dimensional and three dimensional shapes, nor between those with or without measurements. The plugin does not consider whether geographic or cartesian coordinates are used for the spatial reference system.
Use¶
This tool works on the current active layer within QGIS. The current layer needs to be a vector layer. This tool will not work on a raster layer.
Within QGIS, click on the vector layer to be analysed in the Layers Panel to make it active, then click on the Geometry Attribute Table icon or select the Geometry Attribute Table item from the Geometry Attribute Table group on the Plugins menu. Successful use of the Geometry Attribute Table tool will display a new window with the title “Geometry-Attribute Table” that contains an attribute table where the last column has the heading “Geometry”. Fig. 1 shows an example of an open Geometry Attribute Table output window with a “Geometry” column heading. This geometry describing column uses the icons shown in Table 1 to represent each record’s geometry.
A text version of the Geometry column will also be appended to the conventional QGIS attribute table (Fig. 2). Successful closing of the Geometry Attribute Table window will also remove this appended Geometry column.