MCPcopy Create free account

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

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

Methodadd_kml
Adds a GeoJSON file to the map. Args: in_kml: The input file path to the KML. layer_name: The layer name to be used.
geemap/geemap.py:2896
Methodadd_kml
Adds a KML file to the map. Args: in_kml: The input file path to the KML. layer_name: The layer name to be used.
geemap/foliumap.py:1225
Methodadd_kml
Adds a KML file to the map. Args: in_kml: The input file path to the KML. layer_name: The layer name to be used.
geemap/kepler.py:293
Methodadd_kml
Adds a KML file to the map. Args: filename: The input file path to the vector dataset. layer_name): The layer name to
geemap/deck.py:396
Methodadd_labels
Adds a label layer to the map. Reference: https://ipyleaflet.readthedocs.io/en/latest/api_reference/divicon.html Args: data (pd.D
geemap/geemap.py:4313
Methodadd_labels
Adds a label layer to the map. Reference: https://python-visualization.github.io/folium/modules.html#folium.features.DivIcon
geemap/foliumap.py:2356
Methodadd_layer
Adds a layer to the map. Args: layer (plotly.graph_objects): Layer to add. name: Name of the layer.
geemap/plotlymap.py:262
Methodadd_layer
Adds a layer to the map. Args: ee_object: The Earth Engine object to add as a layer. vis_params: Visualization parame
geemap/core.py:489
Methodadd_layer_control
Adds a layer control to the map. Args: position: The position of the layer control on the map. Defaults to "topri
geemap/geemap.py:783
Functionadd_legend
Adds a legend to the map. The legend elements can be formatted as: legend_elements = [Line2D([], [], color='#00ffff', lw=2, label='Coast
geemap/cartoee.py:1003
Methodadd_legend
Adds a legend to the map. This method allows for the addition of a legend to the map. The legend can be customized with a title, labe
geemap/maplibregl.py:2248
Methodadd_mapbox_layer
Adds a mapbox layer to the map. Args: layer (str | dict): Layer to add. Can be "basic", "streets", "outdoors", "l
geemap/plotlymap.py:243
Methodadd_marker
Adds a marker to the map. Args: marker: A Marker object. lng_lat: A list of two floats representing the longitude and
geemap/maplibregl.py:1673
Methodadd_marker
Adds a marker to the map. More info about marker at https://ipyleaflet.readthedocs.io/en/latest/api_reference/marker.html. A
geemap/geemap.py:1139
Methodadd_marker
Adds a marker to the map. More info about marker options at https://python-visualization.github.io/folium/modules.html#folium.map.Ma
geemap/foliumap.py:450
Methodadd_marker_cluster
Captures user inputs and add markers to the map. Args: event: [description]. Defaults to 'click'. add_marker: If True
geemap/geemap.py:1613
Methodadd_markers_from_xy
Adds markers to the map from a csv or Pandas DataFrame containing x, y values. Args: data (str | pd.DataFrame): A csv or Pandas D
geemap/foliumap.py:1968
Methodadd_minimap
Adds a minimap (overview) to the ipyleaflet map. Args: zoom: Initial map zoom level. Defaults to 5. position: Positio
geemap/geemap.py:1356
Methodadd_netcdf
Generate an ipyleaflet/folium TileLayer from a netCDF file. If you are using this function in JupyterHub on a remote server (e.g., Binder,
geemap/geemap.py:4402
Methodadd_netcdf
Generate an ipyleaflet/folium TileLayer from a netCDF file. If you are using this function in JupyterHub on a remote server (e.g., Binder,
geemap/foliumap.py:2607
Methodadd_osm
Adds OSM data to the map. Args: query (str | dict | list): Query string(s) or structured dict(s) to geocode. layer_na
geemap/geemap.py:3037
Methodadd_osm
Adds OSM data to the map. Args: query (str | dict | list): Query string(s) or structured dict(s) to geocode. layer_na
geemap/foliumap.py:1331
Methodadd_osm_from_address
Adds OSM entities within some distance N, S, E, W of address to the map. Args: address: The address to geocode and use as the cen
geemap/geemap.py:3135
Methodadd_osm_from_address
Adds OSM entities within some distance N, S, E, W of address to the map. Args: address: The address to geocode and use as the cen
geemap/foliumap.py:1422
Methodadd_osm_from_bbox
Adds OSM entities within a N, S, E, W bounding box to the map. Args: north: Northern latitude of bounding box. south:
geemap/geemap.py:3313
Methodadd_osm_from_bbox
Adds OSM entities within a N, S, E, W bounding box to the map. Args: north: Northern latitude of bounding box. south:
geemap/foliumap.py:1645
Methodadd_osm_from_geocode
Adds OSM data of place(s) by name or ID to the map. Args: query (str | dict | list): Query string(s) or structured dict(s) to geo
geemap/geemap.py:3090
Methodadd_osm_from_geocode
Adds OSM data of place(s) by name or ID to the map. Args: query (str | dict | list): Query string(s) or structured dict(s) to geo
geemap/foliumap.py:1371
Methodadd_osm_from_place
Adds OSM entities within boundaries of geocodable place(s) to the map. Args: query (str | dict | list): Query string(s) or struct
geemap/geemap.py:3180
Methodadd_osm_from_place
Adds OSM entities within boundaries of geocodable place(s) to the map. Args: query (str | dict | list): Query string(s) or struct
geemap/foliumap.py:1478
Methodadd_osm_from_point
Adds OSM entities within some distance N, S, E, W of a point to the map. Args: center_point: The (lat, lng) center point around w
geemap/geemap.py:3225
Methodadd_osm_from_point
Adds OSM entities within some distance N, S, E, W of a point to the map. Args: center_point: The (lat, lng) center point around w
geemap/foliumap.py:1535
Methodadd_osm_from_polygon
Adds OSM entities within boundaries of a (multi)polygon to the map. Args: polygon (shapely.geometry.Polygon | shapely.geometry.Mu
geemap/geemap.py:3270
Methodadd_osm_from_polygon
Adds OSM entities within boundaries of a (multi)polygon to the map. Args: polygon (shapely.geometry.Polygon | shapely.geometry.Mu
geemap/foliumap.py:1590
Methodadd_osm_from_view
Adds OSM entities within the current map view to the map. Args: tags (dict): Dict of tags used for finding objects in the selecte
geemap/geemap.py:3362
Methodadd_planet_by_month
Adds Planet global mosaic by month to the map. To get a Planet API key, see https://developers.planet.com/quickstart/apis/ Args:
geemap/plotlymap.py:581
Methodadd_planet_by_month
Adds a Planet global mosaic by month to the map. To get a Planet API key, see https://developers.planet.com/quickstart/apis Args:
geemap/geemap.py:4051
Methodadd_planet_by_month
Adds a Planet global mosaic by month to the map. To get a Planet API key, see https://developers.planet.com/quickstart/apis Args:
geemap/foliumap.py:2042
Methodadd_planet_by_quarter
Adds Planet global mosaic by month to the map. To get a Planet API key, see https://developers.planet.com/quickstart/apis/ Args:
geemap/plotlymap.py:611
Methodadd_planet_by_quarter
Adds a Planet global mosaic by quarter to the map. To get a Planet API key, see https://developers.planet.com/quickstart/apis Args:
geemap/geemap.py:4073
Methodadd_planet_by_quarter
Adds a Planet global mosaic by quarter to the map. To get a Planet API key, see https://developers.planet.com/quickstart/apis Args:
geemap/foliumap.py:2066
Methodadd_pmtiles
Adds a PMTiles layer to the map. Args: url: The URL of the PMTiles file. style: The CSS style to apply to the layer.
geemap/maplibregl.py:1594
Methodadd_point_layer
Adds a point layer to the map with a popup attribute. Args: filename: str, http url, path object or file-like object. Either the
geemap/geemap.py:4120
Methodadd_points_from_xy
Adds a marker cluster to the map. Args: data: A csv or Pandas DataFrame containing x, y, z values. x: The column name
geemap/geemap.py:3754
Methodadd_points_from_xy
Adds a marker cluster to the map. Args: data: A csv or Pandas DataFrame containing x, y, z values. x: The column name
geemap/foliumap.py:1704
Methodadd_raster
Add a local raster dataset to the map. If you are using this function in JupyterHub on a remote server (e.g., Binder, Microsof
geemap/maplibregl.py:1050
Methodadd_remote_tile
Add a remote Cloud Optimized GeoTIFF (COG) to the map. Args: source: The path to the remote Cloud Optimized GeoTIFF.
geemap/geemap.py:2522
Methodadd_remote_tile
Add a remote Cloud Optimized GeoTIFF (COG) to the map. Args: source: The path to the remote Cloud Optimized GeoTIFF.
geemap/foliumap.py:741
Functionadd_scale_bar
Add a scale bar to the map. Args: ax (cartopy.mpl.geoaxes.GeoAxesSubplot | cartopy.mpl.geoaxes.GeoAxes): cartopy GeoAxesSubpl
geemap/cartoee.py:660
Methodadd_scatter_plot_demo
Adds a scatter plot to the map.
geemap/plotlymap.py:703
Methodadd_search_control
Add a search control to the map. Args: marker (ipyleaflet.Marker, optional): The marker to use. Defaults to None. url
geemap/geemap.py:4847
Methodadd_shp
Adds a shapefile to the map. Args: in_shp: The input file path to the shapefile. layer_name: The layer name to be use
geemap/geemap.py:2662
Methodadd_shp
Adds a shapefile to the map. Args: filename: The input file path to the vector dataset. layer_name: The layer name to
geemap/deck.py:377
Methodadd_stac_layer
Adds a STAC TileLayer to the map. Args: url: HTTP URL to a STAC item, e.g., https://canada-spot-ortho.s3.amazonaw
geemap/plotlymap.py:542
Methodadd_stac_layer
Adds a STAC TileLayer to the map. This method adds a STAC TileLayer to the map. The STAC TileLayer is created from the specified URL,
geemap/maplibregl.py:976
Methodadd_stac_layer
Adds a STAC TileLayer to the map. Args: url: HTTP URL to a STAC item, e.g., https://canada-spot-ortho.s3.amazonaw
geemap/geemap.py:1295
Methodadd_stac_layer
Adds a STAC TileLayer to the map. Args: url: HTTP URL to a STAC item, e.g., https://canada-spot-ortho.s3.amazonaw
geemap/foliumap.py:619
Methodadd_styled_vector
Adds a styled vector to the map. Args: ee_object: An ee.FeatureCollection. column: The column name to use for styling
geemap/geemap.py:2629
Methodadd_styled_vector
Adds a styled vector to the map. Args: ee_object (object): An ee.FeatureCollection. column: The column name to use fo
geemap/foliumap.py:1069
Methodadd_text
Add text to the map. Args: text: The text to add. fontsize: The font size. Defaults to 20. fontcolor: The
geemap/geemap.py:4793
Methodadd_text
Add text to the map. Args: text: The text to add. fontsize: The font size. fontcolor: The font color.
geemap/foliumap.py:2916
Methodadd_time_slider
( self, ee_object, vis_params: dict[str, Any] | None = None, region=None,
geemap/foliumap.py:3035
Methodadd_toolbar
Add a toolbar to the map. Args: position: The position of the toolbar. Defaults to "topright". **kwargs: Additional k
geemap/geemap.py:1046
Methodadd_vector
Adds a vector layer to the map. This method adds a vector layer to the map. The vector data can be a URL or local file path to a vect
geemap/maplibregl.py:633
Methodadd_velocity
Add a velocity layer to the map. Args: data (str | xr.Dataset): The data to use for the velocity layer. It can be a
geemap/geemap.py:4474
Methodadd_video
Adds a video layer to the map. This method allows embedding a video into the map by specifying the video URLs and the geographical co
geemap/maplibregl.py:2607
Methodadd_wms_layer
Adds a WMS layer to the map. This method adds a WMS layer to the map. The WMS is created from the specified URL, and it is added
geemap/maplibregl.py:787
Methodadd_xyz_service
Add a XYZ tile layer to the map. Args: provider: A tile layer name starts with xyz or qms. For example, xyz.OpenT
geemap/geemap.py:4241
Methodadd_xyz_service
Add a XYZ tile layer to the map. Args: provider: A tile layer name starts with xyz or qms. For example, xyz.OpenT
geemap/foliumap.py:2320
Functionall_layers_chk_changed
(change)
geemap/toolbar.py:4558
Methodanalyze_image
Returns GenAI image analysis describing the current map image. Optional additional instructions might be passed to target the analysis
geemap/ai.py:309
Functionannual_NAIP
Create an NAIP mosaic of a specified year for a specified region. Args: year (int): The specified year to create the mosaic for.
geemap/common.py:8066
Functionapi_docs
Open a browser and navigate to the geemap API documentation.
geemap/common.py:3331
Functionarray_mean
Calculates the mean of an array along the given axis. Args: arr (object): Array to calculate mean. Returns: object: ee.Numbe
geemap/common.py:7998
Functionarray_sum
Accumulates elements of an array along the given axis. Args: arr (object): Array to accumulate. Returns: object: ee.Number
geemap/common.py:7986
Functionarray_values
Converts an array to a DataFrame and generates a chart. Args: array: The array to convert. x_labels: The labels for the x-axis. D
geemap/chart.py:1853
Methodbands
Returns a list of dictionaries representing the bands.
geemap/ai.py:994
Functionbands_changed
(change)
geemap/toolbar.py:1215
Functionbands_to_image_collection
Converts all bands in an image to an image collection. Args: img (object): The image to convert. Returns: object: ee.ImageCo
geemap/common.py:7945
Functionbar_chart
Create a bar chart with plotly.express, Args: data: DataFrame | array-like | dict | str (local file path or HTTP URL) This ar
geemap/plot.py:15
Methodbasemap_demo
A demo for using geemap basemaps.
geemap/geemap.py:2037
Methodbasemap_demo
A demo for using geemap basemaps.
geemap/foliumap.py:3008
Methodbasemap_tool_callback
(map: Map, selected: bool, item: toolbar.ToolbarItem)
geemap/core.py:1263
Functionbbox_to_extent
Reorder a list of coordinates from [W,S,E,N] to [W,E,S,N]. Args: bbox: Coordinates in the order of [W,S,E,N]. Returns: Exten
geemap/cartoee.py:446
Functionblend
Create a blended image that is a combination of two images, e.g., DEM and hillshade. This function was inspired by Jesse Anderson. See https://gi
geemap/common.py:11476
Methodbounds
(self, *_, **__)
tests/fake_ee.py:104
Functionbounds_to_xy_range
Convert bounds to x and y range to be used as input to bokeh map. Args: bounds (list): A list of bounds in the form [(south, west), (nort
geemap/common.py:14196
Functionbutton_clicked
(change)
geemap/toolbar.py:365
Functioncal_area
(img)
geemap/common.py:13184
MethodcalculateBandStats
(_event: Event)
js/layer_editor.ts:172
MethodcalculateFieldValues
(_event: CustomEvent)
js/layer_editor.ts:246
MethodcalculateFields
(_event: CustomEvent)
js/layer_editor.ts:229
MethodcalculatePalette
(event: CustomEvent)
js/layer_editor.ts:195
Functioncalculate_landsat_indices
Calculate common vegetation and spectral indices for Landsat images. Args: image: Landsat image with bands Blue, Green, Red, NIR, SWIR1,
geemap/timelapse.py:8047
Functioncalculate_sentinel2_indices
Calculate common vegetation and water indices for Sentinel-2 images. Args: image (ee.Image): Sentinel-2 image with bands B2, B3, B4, B5,
geemap/timelapse.py:6918
Methodcalculate_vis_minmax
( self, *, bounds: ee.Geometry | ee.Feature | ee.FeatureCollection, bands: lis
tests/fake_map.py:189
Methodcallback
(m, selected, item)
tests/test_toolbar.py:117
MethodcancelDeletion
(_: Event)
js/layer_manager_row.ts:226
Functioncancel_btn_clicked
(b)
geemap/toolbar.py:1710
Functioncategory_selected
(change)
geemap/toolbar.py:1784
← previousnext →901–1,000 of 2,016, ranked by callers