Making labels stay at some defined position in QGIS?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












I am using QGIS 3.2 Bonn.



If I add a label (and I have a lot of labels, for every field, river, path, etc...) and if I zoom out all labels are crossing each other and it is hard to know what is happening then. In the first picture it is like a big mess caused when I zoom out, and the 2nd picture is an example of how I want it to stay forever.



1st picture2nd Picture



Is there a way that labels will not "stick out" when I zoom out of the map, and will just stay until I zoom back in?










share|improve this question



















  • 1




    It would be very helpful to provide some screenshots in addition to clarify what exactly you are asking for.
    – Jochen Schwarze
    2 hours ago










  • Consider, whether you really need a label, or not. Street-names are usually left blank in scales smaller than 1:25.000. Path-names are definitely left blank. The numbering of parcels in ATKIS for example is only visible on scales equal and greater 1:2.500 (e.g. WMS-services MV). There is a purpose behind this omission of labels. So, don't re-invent the wheel, stick to good practice.
    – Erik
    1 hour ago














up vote
2
down vote

favorite












I am using QGIS 3.2 Bonn.



If I add a label (and I have a lot of labels, for every field, river, path, etc...) and if I zoom out all labels are crossing each other and it is hard to know what is happening then. In the first picture it is like a big mess caused when I zoom out, and the 2nd picture is an example of how I want it to stay forever.



1st picture2nd Picture



Is there a way that labels will not "stick out" when I zoom out of the map, and will just stay until I zoom back in?










share|improve this question



















  • 1




    It would be very helpful to provide some screenshots in addition to clarify what exactly you are asking for.
    – Jochen Schwarze
    2 hours ago










  • Consider, whether you really need a label, or not. Street-names are usually left blank in scales smaller than 1:25.000. Path-names are definitely left blank. The numbering of parcels in ATKIS for example is only visible on scales equal and greater 1:2.500 (e.g. WMS-services MV). There is a purpose behind this omission of labels. So, don't re-invent the wheel, stick to good practice.
    – Erik
    1 hour ago












up vote
2
down vote

favorite









up vote
2
down vote

favorite











I am using QGIS 3.2 Bonn.



If I add a label (and I have a lot of labels, for every field, river, path, etc...) and if I zoom out all labels are crossing each other and it is hard to know what is happening then. In the first picture it is like a big mess caused when I zoom out, and the 2nd picture is an example of how I want it to stay forever.



1st picture2nd Picture



Is there a way that labels will not "stick out" when I zoom out of the map, and will just stay until I zoom back in?










share|improve this question















I am using QGIS 3.2 Bonn.



If I add a label (and I have a lot of labels, for every field, river, path, etc...) and if I zoom out all labels are crossing each other and it is hard to know what is happening then. In the first picture it is like a big mess caused when I zoom out, and the 2nd picture is an example of how I want it to stay forever.



1st picture2nd Picture



Is there a way that labels will not "stick out" when I zoom out of the map, and will just stay until I zoom back in?







qgis labeling qgis-3.2






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 41 mins ago









ThingumaBob

5,0981222




5,0981222










asked 2 hours ago









Roby5

407




407







  • 1




    It would be very helpful to provide some screenshots in addition to clarify what exactly you are asking for.
    – Jochen Schwarze
    2 hours ago










  • Consider, whether you really need a label, or not. Street-names are usually left blank in scales smaller than 1:25.000. Path-names are definitely left blank. The numbering of parcels in ATKIS for example is only visible on scales equal and greater 1:2.500 (e.g. WMS-services MV). There is a purpose behind this omission of labels. So, don't re-invent the wheel, stick to good practice.
    – Erik
    1 hour ago












  • 1




    It would be very helpful to provide some screenshots in addition to clarify what exactly you are asking for.
    – Jochen Schwarze
    2 hours ago










  • Consider, whether you really need a label, or not. Street-names are usually left blank in scales smaller than 1:25.000. Path-names are definitely left blank. The numbering of parcels in ATKIS for example is only visible on scales equal and greater 1:2.500 (e.g. WMS-services MV). There is a purpose behind this omission of labels. So, don't re-invent the wheel, stick to good practice.
    – Erik
    1 hour ago







