Remap with number-limits and not individual values in GEE The Next CEO of Stack Overflow

"Eavesdropping" vs "Listen in on"

How to Implement Deterministic Encryption Safely in .NET

If Nick Fury and Coulson already knew about aliens (Kree and Skrull) why did they wait until Thor's appearance to start making weapons?

Getting Stale Gas Out of a Gas Tank w/out Dropping the Tank

What happened in Rome, when the western empire "fell"?

Why is information "lost" when it got into a black hole?

How to calculate the two limits?

how one can write a nice vector parser, something that does pgfvecparse{A=B-C; D=E x F;}

Audio Conversion With ADS1243

How can the PCs determine if an item is a phylactery?

What are the unusually-enlarged wing sections on this P-38 Lightning?

It is correct to match light sources with the same color temperature?

Players Circumventing the limitations of Wish

What difference does it make using sed with/without whitespaces?

Is dried pee considered dirt?

Is there a reasonable and studied concept of reduction between regular languages?

Does Germany produce more waste than the US?

Does higher Oxidation/ reduction potential translate to higher energy storage in battery?

Raspberry pi 3 B with Ubuntu 18.04 server arm64: what chip

Can Sneak Attack be used when hitting with an improvised weapon?

From jafe to El-Guest

Does the Idaho Potato Commission associate potato skins with healthy eating?

Help! I cannot understand this game’s notations!

Is it correct to say moon starry nights?



Remap with number-limits and not individual values in GEE



The Next CEO of Stack Overflow












0















I have a rather basic question regarding the reclassification of ImageCollections in GEE. When I want to reclass individual values, I use the remap function as follow



var my_reclass= function(image) {
var myreclass = image.remap([10 ,12],[ 0, 3], null, 'my reclass');
};


What I would like to do though and I can not find any examples, is to use number limits for my reclassification



e.g.



-1 thru 3 = 5



3.1 thru 8.2 = 1



...



How can I achieve this?









share



























    0















    I have a rather basic question regarding the reclassification of ImageCollections in GEE. When I want to reclass individual values, I use the remap function as follow



    var my_reclass= function(image) {
    var myreclass = image.remap([10 ,12],[ 0, 3], null, 'my reclass');
    };


    What I would like to do though and I can not find any examples, is to use number limits for my reclassification



    e.g.



    -1 thru 3 = 5



    3.1 thru 8.2 = 1



    ...



    How can I achieve this?









    share

























      0












      0








      0








      I have a rather basic question regarding the reclassification of ImageCollections in GEE. When I want to reclass individual values, I use the remap function as follow



      var my_reclass= function(image) {
      var myreclass = image.remap([10 ,12],[ 0, 3], null, 'my reclass');
      };


      What I would like to do though and I can not find any examples, is to use number limits for my reclassification



      e.g.



      -1 thru 3 = 5



      3.1 thru 8.2 = 1



      ...



      How can I achieve this?









      share














      I have a rather basic question regarding the reclassification of ImageCollections in GEE. When I want to reclass individual values, I use the remap function as follow



      var my_reclass= function(image) {
      var myreclass = image.remap([10 ,12],[ 0, 3], null, 'my reclass');
      };


      What I would like to do though and I can not find any examples, is to use number limits for my reclassification



      e.g.



      -1 thru 3 = 5



      3.1 thru 8.2 = 1



      ...



      How can I achieve this?







      google-earth-engine reclassify remap





      share












      share










      share



      share










      asked 45 secs ago









      geo_ddgeo_dd

      453413




      453413






















          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%2f317305%2fremap-with-number-limits-and-not-individual-values-in-gee%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%2f317305%2fremap-with-number-limits-and-not-individual-values-in-gee%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 Содержание Параметры шины | Стандартизация |...