Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Identify Tool Not Working on Earth Engine Raster Layers #194

Open
zacdezgeo opened this issue Jan 15, 2025 · 0 comments · May be fixed by #212
Open

Identify Tool Not Working on Earth Engine Raster Layers #194

zacdezgeo opened this issue Jan 15, 2025 · 0 comments · May be fixed by #212
Assignees
Labels

Comments

@zacdezgeo
Copy link
Collaborator

zacdezgeo commented Jan 15, 2025

The identify tool in the Earth Engine QGIS Plugin fails to return valid elevation values for Earth Engine raster layers. Instead of the expected values, it consistently returns 0 or No Data.

Steps to reproduce

  1. Use the sample code from the plugin’s README to load an Earth Engine raster layer:
import ee
from ee_plugin import Map

# Add Earth Engine dataset
image = ee.Image('USGS/SRTMGL1_003')
vis_params = {'min': 0, 'max': 4000, 'palette': ['006633', 'E5FFCC', '662A00', 'D8D8D8', 'F5F5F5']}
Map.addLayer(image, vis_params, 'DEM')
Map.setCenter(-121.753, 46.855, 9)
  1. Use the Identify tool on the DEM layer.
  2. Observe the output values (all 0 or No Data).
Screenshare.-.2025-01-15.10_56_16.AM.1.mp4

System info

QGIS 3.34.13, running on MacOS 15.1

@zacdezgeo zacdezgeo added the bug label Jan 15, 2025
@zacdezgeo zacdezgeo linked a pull request Jan 21, 2025 that will close this issue
@zacdezgeo zacdezgeo self-assigned this Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant