Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/gee-community/geemap
/ functions
Functions
2,016 in github.com/gee-community/geemap
⨍
Functions
2,016
◇
Types & classes
171
↳
Endpoints
78
↓ 3 callers
Function
osm_gdf_from_polygon
Create GeoDataFrame of OSM entities within boundaries of a (multi)polygon. Args: polygon (shapely.geometry.Polygon | shapely.geometry.Mul
geemap/osm.py:278
↓ 3 callers
Function
osm_to_gdf
Retrieves place(s) by name or ID from the Nominatim API as a GeoDataFrame. Args: query (str | dict | list): Query string(s) or structured
geemap/common.py:9340
↓ 3 callers
Method
plot_chart
Plots the bar chart.
geemap/chart.py:603
↓ 3 callers
Method
remove_controls
Removes controls to the map. Args: controls (list): List of controls to remove, e.g., ["zoomin", "zoomout", "toim
geemap/plotlymap.py:185
↓ 3 callers
Method
remove_draw_control
Removes the draw control from the map
geemap/geemap.py:2561
↓ 3 callers
Method
renderNode
(node: Node)
js/inspector.ts:117
↓ 3 callers
Function
save_colorbar
Creates a standalone colorbar and saves it as an image. Args: out_fig: Path to the output image. width: Width of the colorbar in
geemap/common.py:3573
↓ 3 callers
Function
search_api_tree
Search Earth Engine API and return functions containing the specified keyword. Args: keywords: The keyword to search for. keywords should
geemap/common.py:4365
↓ 3 callers
Function
sentinel1_filtering
Returns a filtered image collection of Sentinel-1 images. Sentinel-1 data is collected with several different instrument configurations, reso
geemap/timelapse.py:1415
↓ 3 callers
Method
set_center
Sets the center of the map. Args: lat: Latitude. lon: Longitude. zoom: Zoom level of the map.
geemap/plotlymap.py:202
↓ 3 callers
Method
spatial_resolution_m
Returns the spatial resolution of the collection in meters.
geemap/ai.py:1001
↓ 3 callers
Method
url_for_stac_assets
(self)
geemap/common.py:1476
↓ 3 callers
Function
vector_to_geojson
Converts any geopandas-supported vector dataset to GeoJSON. Args: filename (str): Either the absolute or relative path to the file or URL
geemap/common.py:9055
↓ 3 callers
Function
xyz_to_leaflet
Convert xyz tile services to ipyleaflet tile layers. Returns: A dictionary of ipyleaflet tile layers.
geemap/basemaps.py:415
↓ 2 callers
Method
__init__
(self)
tests/test_basemaps.py:119
↓ 2 callers
Method
_add_basemap_selector
Adds a basemap selector to the map. Args: position: The position to place the basemap selector. **kwargs: Additional
geemap/core.py:985
↓ 2 callers
Method
_add_colorbar
Add a matplotlib colorbar to the map. Args: vis_params: Visualization parameters as a dictionary. See https://dev
geemap/core.py:1172
↓ 2 callers
Method
_add_inspector
Adds an inspector to the map. Args: position: The position to place the inspector. **kwargs: Additional keyword argum
geemap/core.py:904
↓ 2 callers
Method
_add_layer_editor
Adds a layer editor to the map. Args: position: The position to place the layer editor. **kwargs: Additional keyword
geemap/core.py:937
↓ 2 callers
Method
_add_layer_manager
Adds a layer manager to the map. Args: position: The position to place the layer manager. **kwargs: Additional keywor
geemap/core.py:860
↓ 2 callers
Method
_add_legend
Adds a customized legend to the map. Args: title: Title of the legend. legend_dict: A dictionary containing legend it
geemap/core.py:1121
↓ 2 callers
Method
_apply_legend
( self, legend: dict[str, Any], palette: str | None, min_value: float | None,
geemap/map_widgets.py:1182
↓ 2 callers
Function
_buffer_box
Buffer a bounding box to the nearest multiple of interval. Args: bbox: Values specifying coordinates, Expects order to be [W,E,S,N].
geemap/cartoee.py:411
↓ 2 callers
Method
_calculate_field_values
(self, message: dict[str, Any])
geemap/map_widgets.py:1072
↓ 2 callers
Method
_check_if_allowed
Checks if a value is allowed. Args: value: The value to check. value_name: The name of the value. allowed
geemap/map_widgets.py:391
↓ 2 callers
Method
_control_config
Returns the control configuration.
geemap/core.py:1291
↓ 2 callers
Function
_create_fake_map
()
tests/test_map_widgets.py:557
↓ 2 callers
Method
_create_zip_with_tif
(self, tif_name: str, content: bytes)
tests/test_common.py:30
↓ 2 callers
Method
_get_vis_params
(self, state: dict[str, Any])
geemap/map_widgets.py:1096
↓ 2 callers
Method
_get_visible_map_layers
Gets the visible map layers. Returns: A dictionary of visible map layers.
geemap/map_widgets.py:535
↓ 2 callers
Method
_handle_geometry_created
Handles the creation of a geometry. Args: geo_json: The GeoJSON representation of the geometry.
geemap/core.py:260
↓ 2 callers
Method
_handle_geometry_deleted
Handles the deletion of a geometry. Args: geo_json: The GeoJSON representation of the geometry.
geemap/core.py:286
↓ 2 callers
Method
_handle_geometry_edited
Handles the editing of a geometry. Args: geo_json: The GeoJSON representation of the geometry.
geemap/core.py:274
↓ 2 callers
Method
_parse_basemap_name
(self, name: str)
geemap/map_widgets.py:852
↓ 2 callers
Method
_render_colorbar
( self, colors: list[str], band_min: float, band_max: float )
geemap/map_widgets.py:1020
↓ 2 callers
Method
_sync_geometries
Sync the local geometries with those from the draw control.
geemap/core.py:214
↓ 2 callers
Function
_validate_vis_params
Returns the validatesd visualization parameters. Args: vis_params: The visualization parameters.
geemap/ee_tile_layers.py:36
↓ 2 callers
Function
addGreenBand
(img)
geemap/timelapse.py:3825
↓ 2 callers
Method
add_basemap
Adds a basemap to the map. Args: basemap (Optional[str], optional): Can be one of the strings from basemaps. Defa
geemap/geemap.py:470
↓ 2 callers
Method
add_basemap_widget
Add the Basemap GUI to the map. Args: position: The position of the Basemap GUI. Defaults to "topright".
geemap/geemap.py:1011
↓ 2 callers
Method
add_data
Add vector data to the map with a variety of classification schemes. Args: data (str | pd.DataFrame | gpd.GeoDataFrame): The data
geemap/geemap.py:4554
↓ 2 callers
Method
add_gdf
Adds a GeoDataFrame to the map. Args: gdf (GeoDataFrame): A GeoPandas GeoDataFrame. layer_name: The layer name to be
geemap/geemap.py:3416
↓ 2 callers
Method
add_heatmap
Adds a heat map to the map. Reference: https://ipyleaflet.readthedocs.io/en/latest/api_reference/heatmap.html Args: data (str | l
geemap/geemap.py:4277
↓ 2 callers
Method
add_inspector
Add the Inspector GUI to the map. Args: names: The names of the layers to be included. Defaults to None. visible: Whe
geemap/geemap.py:951
↓ 2 callers
Function
add_layer
Add an Earth Engine image to a cartopy plot. Args: ax (cartopy.mpl.geoaxes.GeoAxesSubplot | cartopy.mpl.geoaxes.GeoAxes): required
geemap/cartoee.py:99
↓ 2 callers
Method
add_legend
Adds a customized basemap to the map. Args: title (str, optional): Title of the legend. Defaults to 'Legend'. legend_
geemap/geemap.py:796
↓ 2 callers
Method
add_legend
Adds a customized legend to the map. Reference: https://bit.ly/3oV6vnH. If you want to add multiple legends to the map, you need to
geemap/foliumap.py:827
↓ 2 callers
Method
add_raster
Add a local raster dataset to the map. If you are using this function in JupyterHub on a remote server (e.g., Binder, Microsoft Plane
geemap/foliumap.py:666
↓ 2 callers
Method
add_shapefile
Adds a shapefile to the map. See https://python-visualization.github.io/folium/modules.html#folium.features.GeoJson for more info abo
geemap/foliumap.py:1099
↓ 2 callers
Method
add_widget
Add a widget (e.g., text, HTML, figure) to the map. Args: content (str | ipywidgets.Widget | object): The widget to add.
geemap/geemap.py:4689
↓ 2 callers
Method
bbox_list
Returns a sequence of bounding boxes.
geemap/ai.py:985
↓ 2 callers
Method
calculateBandStats
()
js/raster_layer_editor.ts:316
↓ 2 callers
Function
check_color
Checks the input color and returns the corresponding hex color code. Args: in_color: Can be a string (e.g., 'red', '#ffff00', 'ffff00', '
geemap/coreutils.py:357
↓ 2 callers
Function
check_dir
Checks if a directory exists and creates it if it does not. Args: dir_path: The path to the directory. make_dirs: Whether to crea
geemap/common.py:10895
↓ 2 callers
Function
classify
Classify a dataframe column using a variety of classification schemes. Args: data (str | pd.DataFrame | gpd.GeoDataFrame): The data to cl
geemap/common.py:11814
↓ 2 callers
Function
clone_github_repo
Clones a GitHub repository. Args: url: The link to the GitHub repository out_dir: The output directory for the cloned repository.
geemap/common.py:1720
↓ 2 callers
Function
cog_bands
Get band names of a Cloud Optimized GeoTIFF (COG). Args: url: HTTP URL to a COG, e.g., https://opendata.digitalglobe.com/even
geemap/common.py:5494
↓ 2 callers
Method
compareTo
(self, other_str)
tests/fake_ee.py:149
↓ 2 callers
Function
convertToId
(name: string | undefined)
js/tab_panel.ts:9
↓ 2 callers
Function
convert_SI
Unit converter. Args: val: The value to convert. unit_in: The input unit. unit_out: The output unit. Returns:
geemap/cartoee.py:638
↓ 2 callers
Function
create_download_link
Downloads a file from voila. Adopted from https://github.com/voila-dashboards/voila/issues/578 Args: filename: The file path to the
geemap/common.py:2091
↓ 2 callers
Function
deg2num
(lat, lon, zoom)
geemap/common.py:14467
↓ 2 callers
Function
df_to_geojson
Creates points for a Pandas DataFrame and exports data as a GeoJSON. Args: df (pandas.DataFrame): The input Pandas DataFrame. out
geemap/common.py:2278
↓ 2 callers
Function
ee_plot_gui
Widget for plotting Earth Engine data. Args: m (object): geemap.Map. position: Position of the widget.
geemap/toolbar.py:545
↓ 2 callers
Method
end
Returns the end datetime of the collection.
geemap/ai.py:975
↓ 2 callers
Method
end_str
Returns the end datetime of the collection as a string.
geemap/ai.py:979
↓ 2 callers
Function
explain_relevance_from_stac_json
Prompts LLM to explain the relevance of a dataset to a query using its STAC JSON. Args: query: The user's query. stac_json: The S
geemap/ai.py:1606
↓ 2 callers
Function
explode
Explode a GeoJSON geometry's coordinates object and yield coordinate tuples. As long as the input is conforming, the type of the geometry doesn't
geemap/common.py:6342
↓ 2 callers
Function
from4326_to3857
(lat, lon)
geemap/common.py:14460
↓ 2 callers
Function
gdf_to_ee
Converts a GeoPandas GeoDataFrame to ee.FeatureCollection. Args: gdf (geopandas.GeoDataFrame): The input geopandas.GeoDataFrame to be con
geemap/common.py:9013
↓ 2 callers
Function
generate_chart
(dict_values, chart_point)
geemap/toolbar.py:595
↓ 2 callers
Method
generate_tooltip
Generates a tooltip for the bar chart.
geemap/chart.py:569
↓ 2 callers
Method
geometry
(self, *_, **__)
tests/fake_ee.py:172
↓ 2 callers
Method
getAvailableResources
()
js/basemap_selector.ts:111
↓ 2 callers
Function
getFactorImg
(factorNames)
geemap/timelapse.py:3815
↓ 2 callers
Method
getLegendData
()
js/legend_customization.ts:68
↓ 2 callers
Function
getQABits
(image, start, end, newName)
geemap/data/javascripts/ModisQaBands.js:18
↓ 2 callers
Function
getQABits
(image, start, end, newName)
examples/javascripts/ModisQaBands.js:18
↓ 2 callers
Method
getVisualizationOptions
()
js/raster_layer_editor.ts:90
↓ 2 callers
Function
get_census_dict
Returns a dictionary of Census data. Args: reset (bool, optional): Reset the dictionary. Defaults to False. Returns: dict: A
geemap/common.py:10023
↓ 2 callers
Method
get_geometry_properties
Gets the properties of a geometry. Args: geometry: The geometry to get properties for. Returns: The properti
geemap/core.py:135
↓ 2 callers
Method
get_layer_names
Gets layer names as a list. Returns: A list of layer names.
geemap/geemap.py:538
↓ 2 callers
Method
get_layers
Returns a dictionary of all layers in the map.
geemap/plotlymap.py:298
↓ 2 callers
Function
get_qms
(service_id: str)
geemap/basemaps.py:605
↓ 2 callers
Method
get_scale
(self)
tests/fake_map.py:54
↓ 2 callers
Function
github_raw_url
Returns the raw URL for a GitHub file. Args: url: The GitHub URL.
geemap/coreutils.py:633
↓ 2 callers
Function
goes_timeseries
Creates a time series of GOES data. The code is adapted from Justin Braaten's code: * https://code.earthengine.google.com/57245f2d3d04233765
geemap/timelapse.py:3752
↓ 2 callers
Function
group_by_doy
(collection, start, end, reducer)
geemap/chart.py:1220
↓ 2 callers
Function
grow_bin
(bin_size, ref)
geemap/chart.py:980
↓ 2 callers
Function
image_bounds
Get the bounds of an image. Args: image: The input image filepath or URL. Returns: A list of bounds in the form of [(south,
geemap/common.py:13971
↓ 2 callers
Method
image_overlay
Overlays an image from the Internet or locally on the map. Args: url (str): http URL or local file path to the image.
geemap/geemap.py:2122
↓ 2 callers
Method
intersects
Checks if this bbox intersects with the query bbox. Doesn't handle bboxes extending past the antimeridian. Args: query_b
geemap/ai.py:849
↓ 2 callers
Function
js_path
Returns the path to the JavaScript files.
geemap/toolbar.py:40
↓ 2 callers
Function
js_to_python
Converts an Earth Engine JavaScript to Python script. Args: in_file: File path of the input JavaScript. out_file: File path of th
geemap/conversion.py:337
↓ 2 callers
Function
kml_to_geojson
Converts a KML to GeoJSON. Args: in_kml: The file path to the input KML. out_geojson: The file path to the output GeoJSON. Defaul
geemap/common.py:8741
↓ 2 callers
Function
landsat_timelapse
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:2612
↓ 2 callers
Function
landsat_ts_norm_diff
Computes a normalized difference index based on a Landsat timeseries. Args: collection (ee.ImageCollection): A Landsat timeseries.
geemap/timelapse.py:3656
↓ 2 callers
Function
landsat_ts_norm_diff_gif
TODO: [summary] Args: collection (ee.ImageCollection): The normalized difference Landsat timeseries. out_gif: File path to the ou
geemap/timelapse.py:3682
↓ 2 callers
Method
limit
Returns a new CollectionList containing the first n entries. Args: n: The number of entries to include in the new list.
geemap/ai.py:1185
↓ 2 callers
Method
modelNameToViewName
()
js/legend.ts:91
← previous
next →
201–300 of 2,016, ranked by callers