{"id":13856887,"url":"https://github.com/gee-community/qgis-earthengine-plugin","last_synced_at":"2025-04-04T16:14:01.784Z","repository":{"id":38555945,"uuid":"94142240","full_name":"gee-community/qgis-earthengine-plugin","owner":"gee-community","description":"Integrates Google Earth Engine and QGIS using Python API","archived":false,"fork":false,"pushed_at":"2024-05-25T20:24:57.000Z","size":994,"stargazers_count":435,"open_issues_count":19,"forks_count":113,"subscribers_count":36,"default_branch":"master","last_synced_at":"2024-06-11T17:29:14.155Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://qgis-ee-plugin.appspot.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gee-community.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"open_collective":"qgis-ee-plugin"}},"created_at":"2017-06-12T21:30:20.000Z","updated_at":"2024-07-28T20:28:14.359Z","dependencies_parsed_at":"2024-03-24T00:27:02.784Z","dependency_job_id":"271a5bfd-cfb9-4a2c-8197-c2f6cda1512c","html_url":"https://github.com/gee-community/qgis-earthengine-plugin","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gee-community%2Fqgis-earthengine-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gee-community%2Fqgis-earthengine-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gee-community%2Fqgis-earthengine-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gee-community%2Fqgis-earthengine-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gee-community","download_url":"https://codeload.github.com/gee-community/qgis-earthengine-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247208142,"owners_count":20901570,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-05T03:01:17.419Z","updated_at":"2025-04-04T16:14:01.761Z","avatar_url":"https://github.com/gee-community.png","language":"Python","funding_links":["https://opencollective.com/qgis-ee-plugin"],"categories":["Python","QGIS and Grass"],"sub_categories":["Testing your code"],"readme":"[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://vshymanskyy.github.io/StandWithUkraine/)\n\n# Google Earth Engine Plugin for QGIS\n\nThe **QGIS Earth Engine Plugin** integrates [Google Earth Engine](http://earthengine.google.com) with [QGIS](https://qgis.org/) using the [EE Python API](https://github.com/google/earthengine-api/tree/master/python).\n\n📖 **[User Guide](https://gee-community.github.io/qgis-earthengine-plugin/)**\n💬 **[Discussions \u0026 Support](https://github.com/gee-community/qgis-earthengine-plugin/discussions)**\n🐞 **[Issue Tracker](https://github.com/gee-community/qgis-earthengine-plugin/issues)**\n\n![Add Sentinel-2 image](https://raw.githubusercontent.com/gee-community/qgis-earthengine-plugin/master/media/add_map_layer.png)\n\n---\n\n## 🚀 Quickstart Guide\n\n### 1️⃣ Install the Plugin\n\n- Open **QGIS Plugin Manager** (`Plugins \u003e Manage and Install Plugins`).\n- Search for **\"Google Earth Engine\"** and install it.\n\n### 2️⃣ Find Your Google Cloud Project ID\n\nGoogle Earth Engine requires a **Google Cloud Project**. To find your Project ID:\n\n- Go to the [Google Cloud Console](https://console.cloud.google.com/).\n- Your **Project ID** is visible in the URL or can be selected from the resource list.\n- For more details, refer to the official [Google Cloud Project Management Guide](https://cloud.google.com/resource-manager/docs/creating-managing-projects).\n\n### 3️⃣ Authenticate with your project ID\n\n- Select the sign-in under `Plugins \u003e Google Earth Engine \u003e Sign-In`.\n- Follow prompts to enter your project ID.\n\n### 4️⃣ Use Earth Engine Directly in QGIS 🎉\n\nOnce the plugin is set up, you can start using Earth Engine within QGIS! Try adding a dataset:\n\n```python\nimport ee\nfrom ee_plugin import Map\n\n# Load an elevation dataset\nimage = ee.Image('USGS/SRTMGL1_003')\n\n# Define visualization parameters\nvis_params = {\n    'min': 0, 'max': 4000,\n    'palette': ['006633', 'E5FFCC', '662A00', 'D8D8D8', 'F5F5F5']\n}\n\n# Add the image layer to QGIS\nMap.addLayer(image, vis_params, 'Digital Elevation Model')\nMap.setCenter(-121.753, 46.855, 9)\n```\n\n---\n\n## 🗺️ Map Functions\n\nThe plugin supports several **Map API functions** similar to the Earth Engine Code Editor:\n\n| Function                                                  | Description                         |\n| --------------------------------------------------------- | ----------------------------------- |\n| `Map.addLayer(eeObject, visParams, name, shown, opacity)` | Adds a dataset to QGIS.             |\n| `Map.centerObject(object, zoom)`                          | Centers the map on an object.       |\n| `Map.getBounds(asGeoJSON)`                                | Returns map bounds.                 |\n| `Map.getCenter()`                                         | Gets the current center of the map. |\n| `Map.setCenter(lon, lat, zoom)`                           | Moves the center of the map.        |\n| `Map.getScale()`                                          | Returns the current map scale.      |\n| `Map.getZoom()`                                           | Returns the current zoom level.     |\n| `Map.setZoom(zoom)`                                       | Sets a new zoom level.              |\n\nFor more details, check the [EE API Documentation](https://developers.google.com/earth-engine/getstarted#adding-data-to-the-map).\n\n---\n\n## ❓ Troubleshooting\n\n### Resetting Authentication\n\nIf you experience authentication issues:\n\n- Run `earthengine authenticate` again.\n- Delete the credentials file and restart QGIS:\n  - **Windows:** `C:\\Users\\\u003cUSER\u003e\\.config\\earthengine\\credentials`\n  - **Linux:** `/home/\u003cUSER\u003e/.config/earthengine/credentials`\n  - **MacOS:** `/Users/\u003cUSER\u003e/.config/earthengine/credentials`\n\nMore on authentication troubleshooting: [Earth Engine Guide](https://developers.google.com/earth-engine/guides/auth).\n\n### Common Errors\n\n| Error                                              | Solution                                                                                                              |\n| -------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |\n| `ModuleNotFoundError: No module named 'ee_plugin'` | Ensure the plugin is installed via QGIS Plugin Manager.                                                               |\n| `earthengine authenticate` fails                   | Run `earthengine authenticate --quiet` and restart QGIS.                                                              |\n| `ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED]`   | On MacOS, run `/Applications/Python 3.x/Install Certificates.command`.                                                |\n| Plugin crashes after authentication                | Ensure your IP is not blocked by a firewall. Check [code.earthengine.google.com](http://code.earthengine.google.com). |\n| `SRE module mismatch`                              | Set `PYTHONPATH` to plugin extlibs (e.g. `export PYTHONPATH=~/Projects/qgis-earthengine-plugin/extlibs`)              |\n\n---\n\n## 🤝 Contributing\n\nWe warmly welcome contributions! If you'd like to contribute:\n\n1. Check out [CONTRIBUTING.md](CONTRIBUTING.md) for setup instructions.\n2. Ensure your contribution relates to an existing [issue](https://github.com/gee-community/qgis-earthengine-plugin/issues) or discussion.\n3. Open a pull request or issue before starting major changes.\n\nFor questions, contact the original author: [gennadiy.donchyts@gmail.com](mailto:gennadiy.donchyts@gmail.com).\n\nFor feature requests and updates, please check the [GitHub Issues](https://github.com/gee-community/qgis-earthengine-plugin/issues) and [Discussions](https://github.com/gee-community/qgis-earthengine-plugin/discussions).\n\nThank you for helping improve the QGIS Earth Engine Plugin!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgee-community%2Fqgis-earthengine-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgee-community%2Fqgis-earthengine-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgee-community%2Fqgis-earthengine-plugin/lists"}