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.
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Bienvenue dans le tutoriel Google Earth Engine pour travailler avec l'ensemble de données sur les eaux de surface mondiales (GSW, Global Surface Water). Cet ensemble de données est décrit dans la lettre Nature
High-resolution mapping of global surface water and its long-term changes.
Ce tutoriel fournit des exemples d'utilisation d'Earth Engine pour visualiser les couches de données disponibles dans l'ensemble de données GSW. Il présente également des visualisations et des analyses typiques.
Ce tutoriel est divisé en sections. Dans chaque section, le code sera développé progressivement avec de courts extraits de code et du texte explicatif. À la fin de chaque section, le script de travail complet sera présenté.
Les données GSW décrites dans ce tutoriel ont été produites dans le cadre du programme Copernicus et sont fournies sans frais, sans restriction d'utilisation. Pour obtenir des informations complètes sur la licence, consultez le Règlement Copernicus.
Si vous utilisez les données comme calque dans une carte publiée, veuillez inclure le texte d'attribution suivant :
Accéder à Earth Engine
L'accès à Earth Engine est sans frais, mais nécessite une inscription. Pour y accéder, veuillez remplir notre formulaire d'inscription à Earth Engine afin de demander un compte évaluateur. Les personnes autorisées à accéder à l'outil recevront un e-mail contenant des instructions supplémentaires sous quelques jours ouvrés.
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).
[null,null,["Dernière mise à jour le 2025/07/26 (UTC)."],[[["\u003cp\u003eThis tutorial demonstrates how to use Google Earth Engine to work with the Global Surface Water (GSW) dataset, enabling visualization and analysis of surface water data.\u003c/p\u003e\n"],["\u003cp\u003eThe tutorial is structured in sections with gradual code snippets and explanations, culminating in complete working scripts for each section.\u003c/p\u003e\n"],["\u003cp\u003eUsers are expected to have prior experience with the Earth Engine Code Editor and API, as outlined in the prerequisites.\u003c/p\u003e\n"],["\u003cp\u003eThe GSW dataset, produced under the Copernicus Programme, is freely available with proper attribution to "Source: EC JRC/Google" when used in published maps.\u003c/p\u003e\n"],["\u003cp\u003eAccess to Earth Engine requires a free signup process through the provided form for an Evaluator account.\u003c/p\u003e\n"]]],["This tutorial demonstrates using Google Earth Engine to work with the global surface water (GSW) dataset. It provides examples for visualizing GSW data layers, and performing analyses, using code snippets and explanations in sections. The GSW data, created under the Copernicus Programme, is freely available. Users are instructed to use the Earth Engine Code Editor. Attribution \"Source: EC JRC/Google\" is required for published maps using the data. Access requires signup via the Earth Engine form.\n"],null,["# Introduction\n\nWelcome to the Google Earth Engine tutorial for working with the global surface water (GSW)\ndataset. This dataset is described in the Nature letter\n[High-resolution mapping of global surface water and its long-term changes](https://www.nature.com/articles/nature20584.epdf?author_access_token=C5JSvooRop4jWxyp_qRPLNRgN0jAjWel9jnR3ZoTv0MqBuzCNsmw_DFxRd7sX93nfPzcbm_xTiPLlZMl7XrUhadm6EiT9cGdDNgn1s6EWrPWH3IeadLUjApplBoaS6xH).\nThis tutorial provides examples of how to use Earth Engine to visualize data layers\navailable in the GSW dataset, and presents some typical visualizations and analyses.\n\nThe tutorial is broken up into sections. Within each section, code will be built up\ngradually with short code snippets and explanatory text. At the end of each section, the\ncomplete working script will be presented.\n\nReferences\n----------\n\n- [High-resolution mapping of global surface water and its\n long-term changes](http://rdcu.be/nDd2) (online viewer)\n- [Get water governance on the global agenda](http://www.nature.com/news/get-water-governance-on-the-global-agenda-1.21104) (Nature editorial)\n- [Global Surface Water Explorer](https://global-surface-water.appspot.com/) (web application)\n- [Data Users Guide (v2)](https://storage.googleapis.com/global-surface-water/downloads_ancillary/DataUsersGuidev2.pdf)\n\nAudience\n--------\n\nThis tutorial assumes you are familiar with concepts presented in the\n[Earth Engine Code Editor](/earth-engine/guides/playground)\ndocumentation pages and have worked through the [Earth Engine API tutorial](https://developers.google.com/earth-engine/tutorial_api_01).\n\nLicense and Attribution\n-----------------------\n\nThe GSW data described in this tutorial were produced under the\n[Copernicus Programme](http://www.copernicus.eu/) and\nare provided free of charge, without restriction of use. For the full license information\nsee the [Copernicus Regulation.](http://www.copernicus.eu/main/data-access/)\n\nIf you are using the data as a layer in a published map, please include the following\nattribution text:\n| **Attribution text:** \"Source: EC JRC/Google\"\n\nGet access to Earth Engine\n--------------------------\n\nAccess to Earth Engine is free, but requires signup. To get access, please fill out our\n[Earth Engine signup form](https://earthengine.google.com/signup)\nto apply for an Evaluator account. Those granted access will receive an email within\na few business days with further instructions.\n\nOnce you're familiar with the Code Editor, [get started on the tutorial](/earth-engine/tutorials/tutorial_global_surface_water_02)!"]]