MCPcopy Create free account

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

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

↓ 3 callersFunctionosm_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 callersFunctionosm_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 callersMethodplot_chart
Plots the bar chart.
geemap/chart.py:603
↓ 3 callersMethodremove_controls
Removes controls to the map. Args: controls (list): List of controls to remove, e.g., ["zoomin", "zoomout", "toim
geemap/plotlymap.py:185
↓ 3 callersMethodremove_draw_control
Removes the draw control from the map
geemap/geemap.py:2561
↓ 3 callersMethodrenderNode
(node: Node)
js/inspector.ts:117
↓ 3 callersFunctionsave_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 callersFunctionsearch_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 callersFunctionsentinel1_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 callersMethodset_center
Sets the center of the map. Args: lat: Latitude. lon: Longitude. zoom: Zoom level of the map.
geemap/plotlymap.py:202
↓ 3 callersMethodspatial_resolution_m
Returns the spatial resolution of the collection in meters.
geemap/ai.py:1001
↓ 3 callersMethodurl_for_stac_assets
(self)
geemap/common.py:1476
↓ 3 callersFunctionvector_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 callersFunctionxyz_to_leaflet
Convert xyz tile services to ipyleaflet tile layers. Returns: A dictionary of ipyleaflet tile layers.
geemap/basemaps.py:415
↓ 2 callersMethod__init__
(self)
tests/test_basemaps.py:119
↓ 2 callersMethod_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 callersMethod_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 callersMethod_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 callersMethod_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 callersMethod_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 callersMethod_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 callersMethod_apply_legend
( self, legend: dict[str, Any], palette: str | None, min_value: float | None,
geemap/map_widgets.py:1182
↓ 2 callersFunction_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 callersMethod_calculate_field_values
(self, message: dict[str, Any])
geemap/map_widgets.py:1072
↓ 2 callersMethod_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 callersMethod_control_config
Returns the control configuration.
geemap/core.py:1291
↓ 2 callersFunction_create_fake_map
()
tests/test_map_widgets.py:557
↓ 2 callersMethod_create_zip_with_tif
(self, tif_name: str, content: bytes)
tests/test_common.py:30
↓ 2 callersMethod_get_vis_params
(self, state: dict[str, Any])
geemap/map_widgets.py:1096
↓ 2 callersMethod_get_visible_map_layers
Gets the visible map layers. Returns: A dictionary of visible map layers.
geemap/map_widgets.py:535
↓ 2 callersMethod_handle_geometry_created
Handles the creation of a geometry. Args: geo_json: The GeoJSON representation of the geometry.
geemap/core.py:260
↓ 2 callersMethod_handle_geometry_deleted
Handles the deletion of a geometry. Args: geo_json: The GeoJSON representation of the geometry.
geemap/core.py:286
↓ 2 callersMethod_handle_geometry_edited
Handles the editing of a geometry. Args: geo_json: The GeoJSON representation of the geometry.
geemap/core.py:274
↓ 2 callersMethod_parse_basemap_name
(self, name: str)
geemap/map_widgets.py:852
↓ 2 callersMethod_render_colorbar
( self, colors: list[str], band_min: float, band_max: float )
geemap/map_widgets.py:1020
↓ 2 callersMethod_sync_geometries
Sync the local geometries with those from the draw control.
geemap/core.py:214
↓ 2 callersFunction_validate_vis_params
Returns the validatesd visualization parameters. Args: vis_params: The visualization parameters.
geemap/ee_tile_layers.py:36
↓ 2 callersFunctionaddGreenBand
(img)
geemap/timelapse.py:3825
↓ 2 callersMethodadd_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 callersMethodadd_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 callersMethodadd_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 callersMethodadd_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 callersMethodadd_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 callersMethodadd_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 callersFunctionadd_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 callersMethodadd_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 callersMethodadd_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 callersMethodadd_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 callersMethodadd_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 callersMethodadd_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 callersMethodbbox_list
Returns a sequence of bounding boxes.
geemap/ai.py:985
↓ 2 callersMethodcalculateBandStats
()
js/raster_layer_editor.ts:316
↓ 2 callersFunctioncheck_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 callersFunctioncheck_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 callersFunctionclassify
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 callersFunctionclone_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 callersFunctioncog_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 callersMethodcompareTo
(self, other_str)
tests/fake_ee.py:149
↓ 2 callersFunctionconvertToId
(name: string | undefined)
js/tab_panel.ts:9
↓ 2 callersFunctionconvert_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 callersFunctioncreate_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 callersFunctiondeg2num
(lat, lon, zoom)
geemap/common.py:14467
↓ 2 callersFunctiondf_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 callersFunctionee_plot_gui
Widget for plotting Earth Engine data. Args: m (object): geemap.Map. position: Position of the widget.
geemap/toolbar.py:545
↓ 2 callersMethodend
Returns the end datetime of the collection.
geemap/ai.py:975
↓ 2 callersMethodend_str
Returns the end datetime of the collection as a string.
geemap/ai.py:979
↓ 2 callersFunctionexplain_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 callersFunctionexplode
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 callersFunctionfrom4326_to3857
(lat, lon)
geemap/common.py:14460
↓ 2 callersFunctiongdf_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 callersFunctiongenerate_chart
(dict_values, chart_point)
geemap/toolbar.py:595
↓ 2 callersMethodgenerate_tooltip
Generates a tooltip for the bar chart.
geemap/chart.py:569
↓ 2 callersMethodgeometry
(self, *_, **__)
tests/fake_ee.py:172
↓ 2 callersMethodgetAvailableResources
()
js/basemap_selector.ts:111
↓ 2 callersFunctiongetFactorImg
(factorNames)
geemap/timelapse.py:3815
↓ 2 callersMethodgetLegendData
()
js/legend_customization.ts:68
↓ 2 callersFunctiongetQABits
(image, start, end, newName)
geemap/data/javascripts/ModisQaBands.js:18
↓ 2 callersFunctiongetQABits
(image, start, end, newName)
examples/javascripts/ModisQaBands.js:18
↓ 2 callersMethodgetVisualizationOptions
()
js/raster_layer_editor.ts:90
↓ 2 callersFunctionget_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 callersMethodget_geometry_properties
Gets the properties of a geometry. Args: geometry: The geometry to get properties for. Returns: The properti
geemap/core.py:135
↓ 2 callersMethodget_layer_names
Gets layer names as a list. Returns: A list of layer names.
geemap/geemap.py:538
↓ 2 callersMethodget_layers
Returns a dictionary of all layers in the map.
geemap/plotlymap.py:298
↓ 2 callersFunctionget_qms
(service_id: str)
geemap/basemaps.py:605
↓ 2 callersMethodget_scale
(self)
tests/fake_map.py:54
↓ 2 callersFunctiongithub_raw_url
Returns the raw URL for a GitHub file. Args: url: The GitHub URL.
geemap/coreutils.py:633
↓ 2 callersFunctiongoes_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 callersFunctiongroup_by_doy
(collection, start, end, reducer)
geemap/chart.py:1220
↓ 2 callersFunctiongrow_bin
(bin_size, ref)
geemap/chart.py:980
↓ 2 callersFunctionimage_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 callersMethodimage_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 callersMethodintersects
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 callersFunctionjs_path
Returns the path to the JavaScript files.
geemap/toolbar.py:40
↓ 2 callersFunctionjs_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 callersFunctionkml_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 callersFunctionlandsat_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 callersFunctionlandsat_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 callersFunctionlandsat_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 callersMethodlimit
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 callersMethodmodelNameToViewName
()
js/legend.ts:91
← previousnext →201–300 of 2,016, ranked by callers