QGIS - label placement in print composer











up vote
2
down vote

favorite
1












I have managed to do manual placement of labels in QGIS 2.18 so that they are all showing without overlapping. However, when I create the map in print composer the labels do not stay in their same positions as the main screen and end up potentially overlapping again in places. The only way I can seem to resolve this is by going back to the main screen and moving them there before trying print composer again and this something requires toggling back and forth until it is correct. Surely they must be an easier way? What am I missing?










share|improve this question






















  • Usually maps in the print composer have a different resolution from your main screen, thus throwing off the alignment of labels.
    – Erik
    Nov 28 at 15:18






  • 2




    Make sure the scale of the map you're setting your labels at is the same as the scale of your print composer.
    – DPSSpatial
    Nov 28 at 15:27















up vote
2
down vote

favorite
1












I have managed to do manual placement of labels in QGIS 2.18 so that they are all showing without overlapping. However, when I create the map in print composer the labels do not stay in their same positions as the main screen and end up potentially overlapping again in places. The only way I can seem to resolve this is by going back to the main screen and moving them there before trying print composer again and this something requires toggling back and forth until it is correct. Surely they must be an easier way? What am I missing?










share|improve this question






















  • Usually maps in the print composer have a different resolution from your main screen, thus throwing off the alignment of labels.
    – Erik
    Nov 28 at 15:18






  • 2




    Make sure the scale of the map you're setting your labels at is the same as the scale of your print composer.
    – DPSSpatial
    Nov 28 at 15:27













up vote
2
down vote

favorite
1









up vote
2
down vote

favorite
1






1





I have managed to do manual placement of labels in QGIS 2.18 so that they are all showing without overlapping. However, when I create the map in print composer the labels do not stay in their same positions as the main screen and end up potentially overlapping again in places. The only way I can seem to resolve this is by going back to the main screen and moving them there before trying print composer again and this something requires toggling back and forth until it is correct. Surely they must be an easier way? What am I missing?










share|improve this question













I have managed to do manual placement of labels in QGIS 2.18 so that they are all showing without overlapping. However, when I create the map in print composer the labels do not stay in their same positions as the main screen and end up potentially overlapping again in places. The only way I can seem to resolve this is by going back to the main screen and moving them there before trying print composer again and this something requires toggling back and forth until it is correct. Surely they must be an easier way? What am I missing?







qgis labeling print-composer






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 28 at 15:10









Rebecca

322




322












  • Usually maps in the print composer have a different resolution from your main screen, thus throwing off the alignment of labels.
    – Erik
    Nov 28 at 15:18






  • 2




    Make sure the scale of the map you're setting your labels at is the same as the scale of your print composer.
    – DPSSpatial
    Nov 28 at 15:27


















  • Usually maps in the print composer have a different resolution from your main screen, thus throwing off the alignment of labels.
    – Erik
    Nov 28 at 15:18






  • 2




    Make sure the scale of the map you're setting your labels at is the same as the scale of your print composer.
    – DPSSpatial
    Nov 28 at 15:27
















Usually maps in the print composer have a different resolution from your main screen, thus throwing off the alignment of labels.
– Erik
Nov 28 at 15:18




Usually maps in the print composer have a different resolution from your main screen, thus throwing off the alignment of labels.
– Erik
Nov 28 at 15:18




2




2




Make sure the scale of the map you're setting your labels at is the same as the scale of your print composer.
– DPSSpatial
Nov 28 at 15:27




Make sure the scale of the map you're setting your labels at is the same as the scale of your print composer.
– DPSSpatial
Nov 28 at 15:27










1 Answer
1






active

oldest

votes

















up vote
4
down vote



accepted










That's probably due to a scale difference between your main screen and your print composer.(as the anchor of the label is just a point at the start of label text, if the label stay the same size at all zoom level and the scale of the background change the label seem to move)



