MCPcopy Create free account

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

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

↓ 1 callersFunctioncreate_new_cell
Create a new cell in Jupyter notebook based on the contents. Args: contents: A string of Python code.
geemap/conversion.py:741
↓ 1 callersFunctioncreate_s2_time_series_chart_frames
Create frames for the Sentinel-2 time series chart with current time indicator. Args: sample_data: Dictionary containing sample data for
geemap/timelapse.py:7174
↓ 1 callersFunctioncreate_sentinel2_index_timelapse
Create a Sentinel-2 timelapse with indices.
geemap/timelapse.py:7044
↓ 1 callersFunctioncreate_time_series_chart_frames
Create frames for the time series chart with current time indicator.
geemap/timelapse.py:5974
↓ 1 callersFunctioncsv_to_ee
Creates points for a CSV file and exports data as a GeoJSON. Args: in_csv (str): The file path to the input CSV file. latitude (s
geemap/common.py:2318
↓ 1 callersFunctioncsv_to_gdf
Creates points for a CSV file and converts them to a GeoDataFrame. Args: in_csv (str): The file path to the input CSV file. latit
geemap/common.py:2340
↓ 1 callersFunctioncsv_to_shp
Converts a csv file with latlon info to a point shapefile. Args: in_csv (str): The input csv file containing longitude and latitude colum
geemap/common.py:2213
↓ 1 callersMethoddisplay
Display the UI in the cell.
geemap/ai.py:1815
↓ 1 callersFunctiondisplay_html
Display an HTML file in a Jupyter Notebook. Args src (str): File path to HTML file. width (int, optional): Width of the map. Defa
geemap/common.py:12827
↓ 1 callersFunctiondownload_file
Download a file from URL, including Google Drive shared URL. Args: url: Google Drive URL is also supported. output: Output filena
geemap/coreutils.py:660
↓ 1 callersFunctiondraw_circle_marker
Draw a circle marker.
geemap/timelapse.py:5931
↓ 1 callersFunctiondraw_cross_marker
Draw a cross marker.
geemap/timelapse.py:5919
↓ 1 callersFunctiondraw_square_marker
Draw a square marker.
geemap/timelapse.py:7351
↓ 1 callersFunctiondraw_tile
( source, lat0, lon0, lat1, lon1, zoom, filename, quiet=False, **kwargs )
geemap/common.py:14549
↓ 1 callersMethodedit
(self, i, geo_json)
tests/test_core.py:414
↓ 1 callersFunctionee_export_image
Exports an ee.Image as a GeoTIFF. Args: ee_object: The ee.Image to download. filename: Output filename for the exported image.
geemap/common.py:62
↓ 1 callersFunctionee_export_image_to_asset
Creates a task to export an EE Image to an EE Asset. Args: image: The image to be exported. description: Human-readable name of t
geemap/common.py:364
↓ 1 callersFunctionee_export_image_to_cloud_storage
Creates a task to export an EE Image to Google Cloud Storage. Args: image: The image to be exported. description: Human-readable
geemap/common.py:432
↓ 1 callersFunctionee_export_image_to_drive
Creates a batch task to export an Image as a raster to Google Drive. Args: image: The image to be exported. description: Human-re
geemap/common.py:280
↓ 1 callersFunctionee_function_tree
Construct the tree structure based on an Earth Engine function. For example, the function "ee.Algorithms.FMask.matchClouds" will return a list
geemap/common.py:4280
↓ 1 callersFunctionee_to_bbox
Get the bounding box of an Earth Engine object as a list in the format [xmin, ymin, xmax, ymax]. Args: ee_object (ee.Image | ee.Geometry
geemap/common.py:2410
↓ 1 callersFunctionee_to_gdf
Converts an ee.FeatureCollection to GeoPandas GeoDataFrame. Args: ee_object (ee.FeatureCollection): ee.FeatureCollection. columns
geemap/common.py:8922
↓ 1 callersFunctionexecute_notebook
Executes a Jupyter notebook and save output cells. Args: in_file: Input Jupyter notebook.
geemap/conversion.py:1133
↓ 1 callersFunctionfc_to_classifier
Returns an ee.Classifier from a feature collection. The feature collection must be from from `export_trees_to_fc`. Args: fc (ee.Fea
geemap/ml.py:338
↓ 1 callersFunctionfeature_by_feature
Generates a Chart from a set of features. Plots the value of one or more properties for each feature. Reference: https://developers.
geemap/chart.py:843
↓ 1 callersFunctionfeature_by_property
Generates a Chart from a set of features. Plots property values of one or more features. Reference: https://developers.google.com/ea
geemap/chart.py:869
↓ 1 callersFunctionfile_browser
Creates a simple file browser and text editor. Args: in_dir: The input directory. Defaults to None, which will use the current
geemap/common.py:4781
↓ 1 callersFunctionfind_all
(a_str, sub)
geemap/conversion.py:110
↓ 1 callersMethodfind_layer_index
(self, name)
tests/fake_map.py:61
↓ 1 callersMethodfind_top_matches
Retrieve relevant datasets from the Earth Engine data catalog. Args: query: The kind of data being searched for, e.g., 'populatio
geemap/ai.py:1471
↓ 1 callersFunctionfinish_picture
(bigim, base_size, bbox, x0, y0, x1, y1)
geemap/common.py:14514
↓ 1 callersFunctionfix_ee_python_code
Asks a model to do ee python code correction in the event of error. Args: code: The Earth Engine Python code to fix. ee: The Eart
geemap/ai.py:1698
↓ 1 callersFunctionfloat_range
(start, stop, step)
geemap/common.py:3415
↓ 1 callersFunctionformat_params
Formats keys in a dictionary and adds quotes to the keys. For example, {min: 0, max: 10} will result in ('min': 0, 'max': 10) Args:
geemap/conversion.py:91
↓ 1 callersFunctiongdal_error_handler
Context manager for GDAL error handler.
geemap/common.py:11188
↓ 1 callersFunctiongdf_bounds
Returns the bounding box of a GeoDataFrame. Args: gdf (gpd.GeoDataFrame): A GeoDataFrame. return_geom (bool, optional): Whether t
geemap/common.py:11120
↓ 1 callersFunctiongdf_centroid
Returns the centroid of a GeoDataFrame. Args: gdf (gpd.GeoDataFrame): A GeoDataFrame. return_geom (bool, optional): Whether to re
geemap/common.py:11137
↓ 1 callersFunctiongdf_to_df
Converts a GeoDataFrame to a pandas DataFrame. Args: gdf (gpd.GeoDataFrame): A GeoDataFrame. drop_geom (bool, optional): Whether
geemap/common.py:11017
↓ 1 callersFunctiongenerateGrid
(xmin, ymin, xmax, ymax, dx, dy, marginx, marginy, opt_proj)
examples/javascripts/grid.js:33
↓ 1 callersFunctiongenerateRasterGrid
(origin, dx, dy, proj)
examples/javascripts/grid.js:9
↓ 1 callersFunctiongeojson_to_df
Converts a GeoJSON object to a pandas DataFrame. Args: in_geojson (str | dict): The input GeoJSON file or dict. encoding (str, op
geemap/common.py:11033
↓ 1 callersFunctiongeotiff_to_image
Converts a GeoTIFF file to a JPEG/PNG image. Args: image: The path to the input GeoTIFF file. output: The path to save the output
geemap/common.py:14826
↓ 1 callersMethodgetLegendClassLabels
(palette: string)
js/layer_editor.ts:209
↓ 1 callersMethodgetSelectedBands
()
js/raster_layer_editor.ts:366
↓ 1 callersFunctionget_class_values
(x)
geemap/common.py:6972
↓ 1 callersMethodget_collection
Returns the collection with the given id. Args: id: The ID of the collection. Raises: ValueError: If no coll
geemap/ai.py:1226
↓ 1 callersMethodget_column_names
Returns the new column names for the DataFrame. Args: series_property: The property to use for labeling the series. y
geemap/chart.py:811
↓ 1 callersFunctionget_community_data_list
Returns the list of community dataset IDs. From https://github.com/samapriya/awesome-gee-community-datasets/blob/master/community_datasets.json
geemap/datasets.py:93
↓ 1 callersFunctionget_current_latlon
Get the current latitude and longitude based on the user's location.
geemap/common.py:10012
↓ 1 callersMethodget_data
Returns the x and y data for the chart. Args: x_property: The property to use for the x-axis. y_properties: The prope
geemap/chart.py:707
↓ 1 callersMethodget_data
Returns the x and y data for the chart. Args: x_properties: The properties to use for the x-axis. Raises: Ex
geemap/chart.py:755
↓ 1 callersMethodget_data
Returns the x and y data for the chart. Args: x_property: The property to use for the x-axis. new_column_names: The n
geemap/chart.py:828
↓ 1 callersFunctionget_data_csv
Returns the path to the CSV file summarizing the Earth Engine Data Catalog.
geemap/datasets.py:23
↓ 1 callersFunctionget_data_dict
Returns the Earth Engine Data Catalog as a nested dictionary.
geemap/datasets.py:128
↓ 1 callersFunctionget_data_list
Returns a list of Earth Engine dataset IDs.
geemap/datasets.py:68
↓ 1 callersFunctionget_default_index_vis_params
Get default visualization parameters for different indices.
geemap/timelapse.py:6972
↓ 1 callersFunctionget_default_landsat_band_labels
Get default chart labels for Landsat bands.
geemap/timelapse.py:8259
↓ 1 callersFunctionget_default_landsat_index_vis_params
Get default visualization parameters for different Landsat indices.
geemap/timelapse.py:8178
↓ 1 callersMethodget_ee_example
(self, asset_id)
geemap/map_widgets.py:1429
↓ 1 callersFunctionget_ee_stac_list
Returns the STAC list of the Earth Engine Data Catalog. Raises: Exception: If the JSON file fails to download.
geemap/datasets.py:102
↓ 1 callersFunctionget_geemap_data_list
Returns the list of the public datasets from GEE users.
geemap/datasets.py:77
↓ 1 callersFunctionget_google_map_tile_providers
Generates a dictionary of Google Map tile providers for different map types. Args: language: An IETF language tag that specifies the lang
geemap/basemaps.py:349
↓ 1 callersFunctionget_image_thumbnail
Download a thumbnail for an ee.Image. Args: ee_object (object): The ee.Image instance. out_img (str): The output file path to the
geemap/common.py:2609
↓ 1 callersFunctionget_index_chart_labels
Get chart labels for different indices.
geemap/timelapse.py:7028
↓ 1 callersFunctionget_keys
(input_list)
geemap/common.py:6951
↓ 1 callersFunctionget_landsat_index_chart_labels
Get chart labels for different Landsat indices.
geemap/timelapse.py:8271
↓ 1 callersFunctionget_map
Returns a new cartopy plot with project and adds Earth Engine image results. Args: ee_object (ee.Image | ee.FeatureCollection): Earth Eng
geemap/cartoee.py:37
↓ 1 callersFunctionget_monday
(d: str)
geemap/common.py:5040
↓ 1 callersFunctionget_palettes
Returns a dictionary of colormaps and their associated palettes.
geemap/colormaps.py:243
↓ 1 callersFunctionget_pixel_coordinates_from_geo
Convert geographic coordinates to pixel coordinates. Args: lon (float): Longitude lat (float): Latitude roi_bounds (list)
geemap/timelapse.py:5948
↓ 1 callersFunctionget_quarter
(d: str)
geemap/common.py:5037
↓ 1 callersMethodget_scale
Returns the approximate pixel scale of the current map view in meters. Returns: Map resolution in meters.
geemap/geemap.py:460
↓ 1 callersFunctionget_stats
(value)
geemap/common.py:7534
↓ 1 callersMethodget_style
Get the style of the map. Returns: Dict: The style of the map.
geemap/maplibregl.py:2099
↓ 1 callersFunctionget_tools_dict
Returns a dictionary of tools.
geemap/toolbar.py:1583
↓ 1 callersFunctionget_values
(input_list)
geemap/common.py:6958
↓ 1 callersFunctiongif_to_png
Converts a gif to png. Args: in_gif: The input gif file. out_dir: The output directory. prefix: The prefix of the output
geemap/timelapse.py:245
↓ 1 callersFunctiongoes_fire_timeseries
Create a time series of GOES Fire data. The code is adapted from Justin Braaten's code: * https://code.earthengine.google.com/8a083a7fb13b95
geemap/timelapse.py:3905
↓ 1 callersMethodhandleBandStatsResponse
(response: any)
js/layer_editor.ts:185
↓ 1 callersMethodhandleFieldResponse
(response: any)
js/layer_editor.ts:233
↓ 1 callersMethodhandleFieldValuesResponse
(response: any)
js/layer_editor.ts:258
↓ 1 callersMethodhandlePaletteResponse
(response: any)
js/layer_editor.ts:217
↓ 1 callersFunctionhas_transparency
Checks whether an image has transparency. Args: img: A PIL Image object. Returns: True if it has transparency, False otherwi
geemap/common.py:1896
↓ 1 callersMethodhyphen_id
Gets the hyphenated ID of the collection. Returns: The hyphenated ID of the collection.
geemap/ai.py:915
↓ 1 callersMethodids_to_match_scores_df
Convert dataset IDs and match scores to a DataFrame. Args: query: The kind of data being searched for, e.g., 'population'.
geemap/ai.py:1544
↓ 1 callersFunctionimage_area
Calculates the area of an image. Args: img (object): ee.Image region (object, optional): The region over which to reduce data. De
geemap/common.py:7129
↓ 1 callersFunctionimage_mean_value
Retrieves the mean value of an image. Args: img (object): The image to calculate the mean value. region (object, optional): The r
geemap/common.py:7278
↓ 1 callersFunctionimage_std_value
Retrieves the standard deviation of an image. Args: img (object): The image to calculate the standard deviation. region (object,
geemap/common.py:7306
↓ 1 callersFunctionimage_sum_value
Retrieves the sum of an image. Args: img (object): The image to calculate the standard deviation. region (object, optional): The
geemap/common.py:7334
↓ 1 callersFunctionimage_to_cog
Converts an image to a COG file. Args: source (str): A dataset path, URL or rasterio.io.DatasetReader object. dst_path (str, opti
geemap/common.py:10956
↓ 1 callersMethodimport_button_clicked
(self)
geemap/map_widgets.py:1460
↓ 1 callersFunctionin_colab_shell
Tests if the code is being executed within Google Colab.
geemap/__init__.py:15
↓ 1 callersFunctioninspector_gui
Generates a tool GUI template using ipywidgets. Args: m: The leaflet Map object. Returns: ipywidgets: The tool GUI widget.
geemap/toolbar.py:170
↓ 1 callersFunctionis_GCS
(in_shp)
geemap/common.py:8682
↓ 1 callersMethodis_deprecated
Checks if the collection is deprecated or has a successor. Returns: bool: True if the collection is deprecated or has a successor
geemap/ai.py:931
↓ 1 callersFunctionis_empty
(im)
geemap/common.py:14474
↓ 1 callersFunctionis_on_aws
Returns True if the notebook is running on AWS.
geemap/common.py:15233
↓ 1 callersFunctionis_studio_lab
Returns True if the notebook is running on Studio Lab.
geemap/common.py:15219
↓ 1 callersFunctionis_valid_question
Filters out questions that cannot be answered by a dataset search tool. Args: question: The user's question. model_name: The name
geemap/ai.py:1656
↓ 1 callersFunctionis_within_directory
(directory, target)
geemap/common.py:2034
← previousnext →501–600 of 2,016, ranked by callers