QGIS: The Label toolbar

Apr 4, 2016 | Cartography, GIS, QGIS

You’re sitting in a class…..back up – You’re teaching a class and and someone goes “Hey – there’s this QGIS Label Toolbar. How do it work?”.

I’m probably better at making a map than I believe. I really don’t enjoy it because with every map Green was always a problem. “Can you make this green ‘greener’?”. I would get upset and go “OK” and immediately make it too green. Way back in my career I was working on a Spill Plan Prevention Control and Countermeasures map (I think that’s SPCC). This map was all manual back in the day. We had a plan to make it “digital”. So we scanned a photo (and didn’t georeference it) and started laying out ArcINFO Annotation on it. At some point we scanned another map and had to move everything (not georeferenced) again. Then at some point we decided georeferencing the map was a good idea so I had to move all the annotation. Again. Anytime you say “label this feature” I break out in a sweat to this day.

So I sat this weekend with the whole goal of making the QGIS Label Toolbar Active. The best I could do was this:

Selection_395

I finally “Read the Manual” and found that the label toolbar is Attribute based. So if I add some Attributes to my data layer:

  • x – decimal number – Length 12 Precision 3
  • y – decimal number – Length 12 Precision 3
  • rotation – decimal number – Length 12 Precision 3
  • visibility – integer – Length 1

…..and then I assign those attributes to the label properties:

 

Selection_010 Selection_012

…..and then I edit my layer:

Selection_009

I can now move my labeling all over the place to make a better map. I can turn labels off. I can rotate the labels. Of course I’m not even discussing the Rule based labeling and all the joy you can have there.

Anyway – I left a tutorial I need to clean up a bit over HERE that should at least get you started.

 

You may also like

TNGIC 2024

TNGIC 2024

So - if you're coming to the 2024 TNGIC (TN Geographic Information Council) meeting (April 9-11 2024) to talk about how no one understands what you do......I'm doing a workshop. What workshop? It's a new workshop. QGIS and LIDAR data. As to what I do with the class...

iNaturalist and QGIS

I am probably the worst for being able to properly name "things". There are big trees and little trees. There are the annoying bugs and the not so annoying bugs. There are ducks, birds, bigger birds, and the birds that hang out at my bird feeder. As much time as I...

Mergin Maps and DB Sync

Mergin Maps and DB Sync

I don't know if I would label this exercise as fun but I've learned alot. I don't do a ton of data collection these days. At one time a few years ago I was out in the field with Fulcrum, a laptop, and sketchy internet for days at a time. These days I'm hardly ever...