1




1




It would be very helpful to provide some screenshots in addition to clarify what exactly you are asking for.
– Jochen Schwarze
2 hours ago




It would be very helpful to provide some screenshots in addition to clarify what exactly you are asking for.
– Jochen Schwarze
2 hours ago












Consider, whether you really need a label, or not. Street-names are usually left blank in scales smaller than 1:25.000. Path-names are definitely left blank. The numbering of parcels in ATKIS for example is only visible on scales equal and greater 1:2.500 (e.g. WMS-services MV). There is a purpose behind this omission of labels. So, don't re-invent the wheel, stick to good practice.
– Erik
1 hour ago




Consider, whether you really need a label, or not. Street-names are usually left blank in scales smaller than 1:25.000. Path-names are definitely left blank. The numbering of parcels in ATKIS for example is only visible on scales equal and greater 1:2.500 (e.g. WMS-services MV). There is a purpose behind this omission of labels. So, don't re-invent the wheel, stick to good practice.
– Erik
1 hour ago










2 Answers
2






active

oldest

votes

















up vote
2
down vote



accepted










You need to tell QGIS to limit the scale ranges where it should show the labels for the features. I would probably go for the "ruled-based labelling" from QGIS. And just set some rules for showing the labels how you want.



In my example bellow I only show specific labels in scales between 1:100.000.000 and 1:10.000.000 and all the labels when I zoom in past that scale. You can have as many rules as you might need to filter out unwanted clutter, even completely hide the labels when you are zoomed way out.
enter image description here






