Annonce : Tous les projets non commerciaux enregistrés pour utiliser Earth Engine avant le 15 avril 2025 doivent vérifier leur éligibilité non commerciale pour conserver leur accès à Earth Engine.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/07/26 (UTC)."],[[["The `Array.not()` function in Google Earth Engine returns an array with elements inverted logically: 1 for 0 input and 0 for any other input value."],["It operates element-wise on the input array, transforming each element based on its value."],["The function is available in both JavaScript and Python APIs of Earth Engine."],["Empty arrays remain empty after applying the `not()` function."]]],["The `not()` method, available for Arrays, checks each element. If an element is non-zero, it's replaced with 0; otherwise, it becomes 1. The method operates element-wise on the input array and returns a new array of the same dimensions. It handles various input values, including negative numbers, decimals, and empty arrays, and works in both JavaScript and Python environments. The output array is a transformed version of the original input array.\n"]]