MCPcopy Create free account

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

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

↓ 1 callersMethod_on_map_click
Handles map click events. Args: latlon: The latitude and longitude of the click event.
geemap/map_widgets.py:507
↓ 1 callersMethod_open_layer_editor
(self)
geemap/map_widgets.py:775
↓ 1 callersFunction_order_items
Orders dictionary items in a specified order. Adapted from https://github.com/google/earthengine-jupyter.
geemap/coreutils.py:136
↓ 1 callersMethod_pixel_info
Gets information about pixels at a point. Args: latlon: The latitude and longitude of the point. Returns: Th
geemap/map_widgets.py:603
↓ 1 callersMethod_point_info
Gets information about a point. Args: latlon: The latitude and longitude of the point. Returns: The node con
geemap/map_widgets.py:557
↓ 1 callersMethod_query_point
Queries a point on the map. Args: latlon: The latitude and longitude of the point. ee_object: The Earth Engine object
geemap/map_widgets.py:583
↓ 1 callersMethod_read_files
Processes files in parallel. Args: file_blobs: The list of file blobs. Returns: The list of collections crea
geemap/ai.py:1268
↓ 1 callersMethod_read_image
Reads image from a URL or local file path and returns a dict with the image. Args: image: The URL or local file path to the image
geemap/maplibregl.py:1726
↓ 1 callersMethod_remove_geometry_at_index_on_draw_control
Remove the geometry at the given index on the draw control.
geemap/core.py:202
↓ 1 callersMethod_repr_html_
Displays the map.
geemap/maplibregl.py:204
↓ 1 callersMethod_search_dataset
(self, dataset_search)
geemap/map_widgets.py:1397
↓ 1 callersMethod_search_lat_lon
(self, lat_lon)
geemap/map_widgets.py:1354
↓ 1 callersMethod_search_location
(self, address)
geemap/map_widgets.py:1317
↓ 1 callersMethod_select_dataset
(self, dataset_title)
geemap/map_widgets.py:1415
↓ 1 callersMethod_set_selected_location
(self, address)
geemap/map_widgets.py:1330
↓ 1 callersMethod_setup_event_listeners
(self)
geemap/map_widgets.py:726
↓ 1 callersMethod_setup_event_listeners
(self)
geemap/map_widgets.py:866
↓ 1 callersMethod_toolbar_extra_tools
Returns the extra tools for the toolbar.
geemap/core.py:1287
↓ 1 callersMethod_toolbar_main_tools
Returns the main tools for the toolbar.
geemap/core.py:1251
↓ 1 callersMethod_traitlet_link_type
(self)
geemap/map_widgets.py:719
↓ 1 callersFunction_use_eerepr
Returns whether to use eerepr for printing Earth Engine objects.
geemap/__init__.py:25
↓ 1 callersFunction_validate_palette
Returns the validated palette. Args: palette: The palette.
geemap/ee_tile_layers.py:92
↓ 1 callersMethodadd_basemap
Adds a basemap to the map. Args: basemap: Can be one of string from basemaps.
geemap/plotlymap.py:217
↓ 1 callersFunctionadd_colorbar
Add a colorbar to the map based on visualization parameters provided. Args: ax (cartopy.mpl.geoaxes.GeoAxesSubplot | cartopy.mpl.geoaxes.
geemap/cartoee.py:236
↓ 1 callersMethodadd_colorbar
Add a matplotlib colorbar to the map Args: vis_params: Visualization parameters as a dictionary. See https://deve
geemap/geemap.py:847
↓ 1 callersMethodadd_df
Adds a DataFrame to the map. Args: df (DataFrame): A Pandas DataFrame. layer_name (str, optional): The layer name to
geemap/kepler.py:206
↓ 1 callersMethodadd_draw_control
Adds a drawing control to the map. This method enables users to add interactive drawing controls to the map, allowing for the creatio
geemap/maplibregl.py:324
↓ 1 callersMethodadd_draw_control_lite
Add a lite version draw control to the map for the plotting tool. Args: position: The position of the draw control. Defaults to "
geemap/geemap.py:1027
↓ 1 callersMethodadd_ee_layer
Adds a given EE object to the map as a layer. Args: ee_object (Collection|Feature|Image|MapId): The object to add to the map.
geemap/deck.py:131
↓ 1 callersMethodadd_gdf
Adds a GeoPandas GeoDataFrame to the map. Args: gdf (GeoDataFrame): A GeoPandas GeoDataFrame. layer_name: The layer n
geemap/foliumap.py:1265
↓ 1 callersMethodadd_gdf
Adds a GeoDataFrame to the map. Args: gdf (GeoDataFrame): A GeoPandas GeoDataFrame. layer_name (str, optional): The l
geemap/kepler.py:187
↓ 1 callersMethodadd_gdf
Adds a GeoPandas GeoDataFrame to the map. Args: gdf (GeoPandas.GeoDataFrame): The GeoPandas GeoDataFrame to add to the map.
geemap/deck.py:256
↓ 1 callersMethodadd_geojson
Adds a GeoJSON file to the map. Args: filename: The input file path to the vector dataset. layer_name: The layer name
geemap/deck.py:358
↓ 1 callersFunctionadd_gridlines
Add gridlines and format ticks to map. Args: ax (cartopy.mpl.geoaxes.GeoAxesSubplot | cartopy.mpl.geoaxes.GeoAxes): cartopy G
geemap/cartoee.py:460
↓ 1 callersFunctionadd_hashtag
(color: str)
geemap/colormaps.py:99
↓ 1 callersMethodadd_html
Add HTML to the map. Args: html: The HTML to add. position: The position of the HTML, can be one of "topleft",
geemap/geemap.py:4783
↓ 1 callersMethodadd_image
Add an image to the map. Args: image (str | ipywidgets.Image): The image to add. position: The position of the image,
geemap/geemap.py:4762
↓ 1 callersMethodadd_image
Add an image to the map. Args: image (str | ipywidgets.Image): The image to add. position (tuple, optional): The posi
geemap/foliumap.py:2838
↓ 1 callersFunctionadd_image_to_gif
Adds an image logo to a GIF image. Args: in_gif: Input file path to the GIF image. out_gif: Output file path to the GIF image.
geemap/timelapse.py:547
↓ 1 callersMethodadd_landsat_ts_gif
Adds a Landsat timelapse to the map. Args: layer_name (str, optional): Layer name to show under the layer control. Defaults to 'T
geemap/geemap.py:2183
↓ 1 callersMethodadd_layer
Adds a given EE object to the map as a layer. Args: ee_object (Collection|Feature|Image|MapId): The object to add to the map.
geemap/foliumap.py:283
↓ 1 callersMethodadd_layer
( self, ee_object, vis_params=None, name=None, shown=True, opa
tests/fake_map.py:70
↓ 1 callersMethodadd_layer_control
Adds a layer control to the map. This function creates and adds a layer switcher control to the map, allowing users to toggle the vis
geemap/maplibregl.py:2477
↓ 1 callersMethodadd_layer_manager
Add the Layer Manager to the map. Args: position: The position of the Layer Manager. Defaults to "topright". opened:
geemap/geemap.py:979
↓ 1 callersFunctionadd_north_arrow
Add a north arrow to the map. Args: ax (cartopy.mpl.geoaxes.GeoAxesSubplot | cartopy.mpl.geoaxes.GeoAxes): cartopy GeoAxesSub
geemap/cartoee.py:593
↓ 1 callersMethodadd_plot_gui
Adds the plot widget to the map. Args: position: Position of the widget. Defaults to "topright". **kwargs: Additional
geemap/geemap.py:1071
↓ 1 callersFunctionadd_progress_bar_to_gif
Adds a progress bar to a GIF image. Args: in_gif (str): The file path to the input GIF image. out_gif (str): The file path to the
geemap/timelapse.py:5090
↓ 1 callersFunctionadd_scale_bar_lite
Add a lite version of scale bar to the map. Reference: https://stackoverflow.com/a/50674451/2676166 Args: ax (cartopy.mpl.geoaxes.Ge
geemap/cartoee.py:887
↓ 1 callersMethodadd_shp
Adds a shapefile to the map. Args: in_shp: The input file path to the shapefile. layer_name: The layer name to be use
geemap/kepler.py:144
↓ 1 callersMethodadd_text
Adds text to the map with customizable styling. This method allows adding a text widget to the map with various styling options such
geemap/maplibregl.py:2176
↓ 1 callersMethodadd_time_slider
Adds a time slider to the map. Args: ee_object (ee.Image | ee.ImageCollection): The Image or ImageCollection to visualize.
geemap/geemap.py:3509
↓ 1 callersMethodadd_vector
Adds any geopandas-supported vector dataset to the map. Args: filename: Either the absolute or relative path to the file or URL t
geemap/geemap.py:2941
↓ 1 callersMethodadd_vector
Adds any geopandas-supported vector dataset to the map. Args: filename: Either the absolute or relative path to the file or URL t
geemap/kepler.py:245
↓ 1 callersMethodadd_widget
Add a widget (e.g., text, HTML, figure) to the map. Args: content: The widget to add. position: The position of the w
geemap/foliumap.py:2876
↓ 1 callersMethodadd_wms_layer
Add a WMS layer to the map. Args: url: The URL of the WMS web service. layers: Comma-separated list of WMS layers to
geemap/geemap.py:1158
↓ 1 callersMethodadd_wms_layer
Add a WMS layer to the map. Args: url: The URL of the WMS web service. layers: Comma-separated list of WMS layers to
geemap/foliumap.py:486
↓ 1 callersMethodadd_xy_data
Adds points from a CSV file containing lat/lon information and display data on the map. Args: in_csv: The file path to the input
geemap/geemap.py:3680
↓ 1 callersMethodapply_basemap
(self)
geemap/map_widgets.py:880
↓ 1 callersFunctionarc_active_map
Get the active map in ArcGIS Pro. Returns: arcpy.Map: The active map in ArcGIS Pro.
geemap/common.py:13783
↓ 1 callersFunctionarc_active_view
Get the active view in ArcGIS Pro. Returns: arcpy.MapView: The active view in ArcGIS Pro.
geemap/common.py:13799
↓ 1 callersFunctionarray_to_df
Converts input of y-values and optional x-values into a pandas DataFrame. Args: y_values: The y-values to convert. x_values: The
geemap/chart.py:119
↓ 1 callersFunctionarray_to_memory_file
Convert a NumPy array to a memory file. Args: array: The input NumPy array. source: Path to the source file to extract metadata f
geemap/common.py:14938
↓ 1 callersMethodask
(self, question, temperature=0)
geemap/ai.py:557
↓ 1 callersFunctionbbox_coords
Get the bounding box coordinates of a geometry. Args: geometry (ee.Geometry | ee.FeatureCollection): The input geometry. decimals
geemap/common.py:12840
↓ 1 callersFunctionbbox_to_gdf
Converts a bounding box to a GeoDataFrame. Args: bbox (tuple): A bounding box in the form of a tuple (minx, miny, maxx, maxy). cr
geemap/common.py:10874
↓ 1 callersFunctionbbox_to_geojson
Convert coordinates of a bounding box to a geojson. Args: bounds: A list of coordinates representing [left, bottom, right, top]. Ret
geemap/common.py:6300
↓ 1 callersFunctionbuild_api_tree
Builds an Earth Engine API tree view. Args: api_dict: The dictionary containing information about each Earth Engine API funct
geemap/common.py:4308
↓ 1 callersFunctionbuild_asset_tree
(limit: int = 100)
geemap/common.py:4550
↓ 1 callersFunctionbuild_computed_object_tree
Return a tree structure representing an EE object. The source code was adapted from https://github.com/google/earthengine-jupyter. Credits to
geemap/coreutils.py:194
↓ 1 callersFunctionbuild_palette
Creates hex color code palette from a matplotlib colormap. Args: cmap: String specifying matplotlib colormap to colorize image. If cmap i
geemap/cartoee.py:219
↓ 1 callersFunctionbuild_repo_tree
Builds a repo tree for GEE account. Args: out_dir: The output directory for the repos. Defaults to None. name: The output name fo
geemap/common.py:4668
↓ 1 callersFunctionbuild_toolbox
Build the GEE toolbox. Args: tools_dict (dict): A dictionary containing information for all tools. max_width: The maximum width o
geemap/toolbar.py:1731
↓ 1 callersMethodcalculate_vis_minmax
Calculate the min and max clip values for visualization. Args: bounds: The bounds to sample. bands: The bands to samp
geemap/ee_tile_layers.py:259
↓ 1 callersMethodcatalog_url
Returns the URL of the catalog for the collection.
geemap/ai.py:1069
↓ 1 callersFunctionchange_require
(lib_path)
geemap/common.py:12918
↓ 1 callersMethodchat
Adds a question to the ongoing chat session.
geemap/ai.py:597
↓ 1 callersFunctioncheck_basemap
Returns the normalized Google basemap name. Args: basemap: The basemap name.
geemap/common.py:14788
↓ 1 callersFunctioncheck_git_install
Checks if Git is installed. Returns: Returns True if Git is installed, otherwise returns False.
geemap/common.py:1702
↓ 1 callersFunctioncheck_html_string
Check if an HTML string contains local images and convert them to base64. Args: html_string (str): The HTML string. Returns:
geemap/common.py:15544
↓ 1 callersFunctioncheck_map_functions
Extracts Earth Engine map function. Args: input_lines: List of Earth Engine JavaScript. Returns: Output JavaScript with map
geemap/conversion.py:239
↓ 1 callersFunctioncleanup
()
geemap/toolbar.py:334
↓ 1 callersMethodcleanup
Removes the widget from the map and performs cleanup.
geemap/map_widgets.py:482
↓ 1 callersMethodcleanup
Cleans up the widget by calling the on_close callback if set.
geemap/map_widgets.py:887
↓ 1 callersMethodcleanup
Removes the widget from the map and performs cleanup.
geemap/map_widgets.py:1267
↓ 1 callersMethodcleanup
(self)
tests/test_toolbar.py:108
↓ 1 callersFunctionclone_google_repo
Clones an Earth Engine user repository. From https://earthengine.googlesource.com, such as https://earthengine.googlesource.com/users/google/
geemap/common.py:1754
↓ 1 callersFunctioncog_center
Get the centroid of a Cloud Optimized GeoTIFF (COG). Args: url: HTTP URL to a COG, e.g., https://opendata.digitalglobe.com/ev
geemap/common.py:5474
↓ 1 callersFunctioncog_info
Get band statistics of a Cloud Optimized GeoTIFF (COG). Args: url: HTTP URL to a COG, e.g., https://opendata.digitalglobe.com
geemap/common.py:5544
↓ 1 callersFunctioncog_mosaic
Creates a COG mosaic from a list of COG URLs. Args: links: A list containing COG HTTP URLs. titiler_endpoint: Titiler endpoint. D
geemap/common.py:5339
↓ 1 callersFunctioncog_stats
Get band statistics of a Cloud Optimized GeoTIFF (COG). Args: url: HTTP URL to a COG, e.g., https://opendata.digitalglobe.com
geemap/common.py:5520
↓ 1 callersFunctioncollect_samples
A widget for collecting training samples. Args: m (object): geemap.Map
geemap/toolbar.py:1458
↓ 1 callersFunctionconstruct_maptiler_style
Constructs a URL for a MapTiler style with an optional API key. This function generates a URL for accessing a specific MapTiler map style. If an
geemap/maplibregl.py:2700
↓ 1 callersFunctionconvert_for_loop
Converts JavaScript for loop to Python for loop. Args: line: Input JavaScript for loop Returns: Converted Python for loop.
geemap/conversion.py:176
↓ 1 callersFunctionconvert_frames_to_video
Convert frames to video Args: input_list: Downloaded Image Name List. output_video_file_name: Name of the
geemap/cartoee.py:1270
↓ 1 callersFunctionconvert_js2py
A widget for converting Earth Engine JavaScript to Python. Args: m (object): geemap.Map
geemap/toolbar.py:1390
↓ 1 callersFunctioncreate_error_prompt
(code: str, error_msg: str)
geemap/ai.py:1713
↓ 1 callersFunctioncreate_histogram
Creates a bqplot histogram for the given histogram data. Args: hist_data: The histogram data. color: The color of the
geemap/chart.py:1595
↓ 1 callersFunctioncreate_landsat_index_timelapse
Create a Landsat timelapse with indices.
geemap/timelapse.py:8292
↓ 1 callersFunctioncreate_landsat_time_series_chart_frames
Create frames for the Landsat time series chart with current time indicator. Args: sample_data (dict): Sample data for each point/band co
geemap/timelapse.py:8419
↓ 1 callersFunctioncreate_legend
Create a legend in HTML format. Reference: https://bit.ly/3oV6vnH Args: title: Title of the legend. Defaults to 'Legend'. Defaults to "Le
geemap/common.py:13521
← previousnext →401–500 of 2,016, ranked by callers