Saving Equations used in QGIS Field Calculator?

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





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
2
down vote

favorite












Im trying to calculate certain values of a newly calculated point. So I use the field calculator to write an equation to determine the values.



Is there a way to save that equation, so that if and when I start a new job, I don't have to retype it in?



Something similar to how you save styles and symbology for a array of points.










share|improve this question





























    up vote
    2
    down vote

    favorite












    Im trying to calculate certain values of a newly calculated point. So I use the field calculator to write an equation to determine the values.



    Is there a way to save that equation, so that if and when I start a new job, I don't have to retype it in?



    Something similar to how you save styles and symbology for a array of points.










    share|improve this question

























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      Im trying to calculate certain values of a newly calculated point. So I use the field calculator to write an equation to determine the values.



      Is there a way to save that equation, so that if and when I start a new job, I don't have to retype it in?



      Something similar to how you save styles and symbology for a array of points.










      share|improve this question















      Im trying to calculate certain values of a newly calculated point. So I use the field calculator to write an equation to determine the values.



      Is there a way to save that equation, so that if and when I start a new job, I don't have to retype it in?



      Something similar to how you save styles and symbology for a array of points.







      qgis field-calculator






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 1 hour ago









      PolyGeo♦

      51.9k1777233




      51.9k1777233










      asked 1 hour ago









      R Kumar

      212




      212




















          3 Answers
          3






          active

          oldest

          votes

















          up vote
          2
          down vote













          QGIS saves the last equation used in the field calculator under the tab "Recent" where you can reuse it by double-clicking it



          img of field calc






          share|improve this answer




















          • That is right in case the OP didn't use other equations later. But it will disappear by time when the OP uses new equations. The Recent container is just temporarily.
            – ahmadhanb
            22 mins ago

















          up vote
          0
          down vote













          The only way you have is to save the equation in a text editor like Notepad++ because I cannot see any option to save the equation directly using QGIS neither in Field Calculator or Advanced Python Field Calculator accessed from Processing toolbox in both QGIS 2.18.23 or QGIS 3.2.2



          enter image description here






          share|improve this answer



























            up vote
            0
            down vote













            Additionally to the solution by @LaughU, you may incorporate any field calculator operation into a graphical model and then save and run the model. This but requires your column names always to be the same.






            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%2f296955%2fsaving-equations-used-in-qgis-field-calculator%23new-answer', 'question_page');

              );

              Post as a guest






























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              2
              down vote













              QGIS saves the last equation used in the field calculator under the tab "Recent" where you can reuse it by double-clicking it



              img of field calc






              share|improve this answer




















              • That is right in case the OP didn't use other equations later. But it will disappear by time when the OP uses new equations. The Recent container is just temporarily.
                – ahmadhanb
                22 mins ago














              up vote
              2
              down vote













              QGIS saves the last equation used in the field calculator under the tab "Recent" where you can reuse it by double-clicking it



              img of field calc






              share|improve this answer




















              • That is right in case the OP didn't use other equations later. But it will disappear by time when the OP uses new equations. The Recent container is just temporarily.
                – ahmadhanb
                22 mins ago












              up vote
              2
              down vote










              up vote
              2
              down vote









              QGIS saves the last equation used in the field calculator under the tab "Recent" where you can reuse it by double-clicking it



              img of field calc






              share|improve this answer












              QGIS saves the last equation used in the field calculator under the tab "Recent" where you can reuse it by double-clicking it



              img of field calc







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered 29 mins ago









              LaughU

              2,9363828




              2,9363828











              • That is right in case the OP didn't use other equations later. But it will disappear by time when the OP uses new equations. The Recent container is just temporarily.
                – ahmadhanb
                22 mins ago
















              • That is right in case the OP didn't use other equations later. But it will disappear by time when the OP uses new equations. The Recent container is just temporarily.
                – ahmadhanb
                22 mins ago















              That is right in case the OP didn't use other equations later. But it will disappear by time when the OP uses new equations. The Recent container is just temporarily.
              – ahmadhanb
              22 mins ago




              That is right in case the OP didn't use other equations later. But it will disappear by time when the OP uses new equations. The Recent container is just temporarily.
              – ahmadhanb
              22 mins ago












              up vote
              0
              down vote













              The only way you have is to save the equation in a text editor like Notepad++ because I cannot see any option to save the equation directly using QGIS neither in Field Calculator or Advanced Python Field Calculator accessed from Processing toolbox in both QGIS 2.18.23 or QGIS 3.2.2



              enter image description here






              share|improve this answer
























                up vote
                0
                down vote













                The only way you have is to save the equation in a text editor like Notepad++ because I cannot see any option to save the equation directly using QGIS neither in Field Calculator or Advanced Python Field Calculator accessed from Processing toolbox in both QGIS 2.18.23 or QGIS 3.2.2



                enter image description here






                share|improve this answer






















                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  The only way you have is to save the equation in a text editor like Notepad++ because I cannot see any option to save the equation directly using QGIS neither in Field Calculator or Advanced Python Field Calculator accessed from Processing toolbox in both QGIS 2.18.23 or QGIS 3.2.2



                  enter image description here






                  share|improve this answer












                  The only way you have is to save the equation in a text editor like Notepad++ because I cannot see any option to save the equation directly using QGIS neither in Field Calculator or Advanced Python Field Calculator accessed from Processing toolbox in both QGIS 2.18.23 or QGIS 3.2.2



                  enter image description here







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 41 mins ago









                  ahmadhanb

                  18.9k21644




                  18.9k21644




















                      up vote
                      0
                      down vote













                      Additionally to the solution by @LaughU, you may incorporate any field calculator operation into a graphical model and then save and run the model. This but requires your column names always to be the same.






                      share|improve this answer
























                        up vote
                        0
                        down vote













                        Additionally to the solution by @LaughU, you may incorporate any field calculator operation into a graphical model and then save and run the model. This but requires your column names always to be the same.






                        share|improve this answer






















                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          Additionally to the solution by @LaughU, you may incorporate any field calculator operation into a graphical model and then save and run the model. This but requires your column names always to be the same.






                          share|improve this answer












                          Additionally to the solution by @LaughU, you may incorporate any field calculator operation into a graphical model and then save and run the model. This but requires your column names always to be the same.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 21 mins ago









                          Erik

                          1,60012




                          1,60012



























                               

                              draft saved


                              draft discarded















































                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f296955%2fsaving-equations-used-in-qgis-field-calculator%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