MCPcopy Create free account

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

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

Methodget_data
Placeholder method to get data for the chart.
geemap/chart.py:529
Methodget_data_table
Returns the DataTable instance containing the chart data.
geemap/chart.py:447
Methodget_dataset_description
Fetches JSON STAC description for the given Earth Engine dataset id.
geemap/ai.py:220
Methodget_dataset_type
Gets the dataset type of the collection. Returns: The dataset type of the collection.
geemap/ai.py:923
Functionget_ee_path
Get the Earth Engine asset ID of an example dataset. Args: name (str): The name of the dataset, such as contents, countries, us_cities, u
geemap/examples/__init__.py:39
Functionget_ee_token
Get Earth Engine token. Returns: dict: The Earth Engine token.
geemap/common.py:14809
Functionget_extra_tools
Lazily create and return the extra_tools list.
geemap/toolbar.py:4239
Functionget_geometry_coords
Returns the coordinates ('x' or 'y') of edges of a Polygon exterior. row (GeoPandas Series): The row of each of the GeoPandas DataFrame. geom
geemap/common.py:14268
Functionget_google_maps_api_key
Returns the Google Maps API key from the environment or Colab user data. Args: key: The name of the environment variable or Colab user da
geemap/coreutils.py:340
Methodget_image
Fetches from Earth Engine the content of the given URL as bytes.
geemap/ai.py:238
Functionget_image_collection_gif
Download all images in an image collection and generate a gif/video. Args: ee_ic (object): ee.ImageCollection. out_dir: The outpu
geemap/cartoee.py:1089
Functionget_info
Print out the information for an Earth Engine object using a tree structure. The source code was adapted from https://github.com/google/earthengi
geemap/coreutils.py:245
Methodget_layer_names
(self)
tests/fake_map.py:104
Functionget_links
Get a list of HTTP URLs to the example datasets. Returns: list: A list of HTTP URLs to the example datasets.
geemap/examples/__init__.py:62
Functionget_main_tools
Lazily create and return the main_tools list.
geemap/toolbar.py:4205
Functionget_metadata
Displays metadata about an Earth Engine asset. Args: asset_id: The Earth Engine asset id. source: 'ee', 'community' or 'all'.
geemap/datasets.py:148
Functionget_names
Get a list of names of the example datasets. Returns: list: A list of names of the example datasets.
geemap/examples/__init__.py:52
Functionget_palettable
Get a list of palettable color palettes. Args: types (list, optional): A list of palettable types to return, e.g., types=['matplotlib', '
geemap/common.py:10569
Functionget_palette_colors
Returns a list of hex colors in a palette from a matplotlib colormap. See the list of colormaps at https://matplotlib.org/stable/tutorials/colors
geemap/common.py:12667
Functionget_path
Get the HTTP URL to an example dataset. Args: name (str): The name of the dataset. Raises: ValueError: If the dataset name i
geemap/examples/__init__.py:19
Methodget_scale
Returns the approximate pixel scale of the current map view in meters.
geemap/core.py:439
Functionget_stats
(image)
geemap/chart.py:1733
Functionget_temp_dir
Returns the temporary directory.
geemap/common.py:10305
Functionget_tile
(url)
geemap/common.py:14529
Functionget_wms_layers
Returns a list of WMS layers from a WMS service. Args: url: The URL of the WMS service. return_titles: If True, the titles of the
geemap/common.py:10157
Methodget_zoom
Returns the current zoom level of the map.
geemap/core.py:399
Functiongoes_fire_timelapse
Create a timelapse of GOES fire data. The code is adapted from Justin Braaten's code: https://code.earthengine.google.com/8a083a7fb13b95ad4ba148ed9b65
geemap/timelapse.py:4174
Functiongoes_timelapse
Create a timelapse of GOES data. The code is adapted from Justin Braaten's code: * https://code.earthengine.google.com/57245f2d3d04233765c42
geemap/timelapse.py:3998
Functiongrid_test
()
examples/javascripts/grid.js:68
Functionhandle_click
(event)
geemap/common.py:4330
Functionhandle_clone_click
(b)
geemap/common.py:4750
Methodhandle_data_update
Handles data update events. Args: _ (Any): Unused parameter.
geemap/core.py:352
Functionhandle_draw
(_, geometry)
geemap/toolbar.py:675
Methodhandle_draw
Handles draw events. Args: _ (Any): Unused parameter. action: The action performed (created, edited, dele
geemap/core.py:330
Functionhandle_file_click
(event)
geemap/common.py:4918
Functionhandle_folder_click
(event)
geemap/common.py:4732
Functionhandle_interaction
(**kwargs)
geemap/toolbar.py:400
Methodhandle_interaction
(**kwargs)
geemap/geemap.py:1390
Methodhandle_message_event
( self, widget: ipywidgets.Widget, content: dict[str, Any], buffers: list[Any] )
geemap/map_widgets.py:1256
Functionhandle_toolbar_event
(event)
geemap/toolbar.py:313
Methodheight
Returns the current height of the map.
geemap/core.py:463
Methodheight
Returns the current height of the map.
geemap/core.py:558
Functionheight_btn_clicked
(b)
geemap/toolbar.py:3707
Functionheight_changed
(change)
geemap/toolbar.py:3763
Functionhelp_button_clicked
(b)
geemap/toolbar.py:1691
Functionhex_to_rgb
Converts hex color to RGB color. Args: value: Hex color code as a string. Defaults to 'FFFFFF'. Returns: RGB color as a tupl
geemap/coreutils.py:464
Functionhex_to_rgba
Converts a hex color code to an RGBA color string. Args: hex_color: The hex color code to convert. It can be in the format '#
geemap/common.py:15283
Functionhistogram
Create a line chart with plotly.express, Args: data: DataFrame | array-like | dict | str (local file path or HTTP URL) This a
geemap/plot.py:568
Functionhtml_to_gradio
Converts the map to an HTML string that can be used in Gradio. Removes unsupported elements, such as attribution and any code blocks containin
geemap/common.py:13867
Functionhtml_to_streamlit
Renders an HTML file as a Streamlit component. Args: filename: The filename of the HTML file. width: Width of the map. Defaults to
geemap/common.py:13239
Functionimage_area_by_group
Calculates the area of each class of an image. Args: img (object): ee.Image groups (object, optional): The groups to use for the
geemap/common.py:7161
Functionimage_band_names
Gets image band names. Args: img (ee.Image): The input image. Returns: ee.List: The returned list of image band names.
geemap/common.py:7089
Functionimage_bandcount
Returns the number of bands in an image. Args: image: The input image filepath or URL.
geemap/common.py:14005
Functionimage_by_class
Returns a Chart from an image by class. Extracts and plots band values by class. Args: image: Image to extract band values from.
geemap/chart.py:1083
Functionimage_by_region
Generates a Chart from an image. Extracts and plots band values in one or more regions in the image, with each band in a separate series.
geemap/chart.py:1137
Functionimage_cell_size
Retrieves the image cell size (e.g., spatial resolution) Args: img (object): ee.Image Returns: float: The nominal scale in m
geemap/common.py:7058
Functionimage_center
Get the center of an image. Args: image: The input image filepath or URL. Returns: tuple: A tuple of (latitude, longitude).
geemap/common.py:13953
Functionimage_client
Get a LocalTileserver TileClient from an image. Args: image (str): The input image filepath or URL. Returns: TileClient: A L
geemap/common.py:13938
Functionimage_convolution
Performs a convolution on an image. Args: image (ee.Image | ee.ImageCollection): The image to convolve. kernel (ee.Kernel, option
geemap/common.py:13278
Functionimage_count
Create an image with the number of available images for a specific region. Args: collection (ee.ImageCollection): The collection to be que
geemap/common.py:12018
Functionimage_date
Retrieves the image acquisition date. Args: img (object): ee.Image date_format (str, optional): The date format to use. Defaults
geemap/common.py:7101
Functionimage_doy_series
Returns a time series chart days of the year. For an image collection for a specific region. Args: image_collection: The image colle
geemap/chart.py:1170
Functionimage_doy_series_by_region
Generates a time series chart of an image collection for multiple regions over a range of days of the year. Args: image_collecti
geemap/chart.py:1290
Functionimage_geotransform
Returns the list geotransform values of an image. Args: image: The input image filepath or URL.
geemap/common.py:14066
Functionimage_histogram
Create a histogram of an image. Args: img (ee.Image): The image to calculate the histogram. region (ee.Geometry | ee.FeatureColle
geemap/common.py:7400
Functionimage_histogram
Creates a histogram for each band of the specified image within the given region. Args: image: The EE image for which to create histogram
geemap/chart.py:1547
Functionimage_metadata
Returns a dictionary of the metadata of an image. Args: image: The input image filepath or URL.
geemap/common.py:13990
Methodimage_preview_url
Returns the URL of the preview image for the collection. Raises: ValueError: If no preview image is found.
geemap/ai.py:1054
Functionimage_projection
Returns the projection of an image. Args: image: The input image filepath or URL.
geemap/common.py:14037
Functionimage_props
Gets image properties. Args: img: The input image. date_format: The output date format. Defaults to 'YYYY-MM-dd HH:mm:ss'. R
geemap/common.py:6467
Functionimage_reclassify
Reclassify an image. Args: img (object): The image to which the remapping is applied. in_list (list): The source values (numbers
geemap/common.py:7897
Functionimage_regions
Generates a Chart from an image by regions. Extracts and plots band values in multiple regions. Args: image: Image to extract band v
geemap/chart.py:1653
Functionimage_resolution
Returns the resolution of an image. Args: image: The input image filepath or URL.
geemap/common.py:14082
Functionimage_series
Generates a time series chart of an image collection for a specific region. Args: image_collection: The image collection to analyze.
geemap/chart.py:1684
Functionimage_series_by_region
Generates a time series chart of an image collection for multiple regions. Args: image_collection: The image collection to analyze.
geemap/chart.py:1768
Functionimage_set_crs
Define the CRS of an image. Args: image: The input image filepath epsg: The EPSG code of the CRS to set.
geemap/common.py:14052
Functionimage_size
Returns the size (width, height) of an image. Args: image: The input image filepath or URL.
geemap/common.py:14020
Functionimage_smoothing
Smooths an image. Args: img (object): The image to be smoothed. reducer (object): ee.Reducer kernel (object): ee.Kernel
geemap/common.py:7911
Functionimage_stats
Gets image descriptive statistics. Args: img: The input image to calculate descriptive statistics. region (object, optional): The
geemap/common.py:6522
Functionimage_stats_by_zone
Calculate statistics for an image by zone. Args: image (ee.Image): The image to calculate statistics for. zones (ee.Image): The z
geemap/common.py:7468
Functionimage_to_numpy
Converts an image to a numpy array. Args: image (str): A dataset path, URL or rasterio.io.DatasetReader object. Raises: File
geemap/common.py:11172
Functionimport_btn_clicked
(b)
geemap/common.py:4618
Functionimport_button_clicked
(b)
geemap/toolbar.py:1714
Methodinner_monologue
Sends the current thinking of the LLM model to the user so that they are aware of what the model is thinking between function calls.
geemap/ai.py:280
Methodinspector_tool_callback
( map: Map, selected: bool, item: toolbar.ToolbarItem )
geemap/core.py:1255
Functioninstall_package
Install a Python package. Args: package: Package name or a GitHub URL or a list of package names or GitHub URLs.
geemap/common.py:1657
Functionis_drive_mounted
Returns True if Google Drive is mounted, False otherwise.
geemap/common.py:1610
Methodis_global
Returns True if the bounding box is global, False otherwise.
geemap/ai.py:807
Functionis_latlon_valid
Checks whether a pair of coordinates is valid. Args: location: A pair of latlon coordinates separated by comma or space. Returns:
geemap/common.py:3794
Functionjpg_to_gif
Convert a list of jpg images to gif. Args: in_dir (str): The input directory containing jpg images. out_gif (str): The output fil
geemap/common.py:8541
Functionjrc_hist_monthly_history
Create a JRC monthly history plot. Args: collection (ee.ImageCollection, optional): The image collection of JRC surface water monthly his
geemap/common.py:13122
Functionjslink_slider_label
Link a slider and a label.
geemap/common.py:14776
Methodjump_to
Jumps the map to a specified location. This function jumps the map to the specified location with the specified options. Additional k
geemap/maplibregl.py:2007
Functionkml_to_shp
Converts a KML to shapefile. Args: in_kml (str): The file path to the input KML. out_shp (str): The file path to the output shape
geemap/common.py:8709
Functionkmz_to_ee
Converts a KMZ to ee.FeatureCollection. Args: in_kmz: The file path to the input KMZ. Raises: FileNotFoundError: The input K
geemap/common.py:8804
Functionlandsat_scaling
Apply scaling factors to a Landsat image. Example https://developers.google.com/earth-engine/datasets/catalog/LANDSAT_LC09_C02_T1_L2
geemap/common.py:14327
Functionlandsat_timelapse_legacy
Generates a Landsat timelapse GIF image. Adapted from https://emaprlab.users.earthengine.app/view/lt-gee-time-series-animator by Justin Braaten.
geemap/timelapse.py:2895
Functionlandsat_timelapse_with_samples
Create a Landsat timelapse with optional sample points and time series chart. Args: roi (ee.Geometry): The region to use to filter the co
geemap/timelapse.py:7368
Functionlandsat_timeseries_legacy
Generates an annual Landsat ImageCollection. Adapted from https://gist.github.com/jdbcode/76b9ac49faf51627ebd3ff988e10adbc by Justin Braaten.
geemap/timelapse.py:2284
Methodlast_feature
Returns the last feature created.
geemap/core.py:84
← previousnext →1,201–1,300 of 2,016, ranked by callers