how to obtain the maximum two values of a field, without having to do it manually in the attribute table? ...

When airplanes disconnect from a tanker during air to air refueling, why do they bank so sharply to the right?

How can I quit an app using Terminal?

MAZDA 3 2006 (UK) - poor acceleration then takes off at 3250 revs

Is it my responsibility to learn a new technology in my own time my employer wants to implement?

Horror movie/show or scene where a horse creature opens its mouth really wide and devours a man in a stables

How do I construct this japanese bowl?

Putting a 2D region plot under a 3D plot

How do we know the LHC results are robust?

What is the purpose of the Evocation wizard's Potent Cantrip feature?

Is the concept of a "numerable" fiber bundle really useful or an empty generalization?

How to get regions to plot as graphics

What is meant by a M next to a roman numeral?

Would this house-rule that treats advantage as a +1 to the roll instead (and disadvantage as -1) and allows them to stack be balanced?

How to use tikz in fbox?

Visit to the USA with ESTA approved before trip to Iran

How do I go from 300 unfinished/half written blog posts, to published posts?

Rotate a column

Why does C# sound extremely flat when saxophone is tuned to G?

Too much space between section and text in a twocolumn document

Is HostGator storing my password in plaintext?

Term for the "extreme-extension" version of a straw man fallacy?

Opposite of a diet

Text adventure game code

How to write the block matrix in LaTex?



how to obtain the maximum two values of a field, without having to do it manually in the attribute table?



The Next CEO of Stack Overflow












0















I have a layer of points corresponding to the vertices extracted from a polygon, and from these I need to obtain the two maximum values and save them in a new layer of points.



because I have more than 150 layers of points I would like to know if it is possible to do it without having to open the table of attributes of each of these and select the values that interest me.



try using the field calculator using the expression "maximum(expression[,group_by][,filter])" but you would not have the second maximum.



first two maximum values



maximun









share



























    0















    I have a layer of points corresponding to the vertices extracted from a polygon, and from these I need to obtain the two maximum values and save them in a new layer of points.



    because I have more than 150 layers of points I would like to know if it is possible to do it without having to open the table of attributes of each of these and select the values that interest me.



    try using the field calculator using the expression "maximum(expression[,group_by][,filter])" but you would not have the second maximum.



    first two maximum values



    maximun









    share

























      0












      0








      0








      I have a layer of points corresponding to the vertices extracted from a polygon, and from these I need to obtain the two maximum values and save them in a new layer of points.



      because I have more than 150 layers of points I would like to know if it is possible to do it without having to open the table of attributes of each of these and select the values that interest me.



      try using the field calculator using the expression "maximum(expression[,group_by][,filter])" but you would not have the second maximum.



      first two maximum values



      maximun









      share














      I have a layer of points corresponding to the vertices extracted from a polygon, and from these I need to obtain the two maximum values and save them in a new layer of points.



      because I have more than 150 layers of points I would like to know if it is possible to do it without having to open the table of attributes of each of these and select the values that interest me.



      try using the field calculator using the expression "maximum(expression[,group_by][,filter])" but you would not have the second maximum.



      first two maximum values



      maximun







      qgis pyqgis qgis-3 qgis-processing





      share












      share










      share



      share










      asked 1 min ago









      JohnJohn

      234




      234






















          0






          active

          oldest

          votes












          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',
          autoActivateHeartbeat: false,
          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%2f317098%2fhow-to-obtain-the-maximum-two-values-of-a-field-without-having-to-do-it-manuall%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f317098%2fhow-to-obtain-the-maximum-two-values-of-a-field-without-having-to-do-it-manuall%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

          Щит и меч (фильм) Содержание Названия серий | Сюжет |...

          Венесуэла на летних Олимпийских играх 2000 Содержание Состав...

          Meter-Bus Содержание Параметры шины | Стандартизация |...