MCPcopy Create free account

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

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

↓ 1 callersFunctionjs_snippet_to_py
EE JavaScript snippet wrapped in triple quotes to Python in a notebook. Args: in_js_snippet: Earth Engine JavaScript within triple quotes
geemap/conversion.py:751
↓ 1 callersFunctionkml_to_ee
Converts a KML to ee.FeatureCollection. Args: in_kml: The file path to the input KML. Raises: FileNotFoundError: The input K
geemap/common.py:8778
↓ 1 callersFunctionlatlon_grid
Create a rectangular grid of latitude and longitude. Args: lat_step (float, optional): The step size in degrees. Defaults to 1.0.
geemap/common.py:7637
↓ 1 callersMethodlayer_to_image
Converts a specific layer from Earth Engine to an image file. Args: layer_name: The name of the layer to convert. out
geemap/geemap.py:4882
↓ 1 callersFunctionmain
()
scripts/bump_geemap_version.py:194
↓ 1 callersFunctionmain
Console script for geemap.
geemap/cli.py:8
↓ 1 callersFunctionmain
()
geemap/conversion.py:1284
↓ 1 callersFunctionmakeLegend
(model: AnyModel<LegendModel>)
tests/legend.spec.ts:11
↓ 1 callersFunctionmakeManager
(model: AnyModel<LayerManagerModel>)
tests/layer_manager.spec.ts:10
↓ 1 callersFunctionmakeRow
(model: AnyModel<LayerManagerRowModel>)
tests/layer_manager_row.spec.ts:9
↓ 1 callersFunctionmakeSearchBar
(model: AnyModel<SearchBarModel>)
tests/search_bar.spec.ts:10
↓ 1 callersFunctionmakeSelector
(model: AnyModel<BasemapSelectorModel>)
tests/basemap_selector.spec.ts:13
↓ 1 callersFunctionmake_langchain_index
Creates an index from a dataframe of precomputed embeddings. Args: embeddings_df: The dataframe containing precomputed embeddings. R
geemap/ai.py:1413
↓ 1 callersFunctionmaptiler_3d_style
Get the 3D terrain style for the map. This function generates a style dictionary for the map that includes 3D terrain features. The terrain
geemap/maplibregl.py:2737
↓ 1 callersFunctionmatches_datetime
Checks if the collection's datetime interval matches the query datetime. Args: collection_interval: Temporal interval of the collection.
geemap/ai.py:748
↓ 1 callersFunctionmatches_interval
Checks if the collection's datetime interval matches the query datetime interval. Args: collection_interval: Temporal interval of the col
geemap/ai.py:727
↓ 1 callersFunctionmerge_dict
Returns the merge of two nested dictionaries. Args: dict1: The first dictionary to merge. dict2: The second dictionary to merge.
geemap/datasets.py:118
↓ 1 callersFunctionminimum_bounding_box
Gets the minimum bounding box for a geojson polygon. Args: geojson: A geojson dictionary. Returns: Returns a tuple containin
geemap/common.py:3706
↓ 1 callersFunctionmodis_ndvi_doy_ts
Create MODIS NDVI timeseries. The source code is adapted from https://developers.google.com/earth-engine/tutorials/community/modis-ndvi-time-series-an
geemap/timelapse.py:4298
↓ 1 callersFunctionmodis_ocean_color_timeseries
Creates a ocean color timeseries from MODIS. https://developers.google.com/earth-engine/datasets/catalog/NASA_OCEANDATA_MODIS-Aqua_L3SMI Args:
geemap/timelapse.py:4527
↓ 1 callersFunctionnumpy_to_ee
Creates an ee.Image from a 3D numpy array where each 2D numpy slice is added to a band, and a geospatial transform that indicates where to put th
geemap/common.py:2827
↓ 1 callersMethodonCustomMessage
(msg: any)
js/layer_editor.ts:74
↓ 1 callersMethodonTabClick
(index: number)
js/tab_panel.ts:193
↓ 1 callersFunctionopen_data_widget
A widget for opening local vector/raster data. Args: m (object): geemap.Map
geemap/toolbar.py:1057
↓ 1 callersFunctionopen_image_from_url
Loads an image from the specified URL. Args: url: URL of the image. timeout: Timeout in seconds. Defaults to 300. proxies
geemap/common.py:1819
↓ 1 callersFunctionpaste_tile
(bigim, base_size, tile, corner_xy, bbox)
geemap/common.py:14486
↓ 1 callersFunctionpivot_df
Pivots a DataFrame using the specified index, columns, and values. Args: df: The DataFrame to pivot. index: The column to use for
geemap/chart.py:102
↓ 1 callersFunctionpixel
( x, width: float = 100, color_map=None, spread: float = 1 )
geemap/common.py:3436
↓ 1 callersFunctionplanet_biannual_tiles_tropical
Generates Planet bi-annual imagery TileLayer based on an API key. See https://assets.planet.com/docs/NICFI_UserGuidesFAQ.pdf Args: api_k
geemap/common.py:9537
↓ 1 callersFunctionplanet_monthly_tiles
Generates Planet monthly imagery TileLayer based on an API key. To get a Planet API key, see https://developers.planet.com/quickstart/apis/ Args
geemap/common.py:9703
↓ 1 callersFunctionplanet_monthly_tiles_tropical
Generates Planet monthly imagery TileLayer based on an API key. See https://assets.planet.com/docs/NICFI_UserGuidesFAQ.pdf Args: api_key
geemap/common.py:9494
↓ 1 callersFunctionplanet_quarterly_tiles
Generates Planet quarterly imagery TileLayer based on an API key. To get a Planet API key, see https://developers.planet.com/quickstart/apis/ Ar
geemap/common.py:9747
↓ 1 callersFunctionplot_transect
Creates a widget for plotting transects. Args: m: A geemap Map instance. Returns: ipywidgets: The interactive GUI.
geemap/toolbar.py:3204
↓ 1 callersFunctionplotly_basemap_gui
Widget for changing basemaps. Args: canvas (object): The plotly Map canvas. map_min_width: The minimum width of the map.
geemap/toolbar.py:4669
↓ 1 callersFunctionplotly_search_basemaps
The widget for search XYZ tile services. Args: canvas (plotlymap.Map, optional): The Plotly Map object. Returns: ipywidgets:
geemap/toolbar.py:4723
↓ 1 callersFunctionplotly_toolbar
Creates the main toolbar and adds it to the map. Args: m (plotlymap.Map): The plotly Map object.
geemap/toolbar.py:4307
↓ 1 callersFunctionplotly_whitebox_gui
Widget for WhiteboxTools. Args: canvas (object): The plotly Map canvas.
geemap/toolbar.py:4911
↓ 1 callersFunctionpmtiles_style
Generates a Mapbox style JSON for rendering PMTiles data. Args: url: The URL of the PMTiles file. layers: The layers to include i
geemap/common.py:15420
↓ 1 callersFunctionpng_to_gif
Convert a list of png images to gif. Args: in_dir (str): The input directory containing png images. out_gif (str): The output fil
geemap/common.py:8495
↓ 1 callersFunctionpoints_from_xy
Create a GeoPandas GeoDataFrame from a csv or Pandas DataFrame containing x, y, z values. Args: data: A csv or Pandas DataFrame containin
geemap/common.py:10805
↓ 1 callersFunctionpy_to_ipynb
Converts Earth Engine Python script to Jupyter notebook. Args: in_file: Input Earth Engine Python script. template_file: Input Ju
geemap/conversion.py:1007
↓ 1 callersMethodpython_code
Returns the Python code sample for the collection.
geemap/ai.py:1024
↓ 1 callersFunctionqualityMosaic
(bands)
geemap/data/javascripts/QualityMosaic.js:5
↓ 1 callersFunctionqualityMosaic
(bands)
examples/javascripts/QualityMosaic.js:5
↓ 1 callersFunctionrandom_string
Returns a random string of fixed length. Args: string_length: Fixed length.
geemap/coreutils.py:478
↓ 1 callersFunctionread_api_csv
Extracts Earth Engine API from a csv file. Returns: The dictionary containing information about each function, including name,
geemap/common.py:4186
↓ 1 callersFunctionremove_all_indentation
Removes indentation for reformatting with Python's indentation rules. Args: input_lines: List of Earth Engine JavaScrips Returns:
geemap/conversion.py:224
↓ 1 callersMethodremove_basemap
Removes a basemap from the map. Args: name: Name of the basemap to remove.
geemap/plotlymap.py:233
↓ 1 callersMethodremove_layer
Removes a layer from the map. This method removes a layer from the map using the layer's name. Args: name: The name of t
geemap/maplibregl.py:262
↓ 1 callersFunctionremove_port_from_string
Removes the port number from all URLs in the given string. Args:: data: The input string containing URLs. Returns: The strin
geemap/common.py:15338
↓ 1 callersFunctionremove_qgis_import
Removes 'from ee_plugin import Map' from an Earth Engine Python file. Args: in_file: Input file path of the Python script. Map: T
geemap/conversion.py:870
↓ 1 callersFunctionrenameMSI
(img)
geemap/timelapse.py:1828
↓ 1 callersMethodrender
(self, **kwargs)
geemap/foliumap.py:3104
↓ 1 callersMethodrenderBandSelection
(value: string)
js/raster_layer_editor.ts:287
↓ 1 callersMethodrenderBullet
()
js/tree_node.ts:103
↓ 1 callersMethodrenderChildren
()
js/tree_node.ts:92
↓ 1 callersMethodrenderColorModelRadio
(option: SelectOption)
js/raster_layer_editor.ts:249
↓ 1 callersMethodrenderColorRampRadio
(option: SelectOption)
js/raster_layer_editor.ts:266
↓ 1 callersMethodrenderCompactHeader
()
js/container.ts:126
↓ 1 callersMethodrenderConfirmDialog
()
js/layer_manager_row.ts:182
↓ 1 callersMethodrenderDatasetSearch
()
js/search_bar.ts:230
↓ 1 callersMethodrenderGammaSlider
()
js/raster_layer_editor.ts:223
↓ 1 callersMethodrenderHeader
()
js/container.ts:116
↓ 1 callersMethodrenderIcon
()
js/tree_node.ts:122
↓ 1 callersMethodrenderLayerEditorType
()
js/layer_editor.ts:116
↓ 1 callersMethodrenderLegendContents
()
js/legend_customization.ts:97
↓ 1 callersMethodrenderLegendCustomization
()
js/raster_layer_editor.ts:213
↓ 1 callersMethodrenderLegendCustomization
()
js/vector_layer_editor.ts:208
↓ 1 callersMethodrenderLegendTitleAndLabels
()
js/legend_customization.ts:111
↓ 1 callersMethodrenderLegendTypeRadio
(option: SelectOption)
js/legend_customization.ts:80
↓ 1 callersMethodrenderLocationSearch
()
js/search_bar.ts:162
↓ 1 callersMethodrenderPaletteEditor
()
js/raster_layer_editor.ts:199
↓ 1 callersMethodrenderPaletteGammaSelector
()
js/raster_layer_editor.ts:186
↓ 1 callersMethodrenderStyleByAttributeSettings
()
js/vector_layer_editor.ts:191
↓ 1 callersMethodrenderTabs
()
js/tab_panel.ts:166
↓ 1 callersFunctionreplace_hyphens_in_keys
Recursively replaces hyphens with underscores in dictionary keys. Args: d: The input dictionary, list, or any other data type. Retur
geemap/common.py:15319
↓ 1 callersFunctionreplace_top_level_hyphens
Replaces hyphens with underscores in top-level dictionary keys. Args: d (dict | Any): The input dictionary or any other data type.
geemap/common.py:15303
↓ 1 callersFunctionreproject
Reprojects an image. Args: image (str): The input image filepath. output (str): The output image filepath. dst_crs (str,
geemap/common.py:13458
↓ 1 callersMethodreset
Resets the draw controls. Args: clear_draw_control: Whether to clear the draw control.
geemap/core.py:94
↓ 1 callersFunctionresolution_to_zoom_level
Convert map resolution in meters to zoom level for Web Mercator (EPSG:3857) tiles.
geemap/common.py:14424
↓ 1 callersFunctionreverseMap
(map: Map<K, V>)
js/utils.ts:45
↓ 1 callersFunctionrun_ee_code
Executes Earth Engine Python code within the context of a geemap instance. Args: code: The Earth Engine Python code to execute. e
geemap/ai.py:774
↓ 1 callersFunctionsafe_extract
( tar, path=".", members=None, *, numeric_owner=False )
geemap/common.py:2042
↓ 1 callersFunctionsankee_gui
Creates a widget for plotting Sankey diagrams. Args: m: A geemap Map instance. Returns: ipywidgets: The interactive GUI.
geemap/toolbar.py:3457
↓ 1 callersMethodsave_changes
()
tests/fake_anywidget.ts:19
↓ 1 callersFunctionscale_number
(x)
geemap/cartoee.py:945
↓ 1 callersFunctionscreen_capture
Takes a full screenshot of the selected monitor. Args: filename (str): The output file path to the screenshot. monitor (int, opti
geemap/common.py:3300
↓ 1 callersFunctionsearch_all
(pattern)
geemap/common.py:3889
↓ 1 callersFunctionsearch_collection
(pattern, dict_)
geemap/common.py:3881
↓ 1 callersFunctionsentinel1_timelapse
Create a timelapse from any ee.ImageCollection. Args: roi (ee.Geometry, optional): The region to use to filter the collection of images.
geemap/timelapse.py:4904
↓ 1 callersFunctionsentinel1_timeseries
Return a Sentinel 1 ImageCollection of mean composites at a specified frequency. Generates a Sentinel 1 ImageCollection, based on mean compos
geemap/timelapse.py:1484
↓ 1 callersFunctionsentinel2_timelapse
Generates a Sentinel-2 timelapse GIF image. This function is adapted from https://emaprlab.users.earthengine.app/view/lt-gee-time-series-animator. A h
geemap/timelapse.py:3369
↓ 1 callersMethodsetUp
(self)
tests/test_core.py:37
↓ 1 callersMethodset_center
Centers the map view at a given coordinates with the given zoom level. Args: lon: The longitude of the center, in degrees.
geemap/geemap.py:413
↓ 1 callersMethodset_center
Centers the map view at a given coordinates with the given zoom level. Args: lon: The longitude of the center, in degrees.
geemap/foliumap.py:322
↓ 1 callersMethodset_chart_type
Sets the chart type and other chart properties. Args: chart_type (str): The type of chart to create. Supported types are
geemap/chart.py:266
↓ 1 callersMethodset_layout_property
Set the layout property of a layer. This method sets the layout property of the specified layer to the specified value. Args:
geemap/maplibregl.py:1242
↓ 1 callersFunctionshowNighta
(img)
geemap/timelapse.py:3837
↓ 1 callersFunctionshowNightb
(img)
geemap/timelapse.py:3855
↓ 1 callersFunctionshp_to_ee
Converts a shapefile to Earth Engine objects. Note that the CRS of the shapefile must be EPSG:4326 Args: in_shp (str): File path to a sha
geemap/common.py:2481
← previousnext →601–700 of 2,016, ranked by callers