[GIS] Techniques for Filtering the Attribute Table in QGIS’s Print Composer

print-composerqgisvector

For the legend of a trail map I'm working on I'd like to show the trails and their lengths. I have this data in the table. The problem is that not all of the features (lines) have a name or length. Some are ancillary trails that shouldn't be include in the attribute table in the Print Composer.

Are there any suggested techniques for filtering the list or creating some kind of "virtual" vector layer that will filter the data and I can point my Attribute Table to that table?

Sorting by name descending and limiting the number I'm showing is not really an acceptable solution.

enter image description here

Best Answer

This is a really good feature idea - thanks for the inspiration. I've just added this ability to QGIS. So if you run a current snapshot, or when 2.4 is released, there's an easy way to set a filter for an attribute table:

enter image description here

Related Question