MCPcopy Create free account

hub / github.com/gee-community/geemap / functions

Functions2,016 in github.com/gee-community/geemap

Functiondynamic_world
Create 10-m land cover composite based on Dynamic World. The source code is adapted from the following tutorial by Spatial Thoughts: https://devel
geemap/common.py:12071
Functiondynamic_world_s2
Create Sentinel-2 composite for the Dynamic World Land Cover product. Args: region (ee.Geometry | ee.FeatureCollection): The region of in
geemap/common.py:12195
Functiondynamic_world_timeseries
Create Dynamic World timeseries. Args: region (ee.Geometry | ee.FeatureCollection): The region of interest. start_date (str | ee.
geemap/timelapse.py:4750
Functionedit_download_html
Downloads a file from voila. Adopted from https://github.com/voila-dashboards/voila/issues/578#issuecomment-617668058 Args: html
geemap/common.py:2114
Functionee_api_to_csv
Extracts Earth Engine API documentation. Fetches from https://developers.google.com/earth-engine/api_docs as a csv file. Args: outfi
geemap/common.py:4057
Functionee_data_html
Generates HTML from an asset to be used in the HTML widget. Args: asset: A dictionary containing an Earth Engine asset. Returns:
geemap/common.py:3975
Functionee_data_thumbnail
Retrieves the thumbnail URL of an Earth Engine asset. Args: asset_id An Earth Engine asset id. timeout: Timeout in seconds. Defau
geemap/common.py:3938
Functionee_export_geojson
Exports Earth Engine FeatureCollection to geojson. Args: ee_object: ee.FeatureCollection to export. filename: Output file name. D
geemap/common.py:813
Functionee_export_image_collection
Exports an ImageCollection as GeoTIFFs. Args: ee_object: The ee.ImageCollection to download. out_dir: The output directory for th
geemap/common.py:186
Functionee_export_image_collection_to_asset
Creates a batch task to export an ImageCollection as assets. Args: ee_object: The image collection to export. descriptions: A lis
geemap/common.py:624
Functionee_export_image_collection_to_cloud_storage
Creates a batch task to export an ImageCollection to a Google Cloud bucket. Args: ee_object: The image collection to export. desc
geemap/common.py:708
Functionee_export_image_collection_to_drive
Creates a batch task to export an ImageCollection to Google Drive. Args: ee_object: The image collection to export. descriptions:
geemap/common.py:522
Functionee_export_map_to_cloud_storage
Creates a task to export an Image as a pyramid of map tiles. Exports a rectangular pyramid of map tiles for use with web map viewers. The map
geemap/common.py:1358
Functionee_export_vector_to_asset
Creates a task to export a FeatureCollection to Asset. Args: collection: The feature collection to be exported. description: Huma
geemap/common.py:1071
Functionee_export_vector_to_cloud_storage
Creates a task to export a FeatureCollection to Google Cloud Storage. Args: collection: The feature collection to be exported. de
geemap/common.py:1113
Functionee_export_vector_to_drive
Creates a task to export a FeatureCollection to Drive. Args: collection: The feature collection to be exported. description: Huma
geemap/common.py:1014
Functionee_export_vector_to_feature_view
Creates a task to export a FeatureCollection to a FeatureView. Args: collection: The feature collection to be exported. descripti
geemap/common.py:1171
Functionee_export_video_to_cloud_storage
Creates a task to export an ImageCollection as a video to Cloud Storage. Args: collection: The image collection to be exported. The colle
geemap/common.py:1282
Functionee_export_video_to_drive
Creates a task to export an ImageCollection as a video to Drive. Args: collection: The image collection to be exported. The collection mu
geemap/common.py:1205
Functionee_initialize
Authenticates Earth Engine and initialize an Earth Engine session. Args: token_name: The name of the Earth Engine token. Defa
geemap/coreutils.py:46
Functionee_join_table
Join a table to an ee.FeatureCollection attribute table. Args: ee_object (ee.FeatureCollection): The ee.FeatureCollection to be joined by
geemap/common.py:11070
Methodee_layer_dict
Returns the dictionary of EE layers.
geemap/geemap.py:215
Methodee_layer_names
Returns the names of the EE layers.
geemap/geemap.py:206
Functionee_num_round
Rounds a number to a specified number of decimal places. Args: num: The number to round. decimal (int, optional): The number of d
geemap/common.py:8466
Methodee_raster_layer_names
Returns the names of the EE raster layers.
geemap/geemap.py:223
Methodee_raster_layers
Returns the dictionary of EE raster layers.
geemap/geemap.py:241
Functionee_search
Search Earth Engine API and user assets. If you received a warning (IOPub message rate exceeded) in Jupyter notebook, you can relaunch Jupyte
geemap/common.py:4391
Functionee_table_to_legend
Converts an Earth Engine color table to a dictionary Args: in_table: The input file path (*.txt) to the Earth Engine color table.
geemap/legends.py:487
Functionee_tile_layer
Converts and Earth Engine layer to ipyleaflet TileLayer. Args: ee_object (Collection|Feature|Image|MapId): The object to add to the map.
geemap/geemap.py:4987
Functionee_tile_layer
Converts and Earth Engine layer to ipyleaflet TileLayer. Args: ee_object (Collection|Feature|Image|MapId): The object to add to the map.
geemap/foliumap.py:3281
Functionee_to_csv
Downloads an ee.FeatureCollection as a CSV file. Args: ee_object (object): ee.FeatureCollection filename (str): The output filepa
geemap/common.py:2555
Functionee_to_geotiff
Downloads an Earth Engine object as GeoTIFF. Args: ee_object (ee.Image | ee.FeatureCollection): The Earth Engine object to download.
geemap/common.py:14661
Functionee_to_numpy
Extracts a rectangular region of pixels from an image into a numpy array. Args: ee_object (ee.Image): The image to sample. region
geemap/common.py:2888
Functionee_to_shp
Downloads an ee.FeatureCollection as a shapefile. Args: ee_object (object): ee.FeatureCollection filename (str): The output filep
geemap/common.py:2528
Functionee_to_xarray
Open an Earth Engine ImageCollection as an Xarray Dataset. This function is a wrapper for xee. Supports both legacy (v0.0.x) and new (v0.1.0+)
geemap/common.py:2912
Methodee_vector_layer_names
Returns the names of the EE vector layers.
geemap/geemap.py:232
Methodee_vector_layers
Returns the dictionary of EE vector layers.
geemap/geemap.py:246
Functionee_vector_style
Create a vector style for a feature collection. Args: collection (ee.FeatureCollection): The input feature collection. column (st
geemap/common.py:12972
Methodembed_documents
Embeds a list of documents. Args: texts: The list of texts to embed. Returns: The list of embeddings.
geemap/ai.py:1389
Methodembed_query
Embeds a query text. Args: text: The query text to embed. Returns: The embedding of the query text.
geemap/ai.py:1400
Methodescape_backticks
Escape backticks so text can be used in a JS template.
geemap/foliumap.py:3191
Functionexplain_relevance
Prompts LLM to explain the relevance of a dataset to a query. Args: query: The user's query. dataset_id: The ID of the dataset.
geemap/ai.py:1576
Functionexport_trees_to_fc
Starts an export task to create a feature collection of a decision tree. Creates a feature collection with a property tree which contains the str
geemap/ml.py:364
Functionextract_pixel_values
Samples the pixels of an image, returning them as a ee.Dictionary. Args: ee_object (ee.Image | ee.ImageCollection): The ee.Image or ee.Im
geemap/common.py:9128
Methodextract_rgb
(rgba_string)
geemap/maplibregl.py:1440
Functionextract_timeseries_to_point
Extracts pixel time series from an ee.ImageCollection at a point. Args: lat (float): Latitude of the point. lon (float): Lon
geemap/common.py:7824
Functionextract_transect
Extracts transect from an image. Credits to Gena for providing the JavaScript example https://code.earthengine.google.com/b09759b8ac60366ee2ae4eccdd19
geemap/common.py:9209
Functionextract_values_to_points
Extracts image values to points. Args: in_fc (object): ee.FeatureCollection. image (object): The ee.Image to extract pixel values
geemap/common.py:7744
Methodextract_values_to_points
Exports pixel values to a csv file based on user-drawn geometries. Args: filename: The output file path to the csv file or shapef
geemap/geemap.py:2584
Methodextract_values_to_points
(self, filename: str)
geemap/foliumap.py:3053
FunctionfdcVis
(img)
geemap/timelapse.py:3961
Functionfeature_groups
Generates a Chart from a set of features. Plots the value of one property for each feature. Reference: https://developers.google.com
geemap/chart.py:900
Functionfeature_histogram
Generates a Chart from a set of features. Computes and plots a histogram of the given property. - X-axis = Histogram buckets (of property val
geemap/chart.py:933
Methodfeatures
Returns a list of features created from geometries and properties.
geemap/core.py:64
Functionfile_type_changed
(change)
geemap/toolbar.py:1244
Functionfilter_HUC08
Filters HUC08 watersheds intersecting a given region. Args: region (object): ee.Geometry Returns: object: ee.FeatureCollecti
geemap/common.py:8217
Functionfilter_HUC10
Filters HUC10 watersheds intersecting a given region. Args: region (object): ee.Geometry Returns: object: ee.FeatureCollecti
geemap/common.py:8233
Functionfilter_NWI
Retrieves NWI dataset for a given HUC8 watershed. Args: HUC08_Id (str): The HUC8 watershed id. region (object): ee.Geometry
geemap/common.py:8194
Methodfilter_by_bounding_box
Returns a sublist with the bbox matching the given bbox.
geemap/ai.py:1150
Methodfilter_by_bounding_box_list
Returns a sublist with the bbox matching the given bbox.
geemap/ai.py:1140
Methodfilter_by_datetime
Returns a sublist with the time interval matching the given time.
geemap/ai.py:1114
Methodfilter_by_interval
Returns a sublist with the time interval matching the given interval.
geemap/ai.py:1127
Functionfilter_polygons
Converts GeometryCollection to Polygon/MultiPolygon Args: ftr (object): ee.Feature Returns: object: ee.Feature
geemap/common.py:2506
Functionfind_HUC08
Finds a HUC08 watershed based on a given HUC08 ID Args: HUC08_Id (str): The HUC08 ID. Returns: object: ee.FeatureCollection
geemap/common.py:8248
Functionfind_HUC10
Finds a HUC10 watershed based on a given HUC08 ID Args: HUC10_Id (str): The HUC10 ID. Returns: object: ee.FeatureCollection
geemap/common.py:8263
Functionfind_NAIP
Create annual NAIP mosaic for a given region. Args: region (object): ee.Geometry add_NDVI (bool, optional): Whether to add the ND
geemap/common.py:8099
Functionfind_NWI
Finds NWI dataset for a given HUC08 watershed. Args: HUC08_Id (str): The HUC08 watershed ID. exclude_riverine (bool, optional): W
geemap/common.py:8279
Functionfind_files
Return a list of matching files in a directory. Args: input_dir: The input directory. ext: The file extension to match. Defaults
geemap/common.py:14097
Methodfind_first_symbol_layer
Find the first symbol layer in the map's current style. Returns: The first symbol layer as a dictionary if found, otherwise None.
geemap/maplibregl.py:2164
Functionfind_landsat_by_path_row
Returns an image collection of Landsat images by WRS path number and row number. Args: landsat_col: The image collection id of Landsat.
geemap/common.py:7957
Methodfind_style_layer
Searches for a style layer in the map's current style by ID and returns it. Args: id: The ID of the style layer to find.
geemap/maplibregl.py:2135
Methodfind_top_matches_with_score_df
Retrieve relevant datasets and their match scores as a DataFrame. Args: query: The kind of data being searched for, e.g., 'popula
geemap/ai.py:1510
Functionfishnet
Create a fishnet (i.e., rectangular grid) based on an input vector dataset. Args: data (str | ee.Geometry | ee.Feature | ee.FeatureCollec
geemap/common.py:7681
Functionfix_widget_error
Fix FigureWidget - 'mapbox._derived' Value Error. Adopted from: https://github.com/plotly/plotly.py/issues/2570#issuecomment-738735816
geemap/plotlymap.py:838
Methodfly_to
Makes the map fly to a specified location. Args: lon: The longitude of the location to fly to. lat: The latitude of t
geemap/maplibregl.py:1695
Functiongdf_geom_type
Returns the geometry type of a GeoDataFrame. Args: gdf (gpd.GeoDataFrame): A GeoDataFrame. first_only (bool, optional): Whether t
geemap/common.py:11156
Functiongeocode
Search location by address and lat/lon coordinates. Args: location: Place name or address. max_rows: Maximum number of records to
geemap/common.py:3733
Functiongeojson_to_ee
Converts a GeoJSON to an Earth Engine Geometry or FeatureCollection. Args: geo_json: A GeoJSON geometry dictionary or file path.
geemap/coreutils.py:726
Functiongeometry_type
Get geometry type of an Earth Engine object. Args: ee_object: An Earth Engine object. Returns: One of Point, MultiPoint, Lin
geemap/coreutils.py:314
FunctiongetAnnualComp
(y)
geemap/timelapse.py:1875
MethodgetInfo
(self)
tests/test_common.py:809
MethodgetInfo
(self)
tests/fake_ee.py:32
MethodgetInfo
(self)
tests/fake_ee.py:71
MethodgetInfo
(self)
tests/fake_ee.py:76
MethodgetInfo
(self, *_, **__)
tests/fake_ee.py:113
MethodgetInfo
(self, *_, **__)
tests/fake_ee.py:152
MethodgetInfo
(self, *_, **__)
tests/fake_ee.py:195
MethodgetInfo
(self)
tests/fake_ee.py:227
FunctiongetMonthlyComp
(startDate)
geemap/timelapse.py:1923
FunctiongetQuarterlyComp
(startDate)
geemap/timelapse.py:1901
MethodgetVisualizationOptions
()
js/vector_layer_editor.ts:72
Functionget_all_NAIP
Creates annual NAIP imagery mosaic. Args: start_year (int, optional): The starting year. Defaults to 2009. end_year (int, optiona
geemap/common.py:8034
Functionget_annual_NAIP
(year: int)
geemap/timelapse.py:1216
Functionget_annual_NAIP
Filters NAIP ImageCollection by year. Args: year (int): The year to filter the NAIP ImageCollection. RGBN (bool, optional): Wheth
geemap/common.py:8012
Methodget_bounds
Returns the bounds of the current map view. Returns: A tuple in the format (west, south, east, north) in degrees.
geemap/core.py:443
Methodget_bounds
Returns the bounds of the current map view. Args: asGeoJSON: If true, returns map bounds as GeoJSON. Defaults to False.
geemap/geemap.py:1234
Functionget_center
Returns the lat, lon of the centroid of a GeoJSON. Args: geometry: A GeoJSON dict. north_up: Defaults to True. transform
geemap/common.py:6452
Methodget_center
Returns the current center of the map (lat, lon).
geemap/core.py:408
Methodget_chart_type
Returns the current chart type, or None if no chart type is set.
geemap/chart.py:443
Functionget_colorbar
Creates a colorbar based on custom colors. Args: colors: A list of hex colors. vmin: The minimum value range. vmax: The m
geemap/colormaps.py:111
← previousnext →1,101–1,200 of 2,016, ranked by callers