Finally, let's create a style for our GeoNames layer showing only labels for the seats of the administrative divisions:
- Create a new style, and name it appropriately. Restrict it to our workspace.
- Generate a template for point geometries.
- Save the template, open it again, and preview it on the GeoNames layer.
- Optionally, edit the metadata to describe our use case.
- Apply a filter in the <Rule> element filtering seats of administrative divisions. The filter we used in QGIS is "featurecod" LIKE 'PPLA%' or "featurecode" LIKE 'PPLA%' depending on the format we used when we saved the GeoNames extract. Remember: Shapefiles have a limit on the maximum length of a column name, therefore if we exported our GeoNames layer to a Shapefile ...