Skip to main content

Questions tagged [geemap]

geemap is a Python package for interactive mapping with Google Earth Engine (GEE)

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

When I run geemap.Map() with Visual Studio Code ,there is no box below to enter code [closed]

When I run geemap.Map() with Visual Studio Code ,there is no box below to enter code.
haima's user avatar
  • 1
0 votes
1 answer
20 views

Trying to export a feature collection in Google Earth Engine

I have obtained sea surface temperature data for Ascension Island and now want to export this into a csv. I managed to export the mean SST values for a previous package I was looking at (NASA/...
Charlie Riddick's user avatar
0 votes
1 answer
23 views

What causes geemap.extract_values_to_points() to produce such inconsistent results?

I'm trying to get the average pixel values over a period of time. I used two methods: (a) using .mean() to reduce ImageCollection first and then extract pixel values from the reduced image. (b) ...
LChen's user avatar
  • 13
0 votes
1 answer
14 views

Accessing Earth engine asset inside a function when using .map

I am trying to do something similar, I have a feature collection which i want to map over an function, which access image in an asset. The image asset id is a combination of variable inside the ...
Rajani A's user avatar
0 votes
1 answer
39 views

NAIP acquisition time?

I'm using Google Earth Engine (geemap) to look at NAIP imagery. The image ID shows the acquisition date, and the metadata shows the acquisition time (system:time_start and system:time_end) in ...
Feesh's user avatar
  • 43
0 votes
0 answers
19 views

Error in display the image by cartopy

I want to visualize the image using cartopy. The image shows OK in the geemap. The coding as follow: import ee import geemap import cartopy.crs as ccrs import the cartoee functionality from geemap ...
Molly cao's user avatar
0 votes
0 answers
28 views

Mapping monthly max mean temperature

I need to map and determine the monthly mean max temperature for my study area between 2013 and 2023. The following code works, but I am confident that the result is not the monthly mean during the ...
Aldridge Nyasha's user avatar
0 votes
0 answers
34 views

HTTPError: HTTP Error 403: Forbidden after entering ee.Authenticate() token code

This is my first time using geemap and ee libraries. I have followed every step and wrote the code below: import geemap import ee ee.Authenticate() After getting the token code from the pop-up ...
Sam Q's user avatar
  • 1
0 votes
0 answers
59 views

TypeError: Image data of dtype object cannot be converted to float

The main functionality of the script is to extract GeoJSON data, load it into Earth Engine, retrieve Sentinel-2 imagery, calculate the mean NDVI, and visualize the NDVI for each GeoJSON feature. My ...
Muhammad Waqas's user avatar
0 votes
0 answers
27 views

Format error training algorithm for image supervised classification - Google Earth Engine python API in QGIS

I am using Google Earth Engine python API in QGIS to try and run a supervised classification of an aerial image. I started working on a GEE guide on supervised classification, but there seems to be a ...
Tom John's user avatar
0 votes
1 answer
25 views

Failing to clip and then export chirps rainfall data as CSV in Google Earth Engine

I wish to export daily rainfal data as CSV in Google Earth Engine for a 40 year period and then export the result as csv. However the code first fails to clip the data to the study area, and also it ...
Aldridge Nyasha's user avatar
-1 votes
1 answer
104 views

Link drive folder to gee: Display tiff images from drive to gee

I have classified images using many different programs on gee and exported a series of classified images to a folder on my drive. I don't know how I can link that folder to gee so I can display the ...
MNgoc's user avatar
  • 1
1 vote
1 answer
43 views

Geemap map center is not in the right place

I try to center map in my location at Java Island. The coordinate is [107.169, -6.661]. But it seems not in the right place. When I load the script, it load to Greenland. I show the wrong result. ...
mega saputra's user avatar
0 votes
0 answers
122 views

Could not convert the GeoJSON to ee.Geometry()

My GeoJSON file's structure: { "type": "FeatureCollection", "name": "10", "crs": { "type": "name", "properties&...
Muhammad Waqas's user avatar
0 votes
1 answer
44 views

Conflicting date ranges for COPERNICUS/DEM/GLO30 in Earth Engine

I'm trying to filter DEMs from the COPERNICUS/DEM/GLO30 ImageCollection in Google Earth Engine by date. However, the date range I'm getting from the collection seems incorrect, leading to filtering ...
Patschenkof's user avatar
0 votes
1 answer
37 views

How to extract a grid layer from GEE image?

Recently while working with GEE in python I was trying to slice a Landsat image to get its bands and grid for a specific area. On the first stage I sampled a neighborhood around a point with radius ...
Aleksey Rozanov's user avatar
0 votes
1 answer
59 views

Implementing and() method for ee.Image in Google Earth Engine Python API

I am struggling to implement Google Earth Engine's and method in the Python API. I have two binary images (one called gfm and one called hf) and would like to find the union of them. In the GEE ...
Micky Maganini's user avatar
0 votes
0 answers
79 views

No module named 'geetools.ui' when importing from ipygee on google colab

I am trying to import all from ipygee with the command from ipygee import * when I try to comment it I get NotImplementedError: geetools will mostly focus on server-side methods now from this ...
ditiro's user avatar
  • 1
0 votes
0 answers
40 views

Ingesting raster dataset to Google Earth Engine using manifest.json

I am preparing a pipeline to injest raster dataset (GRACE-FO data) to the Google Earth Engine (GEE) platform. The dataset are already uploaded to google cloud storage bucket (gs://gee-ingest-); and I ...
hillsonghimire's user avatar
2 votes
0 answers
186 views

Google Earth Engine k-fold cross-validation

I wrote a script for Google Earth Engine that allows me to analyze geospatial data. Initially, I loaded three data sets: a predictor shapefile, a forecast area shapefile, and a collection of landslide ...
gabrielenapolinic's user avatar
-1 votes
1 answer
280 views

RUSLE in Google Earth Engine

When i change the start date and end date, I receive error like: "Error generating chart: xLabels must be the same length as the 1-D vectors from the array." and "Image.clip: ...
user236188's user avatar
0 votes
1 answer
43 views

How can I filter my GEE data to only look at bounds specified by a GeoJSON file?

Forgive me if this is a noob question... because I am one. I have the following snippet to load some Landsat data: dataset = ee.ImageCollection('LANDSAT/LE07/C02/T2_L2').filterDate('2017-06-01', '2017-...
Dhruv Kapoor's user avatar
0 votes
1 answer
73 views

time_slider using geemap and leefmap

I am new to using geemap, I am trying to create a time slider to show a group of TIFF files I created using Google Earth Engine. I am using colab and following this tutorial: https://leafmap.org/...
almegdadi's user avatar
0 votes
0 answers
267 views

Exporting large data from Google Earth Engine

I have a mosaic of Sentinel-2 images for the city of Porto (in Portugal). I have done all the initial image processing in GEE (python) and now want to use it outside of GEE so I can use the data to ...
rrwork___'s user avatar
0 votes
0 answers
98 views

Creating interactive chart in Jupyter Notebook using Geemap

This code applied the custom date to the x-axis. But I do not want this. I want to show the date on which the Image is taken by using "system:index" property of the Image. Also, This code ...
Muhammad Waqas's user avatar
1 vote
1 answer
125 views

Creating NDVI and Cloud Chart in Jupyter Notebook

I am trying to calculate NDVI and cloud pixel percentage. I have successfully done this but I am facing a problem in creating a chart of it in Jupyter Notebook, as I am new to Python so I tried ...
Muhammad Waqas's user avatar
0 votes
1 answer
811 views

Total request size (537871149 bytes) must be less than or equal to 50331648 bytes

I try to export images from an image collection in .tif by using this code. https://colab.research.google.com/drive/1dfIoK5stZcFrtfGDsFLhxIV_VrJNZlxM?usp=sharing When doing this I got the following ...
Aurélien Lengrand's user avatar
0 votes
1 answer
52 views

Why am I getting the error "EEException: List.map: Parameter 'list' is required." when converting GEE feature collection to geopandas df in python?

I'm trying to get a df with tree cover loss by year by sector of the DRC using the gee python API. The output feature collection is finally what I want, but I keep getting the following error: ...
user232059's user avatar
0 votes
0 answers
63 views

Dropdown does not update map on Google Earth Engine (Geemap Python package)

I have estimated NDVI and NDWI for a specific area based on Sentinel 2 images via gee library on Python (Google Earth Engine). More specifically, I have created two functions (one for each index) and ...
Ilias Machairas's user avatar
0 votes
0 answers
26 views

Problems with dissolved shapefiles in Google Earth Engine

I created a single dissolved polygon shapefile out of a set of smaller polygons in ArcGIS and imported it into Google Earth Engine using geemap (Python API). I wanted to extract values from every ...
Feesh's user avatar
  • 43
0 votes
0 answers
30 views

Put several different image collections into a new image collection at different bands and download the new image

I have several different image collections and they align with each other well. How can I put them into one image at different bands as a new image collection? In this case, I want to download the new ...
Raymond's user avatar
1 vote
1 answer
96 views

geemap - add text to Landsat time series and change the pace of images

I'm trying to generate timeseries from Landsat images based on the documentation of geemap. The problem: 'frames_per_seconds' parameter: When I create time series without the years as text, seems like ...
ReutKeller's user avatar
  • 2,169
0 votes
0 answers
43 views

GEE image transform is different when saving on GCS or reading as ee.Image

I have accessed an image using GEE, and then saved it to GCS. I observed an unexpected behavior when I'm trying to get the dimensions and transform of the image. When I am trying to get the ee.Image ...
ReutKeller's user avatar
  • 2,169
0 votes
0 answers
42 views

Difference in image meta data when using GEE compared to rasterio

I'm accessing SRTM image using GEE, and then I save it as raster and open again with rasterio. I have realized that when I try to get the metadata with GEE, the values are different (and seem to be ...
ReutKeller's user avatar
  • 2,169
0 votes
0 answers
16 views

Sampling weather raster by date in GPS dataframe in GEE

I am trying to extract the u and v component of the daily ERA-5 wind reanalysis to datapoints from a GPS dataset of mule deer. I am wanting to only extract the wind to points based on the date of the ...
Luke Wilde's user avatar
0 votes
1 answer
62 views

gee ranadomPoints fails:Polygon too large to be randomly sampled. Must be smaller than a hemisphere when image is not so huge

I want to sample random points over an image I access using geemap. I was trying to do it as following: #access elevation image and clip it with the feature collection img = ee.Image('USGS/SRTMGL1_003'...
ReutKeller's user avatar
  • 2,169
1 vote
0 answers
86 views

How to retrieve the cloud probabilities of a region in google's Earth Engine

I am trying to retrieve the sentinel-2 cloud probabilities for a specific part (inside a polygon) of specific images (I use Python, and the ee and gee packages). So first I select an image, then I ...
gtjd's user avatar
  • 11
2 votes
1 answer
648 views

How to run a Google Earth Engine script locally

I am new to Google Earth Engine. I have been using the Google Earth Engine code editor to create and run my scripts. However, this approach doesn't scale. I have a script that gets the precipitation ...
Ramaraja's user avatar
  • 135
2 votes
1 answer
381 views

Download images to Google Cloud Storage using geemap.download_ee_image_tiles

Few days ago I saw on a Linkedin post that download_ee_image_tiles option was added to geemap. I was trying to use it with image I had and a fishnet that I have created before. However, I am not sure ...
ReutKeller's user avatar
  • 2,169
1 vote
1 answer
181 views

Converting datatype of a .png image and exporting it as float image

I am trying to convert my uint8 png image to float datatype. First of all, I have tried many libraries that could transform datatypes but I just could not export it as the last datatype I converted ...
cemre aldoğan's user avatar
0 votes
0 answers
213 views

Using geemap to apply Otsu's threshold on time series NDVI slope

I'm running geemap on Google Colab, and try to apply Otsu's threshold to a Sentinel-2 time series NDVI, the threshold is when the NDVI slope is greater than 0.5. But when I try to apply the otsu ...
Xiaoqing Shen's user avatar
1 vote
1 answer
390 views

Unexpected crsTransform after reducing an ImageCollection: nominal scale shows 111319.49079327357

I have created an Image from an Imagecollection and I want to export it and to define the crsTransform parameter. I have read the documentation and the post on this forum and tried to export it , and ...
ReutKeller's user avatar
  • 2,169
0 votes
1 answer
90 views

Error in percentage of areas calculation in GEE

I have been trying to calculate percentage of areas of each class in GEE but I'm getting error and it says that left value is invalid type. And left value is usually list of all the class areas. This ...
Aamna Qamar's user avatar
1 vote
1 answer
288 views

Some of the .tif files downloaded with geemap are flipped vertically

I have downloaded some images from Google Earth Engine, using Geemap library using this code: geemap.download_ee_image(s1_img_vv, "s1_img.tif",crs='EPSG:4326', scale=10,region = r_roi) ...
moien rangzan's user avatar
0 votes
1 answer
38 views

Generate a collection containing only maximum values in GEE

I'm fairly new to GEE and I'm trying to modify a collection of ECMWF ERA5 in order to create an mean image of the maximum values from a period of time. I've tried .map function but nothing displays on ...
SBis_'s user avatar
  • 1
0 votes
1 answer
212 views

ImageCollection (Error) Collection.toList: The value of 'count' must be positive. Got: 0

I am trying to create a median image per year from my image collection but when I apply the function ".filter(ee.Filter.calendarRange(y,y,'year')", it doesn't work and reports an error of &...
Christobal Tobbin's user avatar
0 votes
0 answers
268 views

Mapped function arguments in client-side operations during relative normalization between images using Google Earth Engine

I'm trying to perform a relative normalization between two images in Google Earth Engine using Python, but am running into issues mapping a function over an image collection due to client-server ...
Guest's user avatar
  • 1
1 vote
1 answer
385 views

Error when opening TIFF from GCS using geemap : Unsupported BitsPerSample and SampleFormat values: (64, 1)

I have 1 band image saved on GCS. The image has 1 band and was saved locally with cog driver and then uploaded to the GCS. In addition, the band is binary - has only 2 values - either 0 or 1 (mask). I'...
ReutKeller's user avatar
  • 2,169
1 vote
0 answers
408 views

Impossible to read ESRI Shapefile using geemap.shp_to_ee (geemap)

I'm working with Google Earth Engine Python API and geemap in an Anaconda environment. I'm trying to simply add a vector layer to my basemap. I'm following the Qiusheng Wu's tutorial. So I use the ...
sermomon's user avatar
  • 994
2 votes
2 answers
271 views

Fuzzy Clustering in Google Earth Engine (GEE) or the GEE Python API (geemap)

I'm using the GEE Clusterer algorithm (Weka K Means) to assign 30-m pixels over a large area (several thousand acres) to a predetermined number of groups. The Weka K Means method is a "hard" ...
Gayle Tyree's user avatar