To prevent that you could try to:




  1. set the label size to map unit (just under the box where you set the label text size there is a box wich let you choose between point and map unit), after that you will need to choose a label size (don't be afraid by big number) that look as you want in the print composer (to know how it will look in print composer set the main screen at the same scale as your print composer)


OR




  1. Set the scale of the main screen at the same scale of the print composer and lock the scale by clicking on the small lock next to the scale box (bottom of screen), if you need to zoom use the Magnifier box just next.


any of the two option should ensure that the position of your label are identical in main screen and in print composer but you probably will need to (again...) manually place the overlaping label...






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: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    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%2f304255%2fqgis-label-placement-in-print-composer%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    4
    down vote



    accepted










    That's probably due to a scale difference between your main screen and your print composer.(as the anchor of the label is just a point at the start of label text, if the label stay the same size at all zoom level and the scale of the background change the label seem to move)



    To prevent that you could try to:




    1. set the label size to map unit (just under the box where you set the label text size there is a box wich let you choose between point and map unit), after that you will need to choose a label size (don't be afraid by big number) that look as you want in the print composer (to know how it will look in print composer set the main screen at the same scale as your print composer)


    OR




    1. Set the scale of the main screen at the same scale of the print composer and lock the scale by clicking on the small lock next to the scale box (bottom of screen), if you need to zoom use the Magnifier box just next.


    any of the two option should ensure that the position of your label are identical in main screen and in print composer but you probably will need to (again...) manually place the overlaping label...






    share|improve this answer



























      up vote
      4
      down vote



      accepted










      That's probably due to a scale difference between your main screen and your print composer.(as the anchor of the label is just a point at the start of label text, if the label stay the same size at all zoom level and the scale of the background change the label seem to move)



      To prevent that you could try to:




      1. set the label size to map unit (just under the box where you set the label text size there is a box wich let you choose between point and map unit), after that you will need to choose a label size (don't be afraid by big number) that look as you want in the print composer (to know how it will look in print composer set the main screen at the same scale as your print composer)


      OR




      1. Set the scale of the main screen at the same scale of the print composer and lock the scale by clicking on the small lock next to the scale box (bottom of screen), if you need to zoom use the Magnifier box just next.


      any of the two option should ensure that the position of your label are identical in main screen and in print composer but you probably will need to (again...) manually place the overlaping label...






      share|improve this answer

























        up vote
        4
        down vote



        accepted







        up vote
        4
        down vote



        accepted






        That's probably due to a scale difference between your main screen and your print composer.(as the anchor of the label is just a point at the start of label text, if the label stay the same size at all zoom level and the scale of the background change the label seem to move)



        To prevent that you could try to:




        1. set the label size to map unit (just under the box where you set the label text size there is a box wich let you choose between point and map unit), after that you will need to choose a label size (don't be afraid by big number) that look as you want in the print composer (to know how it will look in print composer set the main screen at the same scale as your print composer)


        OR




        1. Set the scale of the main screen at the same scale of the print composer and lock the scale by clicking on the small lock next to the scale box (bottom of screen), if you need to zoom use the Magnifier box just next.


        any of the two option should ensure that the position of your label are identical in main screen and in print composer but you probably will need to (again...) manually place the overlaping label...






        share|improve this answer














        That's probably due to a scale difference between your main screen and your print composer.(as the anchor of the label is just a point at the start of label text, if the label stay the same size at all zoom level and the scale of the background change the label seem to move)



        To prevent that you could try to:




        1. set the label size to map unit (just under the box where you set the label text size there is a box wich let you choose between point and map unit), after that you will need to choose a label size (don't be afraid by big number) that look as you want in the print composer (to know how it will look in print composer set the main screen at the same scale as your print composer)


        OR




        1. Set the scale of the main screen at the same scale of the print composer and lock the scale by clicking on the small lock next to the scale box (bottom of screen), if you need to zoom use the Magnifier box just next.


        any of the two option should ensure that the position of your label are identical in main screen and in print composer but you probably will need to (again...) manually place the overlaping label...







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 28 at 15:58

























        answered Nov 28 at 15:31









        J.R

        2,830219




        2,830219






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Geographic Information Systems Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f304255%2fqgis-label-placement-in-print-composer%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Berounka

            Fiat S.p.A.

            Type 'String' is not a subtype of type 'int' of 'index'