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

Paper Maps or Something close

In case you haven't seen the news - we had a lot of rain Last Friday. A hurricane hit Florida and then proceeded to drench a large portion of the world I Inhabit I was fine. Chattanooga was fine. North East Tennessee and Western North Carolina aren't. The more I read...

QGIS US User Group

QGIS US User Group

I've been too busy to write anything as of late. I have a lot to talk about - just not much time to do it. So FOSS4GNA happened on Sept 9-11 2024. Probably the biggest thing for me during the conference was we had two BOFs on QGIS. Granted - I think it was supposed to...

Watershed Geo Part 2

Watershed Geo Part 2

Part 1 This is part 2 which will be pretty simple. This is more of the "get organized" part. In part 1 I was able to generate a watershed boundary from LIDAR Elevation Data. After it was generated I went back and checked the watershed line and really only found one...