Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/gee-community/geemap
/ functions
Functions
2,016 in github.com/gee-community/geemap
⨍
Functions
2,016
◇
Types & classes
171
↳
Endpoints
78
↓ 424 callers
Method
get
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 callers
Method
getInfo
(self, *_, **__)
tests/fake_ee.py:63
↓ 94 callers
Method
observe
(self, func, names)
tests/fake_map.py:186
↓ 88 callers
Method
set
(key: K, value: T[K])
tests/fake_anywidget.ts:14
↓ 69 callers
Method
remove
Removes a widget from the map.
geemap/core.py:1028
↓ 59 callers
Method
add
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 callers
Method
add
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 callers
Method
bandNames
(self, *_, **__)
tests/fake_ee.py:26
↓ 46 callers
Method
first
(cls, *_, **__)
tests/fake_ee.py:237
↓ 43 callers
Method
aggregate_array
(self, *_, **__)
tests/fake_ee.py:175
↓ 43 callers
Method
geometry
(self, *_, **__)
tests/fake_ee.py:192
↓ 33 callers
Function
colFilter
(col, roi, start_date, end_date)
geemap/timelapse.py:1821
↓ 33 callers
Function
zip
(a: T[], b: T[])
js/legend.ts:13
↓ 26 callers
Method
Point
(*_, **__)
tests/fake_ee.py:90
↓ 26 callers
Method
filterBounds
(self, *_, **__)
tests/fake_ee.py:169
↓ 25 callers
Method
add_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 callers
Method
mosaic
(self, *_, **__)
tests/fake_ee.py:224
↓ 24 callers
Method
propertyNames
(self, *_, **__)
tests/fake_ee.py:216
↓ 24 callers
Method
save
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 callers
Function
gif_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 callers
Method
start
Returns the start datetime of the collection.
geemap/ai.py:965
↓ 22 callers
Method
fit_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 callers
Function
get_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 callers
Method
plot
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 callers
Method
style
(self, *_, **__)
tests/fake_ee.py:163
↓ 19 callers
Method
updateMask
(self, *_, **__)
tests/fake_ee.py:20
↓ 18 callers
Function
check_titiler_endpoint
Returns the default titiler endpoint.
geemap/common.py:1563
↓ 17 callers
Method
bounds
(self)
tests/fake_map.py:58
↓ 16 callers
Method
If
(cls, *_, **__)
tests/fake_ee.py:243
↓ 16 callers
Method
cleanup
(self)
geemap/map_widgets.py:387
↓ 16 callers
Method
reduceRegion
(self, *_, **__)
tests/fake_ee.py:29
↓ 15 callers
Method
Polygon
(*_, **__)
tests/fake_ee.py:98
↓ 15 callers
Method
add_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 callers
Function
add_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 callers
Function
get_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 callers
Method
send
(_: Object)
tests/fake_anywidget.ts:20
↓ 14 callers
Method
constant
(self, *_, **__)
tests/fake_ee.py:14
↓ 14 callers
Method
show
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 callers
Method
update
(changedProperties: PropertyValues)
js/tab_panel.ts:142
↓ 12 callers
Method
add_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 callers
Method
BBox
(*_, **__)
tests/fake_ee.py:94
↓ 11 callers
Method
create
(self, geo_json)
tests/test_core.py:410
↓ 11 callers
Function
get_current_year
Returns the current year.
geemap/common.py:13862
↓ 11 callers
Function
get_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 callers
Function
reduce_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 callers
Method
toolbar_reset
Reset the toolbar so that no tool is selected.
geemap/geemap.py:2434
↓ 10 callers
Method
add_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 callers
Method
add_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 callers
Function
check_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 callers
Function
lnglat_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 callers
Function
renderSelect
( options: Array<SelectOption> | Array<string>, value: string, callback: (event: Event) => void )
js/utils.ts:60
↓ 9 callers
Method
_fake_layer_dict
(self, ee_object)
tests/test_map_widgets.py:797
↓ 9 callers
Method
_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 callers
Method
add_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 callers
Function
date_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 callers
Function
download_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 callers
Method
get_tile_layers
Returns a dictionary of tile layers in the map.
geemap/plotlymap.py:312
↓ 9 callers
Function
image_check
(image)
geemap/common.py:13924
↓ 9 callers
Function
is_arcpy
Check if arcpy is available. Returns: book: True if arcpy is available, False otherwise.
geemap/common.py:13771
↓ 9 callers
Method
load_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 callers
Method
remove_layer
Removes a layer from the map. Args: name: Name of the layer to remove.
geemap/plotlymap.py:273
↓ 9 callers
Method
set_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 callers
Method
type
(self, *_, **__)
tests/fake_ee.py:110
↓ 8 callers
Function
add_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 callers
Method
apply
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 callers
Function
arc_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 callers
Method
blend
(self, *_, **__)
tests/fake_ee.py:23
↓ 8 callers
Method
click
(self, coordinates, event_type)
tests/fake_map.py:50
↓ 8 callers
Function
cog_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 callers
Method
from_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 callers
Method
get_draw_control
Gets the draw control of the map. Returns: The draw control if it exists, otherwise None.
geemap/core.py:977
↓ 8 callers
Function
gif_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 callers
Method
set_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 callers
Function
updateChildren
( container: HTMLElement, model: AnyModel<any>, property = "children" )
js/utils.ts:26
↓ 7 callers
Method
__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 callers
Function
arc_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 callers
Method
find_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 callers
Method
find_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 callers
Function
image_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 callers
Method
on_interaction
(self, func, remove=False)
tests/fake_map.py:38
↓ 7 callers
Method
public_id
Gets the public ID of the collection. Returns: The public ID of the collection.
geemap/ai.py:907
↓ 7 callers
Method
reset
Resets the toolbar so that no widget is selected.
geemap/toolbar.py:151
↓ 7 callers
Method
set_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 callers
Method
zoom_to_gdf
Zooms to the bounding box of a GeoPandas GeoDataFrame. Args: gdf (GeoDataFrame): A GeoPandas GeoDataFrame.
geemap/geemap.py:1225
↓ 6 callers
Method
__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 callers
Method
add_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 callers
Function
calcNbr
(img)
geemap/timelapse.py:1847
↓ 6 callers
Function
cog_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 callers
Function
create_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 callers
Function
download_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 callers
Method
get_data_layers
Returns a dictionary of data layers in the map.
geemap/plotlymap.py:322
↓ 6 callers
Function
get_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 callers
Function
loadFonts
()
js/utils.ts:16
↓ 6 callers
Method
on
()
tests/fake_anywidget.ts:18
↓ 6 callers
Method
sendOnPaletteChangedEvent
()
js/palette_editor.ts:112
↓ 6 callers
Method
set_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 callers
Method
transform
(self, *_, **__)
tests/fake_ee.py:101
↓ 6 callers
Method
zoom_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 callers
Method
zoom_to_gdf
Zooms to the bounding box of a GeoPandas GeoDataFrame. Args: gdf (GeoDataFrame): A GeoPandas GeoDataFrame.
geemap/foliumap.py:348
↓ 5 callers
Method
_clear_default_widgets
(self)
tests/test_core.py:22
next →
1–100 of 2,016, ranked by callers