share|improve this answer



























    up vote
    2
    down vote













    In QGIS there is a mechanism to achive what you are after. Consider you wold like to define the position of your labels and the rotation.



    Consider a point layer that looks like this:



    enter image description here



    You nee additional attributes label_x, label_y and label_rot (you can chose attributes name whatever you like), Note that all these attributes have <NULL> values in this example. Then, key is to use Data defined override for the position and rotation angel of your labels. It is defined under Placement in the labels tab:



    enter image description here



    When you turn on edit mode for this layer, you will notice that tool button in Label toolbar become active:



    enter image description here



    With the tools you are able to move and rotate your labels:



    enter image description here



    When saving edits, you can see that the attributes controlling position and rotation are written accordingly:



    enter image description here






    share|improve this answer






















      Your Answer







      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "79"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      convertImagesToLinks: false,
      noModals: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













       

      draft saved


      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f300264%2fmaking-labels-stay-at-some-defined-position-in-qgis%23new-answer', 'question_page');

      );

      Post as a guest






























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      2
      down vote



      accepted










      You need to tell QGIS to limit the scale ranges where it should show the labels for the features. I would probably go for the "ruled-based labelling" from QGIS. And just set some rules for showing the labels how you want.



      In my example bellow I only show specific labels in scales between 1:100.000.000 and 1:10.000.000 and all the labels when I zoom in past that scale. You can have as many rules as you might need to filter out unwanted clutter, even completely hide the labels when you are zoomed way out.
      enter image description here






      share|improve this answer
























        up vote
        2
        down vote



        accepted










        You need to tell QGIS to limit the scale ranges where it should show the labels for the features. I would probably go for the "ruled-based labelling" from QGIS. And just set some rules for showing the labels how you want.



        In my example bellow I only show specific labels in scales between 1:100.000.000 and 1:10.000.000 and all the labels when I zoom in past that scale. You can have as many rules as you might need to filter out unwanted clutter, even completely hide the labels when you are zoomed way out.
        enter image description here






        share|improve this answer






















          up vote
          2
          down vote



          accepted







          up vote
          2
          down vote



          accepted






          You need to tell QGIS to limit the scale ranges where it should show the labels for the features. I would probably go for the "ruled-based labelling" from QGIS. And just set some rules for showing the labels how you want.



          In my example bellow I only show specific labels in scales between 1:100.000.000 and 1:10.000.000 and all the labels when I zoom in past that scale. You can have as many rules as you might need to filter out unwanted clutter, even completely hide the labels when you are zoomed way out.
          enter image description here






          share|improve this answer












          You need to tell QGIS to limit the scale ranges where it should show the labels for the features. I would probably go for the "ruled-based labelling" from QGIS. And just set some rules for showing the labels how you want.



          In my example bellow I only show specific labels in scales between 1:100.000.000 and 1:10.000.000 and all the labels when I zoom in past that scale. You can have as many rules as you might need to filter out unwanted clutter, even completely hide the labels when you are zoomed way out.
          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 1 hour ago









          Sorin RUSU

          452210




          452210






















              up vote
              2
              down vote













              In QGIS there is a mechanism to achive what you are after. Consider you wold like to define the position of your labels and the rotation.



              Consider a point layer that looks like this:



              enter image description here



              You nee additional attributes label_x, label_y and label_rot (you can chose attributes name whatever you like), Note that all these attributes have <NULL> values in this example. Then, key is to use Data defined override for the position and rotation angel of your labels. It is defined under Placement in the labels tab:



              enter image description here



              When you turn on edit mode for this layer, you will notice that tool button in Label toolbar become active:



              enter image description here



              With the tools you are able to move and rotate your labels:



              enter image description here



              When saving edits, you can see that the attributes controlling position and rotation are written accordingly:



              enter image description here






              share|improve this answer


























                up vote
                2
                down vote













                In QGIS there is a mechanism to achive what you are after. Consider you wold like to define the position of your labels and the rotation.



                Consider a point layer that looks like this:



                enter image description here



                You nee additional attributes label_x, label_y and label_rot (you can chose attributes name whatever you like), Note that all these attributes have <NULL> values in this example. Then, key is to use Data defined override for the position and rotation angel of your labels. It is defined under Placement in the labels tab:



                enter image description here



                When you turn on edit mode for this layer, you will notice that tool button in Label toolbar become active:



                enter image description here



                With the tools you are able to move and rotate your labels:



                enter image description here



                When saving edits, you can see that the attributes controlling position and rotation are written accordingly:



                enter image description here






                share|improve this answer
























                  up vote
                  2
                  down vote










                  up vote
                  2
                  down vote









                  In QGIS there is a mechanism to achive what you are after. Consider you wold like to define the position of your labels and the rotation.



                  Consider a point layer that looks like this:



                  enter image description here



                  You nee additional attributes label_x, label_y and label_rot (you can chose attributes name whatever you like), Note that all these attributes have <NULL> values in this example. Then, key is to use Data defined override for the position and rotation angel of your labels. It is defined under Placement in the labels tab:



                  enter image description here



                  When you turn on edit mode for this layer, you will notice that tool button in Label toolbar become active:



                  enter image description here



                  With the tools you are able to move and rotate your labels:



                  enter image description here



                  When saving edits, you can see that the attributes controlling position and rotation are written accordingly:



                  enter image description here






                  share|improve this answer














                  In QGIS there is a mechanism to achive what you are after. Consider you wold like to define the position of your labels and the rotation.



                  Consider a point layer that looks like this:



                  enter image description here



                  You nee additional attributes label_x, label_y and label_rot (you can chose attributes name whatever you like), Note that all these attributes have <NULL> values in this example. Then, key is to use Data defined override for the position and rotation angel of your labels. It is defined under Placement in the labels tab:



                  enter image description here



                  When you turn on edit mode for this layer, you will notice that tool button in Label toolbar become active:



                  enter image description here



                  With the tools you are able to move and rotate your labels:



                  enter image description here



                  When saving edits, you can see that the attributes controlling position and rotation are written accordingly:



                  enter image description here







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited 3 mins ago

























                  answered 1 hour ago









                  Jochen Schwarze

                  5,83131352




                  5,83131352



























                       

                      draft saved


                      draft discarded















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f300264%2fmaking-labels-stay-at-some-defined-position-in-qgis%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      Comments

                      Popular posts from this blog

                      What does second last employer means? [closed]

                      List of Gilmore Girls characters

                      Confectionery