MCPcopy Index your code

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

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

↓ 424 callersMethodget
Matches dict's get by returning None if there is no item. Args: item: The key of the item to get. default: Value to r
geemap/ai.py:895
↓ 158 callersMethodgetInfo
(self, *_, **__)
tests/fake_ee.py:63
↓ 94 callersMethodobserve
(self, func, names)
tests/fake_map.py:186
↓ 88 callersMethodset
(key: K, value: T[K])
tests/fake_anywidget.ts:14
↓ 69 callersMethodremove
Removes a widget from the map.
geemap/core.py:1028
↓ 59 callersMethodadd
Adds a layer or control to the map. Args: obj: The layer or control to add to the map. position: The position of the
geemap/geemap.py:274
↓ 57 callersMethodadd
Adds a widget or control to the map. Args: obj: The object to add to the map. position: The position to place the wid
geemap/core.py:809
↓ 47 callersMethodbandNames
(self, *_, **__)
tests/fake_ee.py:26
↓ 46 callersMethodfirst
(cls, *_, **__)
tests/fake_ee.py:237
↓ 43 callersMethodaggregate_array
(self, *_, **__)
tests/fake_ee.py:175
↓ 43 callersMethodgeometry
(self, *_, **__)
tests/fake_ee.py:192
↓ 33 callersFunctioncolFilter
(col, roi, start_date, end_date)
geemap/timelapse.py:1821
↓ 33 callersFunctionzip
(a: T[], b: T[])
js/legend.ts:13
↓ 26 callersMethodPoint
(*_, **__)
tests/fake_ee.py:90
↓ 26 callersMethodfilterBounds
(self, *_, **__)
tests/fake_ee.py:169
↓ 25 callersMethodadd_control
Adds a control to the map. This method adds a control to the map. The control can be one of the following: 'scale', 'fullscreen',
geemap/maplibregl.py:275
↓ 24 callersMethodmosaic
(self, *_, **__)
tests/fake_ee.py:224
↓ 24 callersMethodpropertyNames
(self, *_, **__)
tests/fake_ee.py:216
↓ 24 callersMethodsave
Convert a map to a static image and write it to a file or writeable object. Args: file: A string representing a local file path o
geemap/plotlymap.py:641
↓ 23 callersFunctiongif_to_mp4
Converts a gif to mp4. Args: in_gif: The input gif file. out_mp4: The output mp4 file.
geemap/timelapse.py:185
↓ 23 callersMethodstart
Returns the start datetime of the collection.
geemap/ai.py:965
↓ 22 callersMethodfit_bounds
Adjusts the viewport of the map. Fit the specified geographical bounds in the format of [[lon_min, lat_min], [lon_max, lat_max]] or [
geemap/maplibregl.py:411
↓ 20 callersFunctionget_direct_url
Returns the direct URL for a given URL. Args: url: The URL to get the direct URL for.
geemap/common.py:13082
↓ 20 callersMethodplot
Creates a plot based on x-array and y-array data. Args: x (numpy.ndarray or list): The x-coordinates of the plotted line.
geemap/geemap.py:703
↓ 20 callersMethodstyle
(self, *_, **__)
tests/fake_ee.py:163
↓ 19 callersMethodupdateMask
(self, *_, **__)
tests/fake_ee.py:20
↓ 18 callersFunctioncheck_titiler_endpoint
Returns the default titiler endpoint.
geemap/common.py:1563
↓ 17 callersMethodbounds
(self)
tests/fake_map.py:58
↓ 16 callersMethodIf
(cls, *_, **__)
tests/fake_ee.py:243
↓ 16 callersMethodcleanup
(self)
geemap/map_widgets.py:387
↓ 16 callersMethodreduceRegion
(self, *_, **__)
tests/fake_ee.py:29
↓ 15 callersMethodPolygon
(*_, **__)
tests/fake_ee.py:98
↓ 15 callersMethodadd_layer
Adds a layer to the map. Args: ee_object: The Earth Engine object to add. vis_params: Visualization parameters.
geemap/core.py:1078
↓ 15 callersFunctionadd_text_to_gif
Adds animated text to a GIF image. Args: in_gif: The file path to the input GIF image. out_gif: The file path to the output GIF i
geemap/timelapse.py:368
↓ 15 callersFunctionget_local_tile_layer
Generate an ipyleaflet/folium TileLayer from a local raster dataset or remote Cloud Optimized GeoTIFF (COG). If you are using this function in
geemap/common.py:10375
↓ 15 callersMethodsend
(_: Object)
tests/fake_anywidget.ts:20
↓ 14 callersMethodconstant
(self, *_, **__)
tests/fake_ee.py:14
↓ 14 callersMethodshow
Shows the map. Args: toolbar: Whether to show the toolbar. map_min_width: The minimum width of the map. m
geemap/plotlymap.py:127
↓ 14 callersMethodupdate
(changedProperties: PropertyValues)
js/tab_panel.ts:142
↓ 12 callersMethodadd_geojson
Adds a GeoJSON file to the map. Args: in_geojson: The file path or http URL to the input GeoJSON or a dictionary containing the g
geemap/geemap.py:2710
↓ 11 callersMethodBBox
(*_, **__)
tests/fake_ee.py:94
↓ 11 callersMethodcreate
(self, geo_json)
tests/test_core.py:410
↓ 11 callersFunctionget_current_year
Returns the current year.
geemap/common.py:13862
↓ 11 callersFunctionget_xyz_dict
Returns a dictionary of xyz services. Args: free_only: Whether to return only free xyz tile services that do not require an a
geemap/basemaps.py:383
↓ 11 callersFunctionreduce_gif_size
Reduces a GIF image using ffmpeg. Args: in_gif: The input file path to the GIF image. out_gif: The output file path to the GIF im
geemap/timelapse.py:681
↓ 11 callersMethodtoolbar_reset
Reset the toolbar so that no tool is selected.
geemap/geemap.py:2434
↓ 10 callersMethodadd_geojson
Adds a GeoJSON file to the map. Args: in_geojson: The input file path to the GeoJSON. layer_name: The layer name to b
geemap/foliumap.py:1123
↓ 10 callersMethodadd_tile_layer
Adds a TileLayer to the map. Args: url: The URL of the tile layer. Defaults to 'https://{s}.tile.openstreetmap.or
geemap/geemap.py:608
↓ 10 callersFunctioncheck_file_path
Gets the absolute file path. Args: file_path: The path to the file. make_dirs: Whether to create the directory if it does not exi
geemap/common.py:10926
↓ 10 callersFunctionlnglat_to_meters
coordinate conversion between lat/lon in decimal degrees to web mercator Args: longitude: The longitude. latitude: The latitude.
geemap/common.py:14148
↓ 10 callersFunctionrenderSelect
( options: Array<SelectOption> | Array<string>, value: string, callback: (event: Event) => void )
js/utils.ts:60
↓ 9 callersMethod_fake_layer_dict
(self, ee_object)
tests/test_map_widgets.py:797
↓ 9 callersMethod_find_widget_of_type
Finds a widget in the controls with the passed in type. Args: widget_type: The type of the widget to find. return_con
geemap/core.py:785
↓ 9 callersMethodadd_layer
Adds a layer to the map. This method adds a layer to the map. If a name is provided, it is used as the key to store the layer in
geemap/maplibregl.py:213
↓ 9 callersFunctiondate_sequence
Creates a date sequence. Args: start: The start date, e.g., '2000-01-01'. end: The end date, e.g., '2000-12-31'. unit: On
geemap/common.py:5018
↓ 9 callersFunctiondownload_ee_video
Downloads a video thumbnail as a GIF image from Earth Engine. Args: collection (object): An ee.ImageCollection. video_args (objec
geemap/common.py:3247
↓ 9 callersMethodget_tile_layers
Returns a dictionary of tile layers in the map.
geemap/plotlymap.py:312
↓ 9 callersFunctionimage_check
(image)
geemap/common.py:13924
↓ 9 callersFunctionis_arcpy
Check if arcpy is available. Returns: book: True if arcpy is available, False otherwise.
geemap/common.py:13771
↓ 9 callersMethodload_config
Loads a kepler.gl config file. Args: config: Local path or HTTP URL to the config file. Raises: FileNotFound
geemap/kepler.py:476
↓ 9 callersMethodremove_layer
Removes a layer from the map. Args: name: Name of the layer to remove.
geemap/plotlymap.py:273
↓ 9 callersMethodset_opacity
Set the opacity of a layer. This method sets the opacity of the specified layer to the specified value. Args: name: The
geemap/maplibregl.py:1274
↓ 9 callersMethodtype
(self, *_, **__)
tests/fake_ee.py:110
↓ 8 callersFunctionadd_overlay
Adds an overlay to an image collection. Args: collection: The image collection to add the overlay to. overlay_data: The overlay d
geemap/timelapse.py:34
↓ 8 callersMethodapply
Applies the theme to the given class. Args: cls: The class to which the theme will be applied. Returns: The
geemap/map_widgets.py:88
↓ 8 callersFunctionarc_add_layer
Add a layer to the active map in ArcGIS Pro. Args: url (str): The URL of the tile layer to add. name (str, optional): The name of
geemap/common.py:13815
↓ 8 callersMethodblend
(self, *_, **__)
tests/fake_ee.py:23
↓ 8 callersMethodclick
(self, coordinates, event_type)
tests/fake_map.py:50
↓ 8 callersFunctioncog_tile
Get a tile layer from a Cloud Optimized GeoTIFF (COG). Source code adapted from https://developmentseed.org/titiler/examples/notebooks/Workin
geemap/common.py:5269
↓ 8 callersMethodfrom_list
Constructs a BBox from a list of four numbers [west, south, east, north]. Args: bbox_list: List of four numbers representing the
geemap/ai.py:817
↓ 8 callersMethodget_draw_control
Gets the draw control of the map. Returns: The draw control if it exists, otherwise None.
geemap/core.py:977
↓ 8 callersFunctiongif_fading
Fade in/out the gif. Args: in_gif: The input gif file. Can be a directory path or http URL, e.g., "https://i.imgur.com/ZWSZC5
geemap/timelapse.py:284
↓ 8 callersMethodset_visibility
Set the visibility of a layer. This method sets the visibility of the specified layer to the specified value. Args: name
geemap/maplibregl.py:1295
↓ 8 callersFunctionupdateChildren
( container: HTMLElement, model: AnyModel<any>, property = "children" )
js/utils.ts:26
↓ 7 callersMethod__init__
Adds a customized legend to the map. Args: title: Title of the legend. legend_dict: A dictionary containing legend i
geemap/map_widgets.py:285
↓ 7 callersFunctionarc_zoom_to_extent
Zoom to an extent in ArcGIS Pro. Args: xmin: The minimum x value of the extent. ymin: The minimum y value of the extent.
geemap/common.py:13837
↓ 7 callersMethodfind_layer
Finds a layer by name. Args: name: Name of the layer to find. Returns: The ipyleaflet layer object if found,
geemap/geemap.py:552
↓ 7 callersMethodfind_layer_index
Finds the index of a layer by name. Args: name: Name of the layer to find. Returns: Index of the layer with
geemap/geemap.py:581
↓ 7 callersFunctionimage_scale
Retrieves the image cell size (e.g., spatial resolution) Args: img (object): ee.Image Returns: float: The nominal scale in m
geemap/common.py:7077
↓ 7 callersMethodon_interaction
(self, func, remove=False)
tests/fake_map.py:38
↓ 7 callersMethodpublic_id
Gets the public ID of the collection. Returns: The public ID of the collection.
geemap/ai.py:907
↓ 7 callersMethodreset
Resets the toolbar so that no widget is selected.
geemap/toolbar.py:151
↓ 7 callersMethodset_center
Centers the map view at given coordinates with the given zoom level. Args: lon: Longitude of the center. lat: Latitud
geemap/core.py:722
↓ 7 callersMethodzoom_to_gdf
Zooms to the bounding box of a GeoPandas GeoDataFrame. Args: gdf (GeoDataFrame): A GeoPandas GeoDataFrame.
geemap/geemap.py:1225
↓ 6 callersMethod__init__
Initializes the Chart with data. Args: data_table: A 2-D array of data. If it's a dictionary, it will be converte
geemap/chart.py:182
↓ 6 callersMethodadd_tile_layer
Adds a TileLayer to the map. This method adds a TileLayer to the map. The TileLayer is created from the specified URL, and it is
geemap/maplibregl.py:745
↓ 6 callersFunctioncalcNbr
(img)
geemap/timelapse.py:1847
↓ 6 callersFunctioncog_bounds
Get the bounding box of a Cloud Optimized GeoTIFF (COG). Args: url: HTTP URL to a COG, e.g., https://opendata.digitalglobe.co
geemap/common.py:5446
↓ 6 callersFunctioncreate_timeseries
Creates a timeseries from a collection of images by a specified frequency and reducer. Args: collection (str | ee.ImageCollection): The c
geemap/timelapse.py:719
↓ 6 callersFunctiondownload_from_url
Download a file from a URL. For example: https://github.com/giswqs/whitebox/raw/master/examples/testdata.zip Args: url: The
geemap/common.py:1981
↓ 6 callersMethodget_data_layers
Returns a dictionary of data layers in the map.
geemap/plotlymap.py:322
↓ 6 callersFunctionget_nb_template
Get the Earth Engine Jupyter notebook template. Args: download_latest: If True, downloads the latest notebook template from GitHub.
geemap/conversion.py:926
↓ 6 callersFunctionloadFonts
()
js/utils.ts:16
↓ 6 callersMethodon
()
tests/fake_anywidget.ts:18
↓ 6 callersMethodsendOnPaletteChangedEvent
()
js/palette_editor.ts:112
↓ 6 callersMethodset_layer_visibility
Sets the visibility of a layer. Args: name: Name of the layer to set. show: If True, shows the layer.
geemap/plotlymap.py:352
↓ 6 callersMethodtransform
(self, *_, **__)
tests/fake_ee.py:101
↓ 6 callersMethodzoom_to_bounds
Zooms to a bounding box in the form of [minx, miny, maxx, maxy]. Args: bounds (Union[List[float], tuple[float, float, float, floa
geemap/geemap.py:447
↓ 6 callersMethodzoom_to_gdf
Zooms to the bounding box of a GeoPandas GeoDataFrame. Args: gdf (GeoDataFrame): A GeoPandas GeoDataFrame.
geemap/foliumap.py:348
↓ 5 callersMethod_clear_default_widgets
(self)
tests/test_core.py:22
next →1–100 of 2,016, ranked by callers