One of the layers has around 5000 attribute entries, based on a CSV file of species records. All the features are of course shown on the map layer. How can I select a specific class of features so that only they appear on a map, so that for example a distribution map for a species can be generated. I have tried "Advanced Filter (Expression)" so that the Attribute Table shows only the required species, but it still shows all the attributes on the map layer.

QGIS 2.10.1

  1. Double click on your layer in the table of contents to go to Layer Properties.
  2. Go to the general tab (hammer and screwdriver icon).
  3. Look for "Feature subset" and enter an expression (perhaps using the Query Builder button). For example: "species" = 'homo sapiens'. This would restrict the features to only those records meeting this criteria.

Example:enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.