I’m labeling airport taxiways. The taxiway labels are all strings but they tend to be one of three varieties and I would only like to show one of those. I’ve been trying to mess around with Rule-Based Labeling for this layer and haven’t had any success yet.
The strings can be one of the following format:
- A, B, C...AA,BB,CC… A1, B1 etc
- A.B, A.B.C, A1.B2.A, etc <— the use of the “.” In these makes them different from the first variety
- $UNK<— this is when the feature has no known value but the field must still be filled in
Below I've attached an example of what the labels look like in QGIS.
I would like to only show the labels of the first variety. I think the best way would be to create a rule that doesn’t print anything that equals $UNK or has “.” in it. I’m just unsure of how to write that as a rule or even if rule-based labeling is the right way to achieve my goal.