MCPcopy Create free account

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

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

↓ 2 callersFunctionmost_common_value
(lst)
geemap/common.py:2761
↓ 2 callersFunctionnetcdf_to_tif
Convert a netcdf file to a GeoTIFF file. Args: filename (str): Path to the netcdf file. output (str, optional): Path to the outpu
geemap/common.py:11631
↓ 2 callersFunctionnextPowerOf2
(n)
geemap/chart.py:977
↓ 2 callersMethodon_geometry_create
Registers a callback for geometry creation. Args: callback: The callback function. remove: Whether to remove the call
geemap/core.py:171
↓ 2 callersFunctionplanet_biannual_tropical
Generates Planet bi-annual imagery URLs based on an API key. See https://assets.planet.com/docs/NICFI_UserGuidesFAQ.pdf Args: api_key (st
geemap/common.py:9436
↓ 2 callersFunctionplanet_by_month
Gets Planet global mosaic tile url by month. To get a Planet API key, see https://developers.planet.com/quickstart/apis/ Args: year (int,
geemap/common.py:9868
↓ 2 callersFunctionplanet_by_quarter
Gets Planet global mosaic tile url by quarter. To get a Planet API key, see https://developers.planet.com/quickstart/apis/ Args: year (in
geemap/common.py:9819
↓ 2 callersFunctionplanet_monthly
Generates Planet monthly imagery URLs based on an API key. To get a Planet API key, see https://developers.planet.com/quickstart/apis/ Args:
geemap/common.py:9609
↓ 2 callersFunctionplanet_monthly_tropical
Generates Planet monthly imagery URLs based on an API key. See https://assets.planet.com/docs/NICFI_UserGuidesFAQ.pdf Args: api_key (str,
geemap/common.py:9395
↓ 2 callersFunctionplanet_quarterly
Generates Planet quarterly imagery URLs based on an API key. To get a Planet API key, see https://developers.planet.com/quickstart/apis/ Args:
geemap/common.py:9648
↓ 2 callersFunctionplanet_tile_by_month
Generates Planet monthly imagery TileLayer based on an API key. To get a Planet API key, see https://developers.planet.com/quickstart/apis Args:
geemap/common.py:9964
↓ 2 callersFunctionplanet_tile_by_quarter
Generates Planet quarterly imagery TileLayer based on an API key. To get a Planet API key, see https://developers.planet.com/quickstart/apis Args
geemap/common.py:9916
↓ 2 callersFunctionplotly_tool_template
Creates a template for a Plotly-based tool widget. Args: canvas: The Plotly Map canvas object.
geemap/toolbar.py:4580
↓ 2 callersFunctionpmtiles_metadata
Fetch the metadata from a local or remote .pmtiles file. This function retrieves metadata from a PMTiles file, whether it's local or hosted remot
geemap/common.py:15357
↓ 2 callersFunctionread_lidar
Read a LAS file. Args: filename (str): A local file path or HTTP URL to a LAS file. Returns: LasData: The LasData object ret
geemap/common.py:11365
↓ 2 callersMethodremove_drawn_features
Removes user-drawn geometries from the map
geemap/geemap.py:2565
↓ 2 callersMethodremove_ee_layer
Removes an Earth Engine layer. Args: name (str): The name of the Earth Engine layer to remove.
geemap/geemap.py:401
↓ 2 callersMethodremove_layer
Removes a layer from the map.
geemap/core.py:509
↓ 2 callersFunctionrenameEtm
(img)
geemap/timelapse.py:2118
↓ 2 callersFunctionrenameOli
(img)
geemap/timelapse.py:2111
↓ 2 callersMethodrenderCloseButton
()
js/container.ts:134
↓ 2 callersMethodrenderCollapseButton
()
js/container.ts:175
↓ 2 callersMethodrenderIcon
()
js/container.ts:169
↓ 2 callersMethodrenderLegend
(title: string)
js/legend.ts:115
↓ 2 callersMethodrenderTitle
()
js/container.ts:148
↓ 2 callersFunctionscaleForVis
(img)
geemap/timelapse.py:3880
↓ 2 callersMethodsendCompletion
(completionType: string)
js/layer_editor.ts:156
↓ 2 callersFunctionsentinel1_defaults
()
geemap/timelapse.py:1397
↓ 2 callersMethodset_color
Set the color of a layer. This method sets the color of the specified layer to the specified value. Args: name: The name
geemap/maplibregl.py:1259
↓ 2 callersMethodset_geometry_properties
Sets the properties of a geometry. Args: geometry: The geometry to set properties for. property: The properties to se
geemap/core.py:155
↓ 2 callersMethodset_layer_opacity
Sets the visibility of a layer. Args: name: Name of the layer to set. opacity: Opacity of the layer.
geemap/plotlymap.py:369
↓ 2 callersMethodstart_str
Returns the start datetime of the collection as a string.
geemap/ai.py:969
↓ 2 callersMethodsubstitute
(self, old_layer, new_layer)
tests/fake_map.py:110
↓ 2 callersFunctionsystem_fonts
Returns a list of system fonts. Common font locations: Linux: /usr/share/fonts/TTF/ Windows: C:/Windows/Fonts macOS:
geemap/common.py:1952
↓ 2 callersMethodtemporal_resolution_str
Returns the temporal resolution of the collection as a string.
geemap/ai.py:1017
↓ 2 callersFunctiontimelapse_gui
Creates timelapse animations. Args: m: A geemap Map instance. basemap: The basemap to use. Returns: ipywidgets: The
geemap/toolbar.py:1840
↓ 2 callersMethodto_html
Render the map to an HTML page. Args: output: The output HTML file. If None, the HTML content is returned as a st
geemap/maplibregl.py:1139
↓ 2 callersMethodto_html
Exports a map as an HTML file. Args: filename: File path to the output HTML. Raises: ValueError: If it is an
geemap/foliumap.py:2146
↓ 2 callersMethodurl_for_stac_bounds
(self)
geemap/common.py:1479
↓ 2 callersMethodurl_for_stac_info
(self)
geemap/common.py:1482
↓ 2 callersMethodurl_for_stac_info_geojson
(self)
geemap/common.py:1485
↓ 2 callersMethodurl_for_stac_item
(self)
geemap/common.py:1473
↓ 2 callersMethodurl_for_stac_pixel_value
(self, lon: float, lat: float)
geemap/common.py:1491
↓ 2 callersMethodurl_for_stac_statistics
(self)
geemap/common.py:1488
↓ 2 callersFunctionvector_centroids
Returns the centroids of an ee.FeatureCollection. Args: ee_object (ee.FeatureCollection): The ee.FeatureCollection to get the centroids o
geemap/common.py:10845
↓ 2 callersFunctionvector_styling
Adds a new property to each feature containing a styling dictionary. Args: ee_object (object): An ee.FeatureCollection. column: T
geemap/common.py:8587
↓ 2 callersFunctionvector_to_ee
Converts any geopandas-supported vector dataset to ee.FeatureCollection. Args: filename (str): Either the absolute or relative path to th
geemap/common.py:9101
↓ 2 callersFunctionxyz_to_folium
Convert xyz tile services to folium tile layers. Returns: A dictionary of folium tile layers.
geemap/basemaps.py:445
↓ 2 callersFunctionxyz_to_plotly
Convert xyz tile services to plotly tile layers. Returns: A dictionary of plotly tile layers.
geemap/basemaps.py:548
↓ 2 callersMethodzoom_to_bounds
Zooms to a bounding box in the form of [minx, miny, maxx, maxy]. Args: bounds (list | tuple): A list/tuple containing minx, miny, m
geemap/foliumap.py:337
↓ 1 callersMethod__init__
Initialize the folium tile layer. Args: ee_object: The object to add to the map. vis_params: The visualization parame
geemap/ee_tile_layers.py:116
↓ 1 callersMethod__init__
Initialize the map with given keyword arguments. Args: **kwargs: Additional keyword arguments for the map.
geemap/core.py:628
↓ 1 callersMethod__init__
Create a Map object. Args: center: The center of the map (lon, lat). zoom: The zoom level of the map. pit
geemap/maplibregl.py:61
↓ 1 callersMethod__init__
Initialize a map object. The following additional parameters can be passed in addition to the ipyleaflet.Map parameters: Args:
geemap/geemap.py:97
↓ 1 callersMethod__init__
Adds a toolbar with `main_tools` and `extra_tools` to the `host_map`.
geemap/toolbar.py:127
↓ 1 callersMethod__init__
( self, repos=None, docs=None, assets=None, docs_d
geemap/common.py:4407
↓ 1 callersMethod__init__
Initialize a Map object. Args: center: Center of the map in the format of (lat, lon). zoom: The map zoom level.
geemap/deck.py:67
↓ 1 callersMethod__init__
(self)
tests/fake_map.py:20
↓ 1 callersFunction_add_bbox
Add a box behind the scalebar. Code inspired by: https://stackoverflow.com/questions/17086847/box-around-text-in-matplotlib
geemap/cartoee.py:709
↓ 1 callersMethod_add_draw_control
Adds a draw control to the map. Args: position: The position of the draw control. **kwargs: Additional keyword argume
geemap/core.py:954
↓ 1 callersMethod_add_search_control
Adds a search bar to the map. Args: position: The position to place the inspector. **kwargs: Additional keyword argum
geemap/core.py:921
↓ 1 callersMethod_add_toolbar
Adds a toolbar to the map. Args: position: The position to place the toolbar. **kwargs: Additional keyword arguments.
geemap/core.py:881
↓ 1 callersMethod_apply_kwarg_defaults
Applies default values to keyword arguments. Args: kwargs: The keyword arguments. Returns: The keyword argum
geemap/core.py:1305
↓ 1 callersMethod_basemap_widget
Create a layer widget for changing the visibility and opacity of a layer. Args: name: The name of the layer. Returns:
geemap/maplibregl.py:1508
↓ 1 callersMethod_bind_to_draw_control
Set up draw control event handling like create, edit, and delete.
geemap/core.py:198
↓ 1 callersMethod_build_table_html
Builds the HTML for the dataset table. Args: collections: The list of dataset collections. Returns: The HTML
geemap/ai.py:1955
↓ 1 callersMethod_calculate_band_stats
(self, message: dict[str, Any])
geemap/map_widgets.py:994
↓ 1 callersMethod_calculate_fields
(self)
geemap/map_widgets.py:1064
↓ 1 callersMethod_calculate_palette
(self, message: dict[str, Any])
geemap/map_widgets.py:1044
↓ 1 callersMethod_calculate_vis_stats
Calculate stats used for visualization parameters. Stats are calculated consistently with the Code Editor visualization parameters, a
geemap/ee_tile_layers.py:206
↓ 1 callersMethod_clear_draw_control
Clears the geometries from the draw control.
geemap/core.py:206
↓ 1 callersMethod_clear_inspector_output
Clears the inspector output.
geemap/map_widgets.py:525
↓ 1 callersFunction_create_node
Create a widget for the computed object tree.
geemap/coreutils.py:270
↓ 1 callersFunction_crs_coord_project
Metric coordinates (x, y) from cartopy.crs_source.
geemap/cartoee.py:702
↓ 1 callersMethod_dataset_select_js_code
Generates JavaScript code for handling dataset selection. Args: callback_id: The callback ID for the dataset selection.
geemap/ai.py:2039
↓ 1 callersMethod_delete_layer
(self)
geemap/map_widgets.py:779
↓ 1 callersFunction_ee_object_to_image
Returns an EE object converted to an EE image. Args: ee_object: The EE object. vis_params: The visualization parameters.
geemap/ee_tile_layers.py:56
↓ 1 callersFunction_format_dictionary_node_name
(index: int, item: dict[str, Any])
geemap/coreutils.py:149
↓ 1 callersFunction_generate_tree
( info: list[Any] | dict[str, Any], opened: bool )
geemap/coreutils.py:165
↓ 1 callersMethod_get_available_basemaps
Gets the available basemaps. Returns: Dict[str, Any]: The available basemaps.
geemap/core.py:1346
↓ 1 callersMethod_get_available_basemaps
Convert xyz tile services to a dictionary of basemaps.
geemap/maplibregl.py:168
↓ 1 callersMethod_get_basemap_dictionary
(self, basemaps: list[str])
geemap/map_widgets.py:857
↓ 1 callersMethod_get_bbox
Gets a bounding box around a point. Args: latlon: The latitude and longitude of the point. Returns: The boun
geemap/map_widgets.py:639
↓ 1 callersMethod_get_colormaps
Gets the list of available colormaps.
geemap/map_widgets.py:1080
↓ 1 callersMethod_get_dimensions
Get the dimensions of the colorbar based on orientation. Args: orientation: Orientation of the colorbar. kwargs: Addi
geemap/map_widgets.py:239
↓ 1 callersMethod_get_geometry
Returns the geometry for an arbitrary EE object. Args: ee_object: The Earth Engine object. max_error: The maximum err
geemap/core.py:734
↓ 1 callersMethod_get_layer_opacity
(self)
geemap/map_widgets.py:755
↓ 1 callersMethod_get_layer_visibility
(self)
geemap/map_widgets.py:764
↓ 1 callersMethod_get_synced_geojson_from_draw_control
Returns an up-to-date list of GeoJSON from the draw control.
geemap/core.py:210
↓ 1 callersMethod_handle_button_click
(self, msg_id: str)
geemap/map_widgets.py:769
↓ 1 callersMethod_load_all_code_samples
Loads js + py example scripts from GCS into dict keyed by dataset ID. Args: storage_client: The Google Cloud Storage client.
geemap/ai.py:1318
↓ 1 callersMethod_load_collections
Loads all EE STAC JSON files from GCS, with datetimes as objects. Args: storage_client: The Google Cloud Storage client.
geemap/ai.py:1286
↓ 1 callersMethod_make_python_code_sample
Converts EE JS code into python. Args: js_code: The JavaScript code to convert. Returns: The converted Pytho
geemap/ai.py:1351
↓ 1 callersMethod_object_info
Gets information about objects at a point. Args: latlon: The latitude and longitude of the point. Returns: i
geemap/map_widgets.py:654
↓ 1 callersMethod_on_apply_click_raster
Handles the apply button click event from a raster layer.
geemap/map_widgets.py:1166
↓ 1 callersMethod_on_apply_click_vector
Handles the apply button click event from a vector layer.
geemap/map_widgets.py:1117
↓ 1 callersMethod_on_close_btn_click
Handles close button click events.
geemap/map_widgets.py:531
↓ 1 callersMethod_on_close_click
Handles the close button click event.
geemap/map_widgets.py:955
↓ 1 callersMethod_on_import_click_raster
Handles the import button click event for raster layers.
geemap/map_widgets.py:1160
↓ 1 callersMethod_on_import_click_vector
Handles the import button click event for vector layers.
geemap/map_widgets.py:1090
← previousnext →301–400 of 2,016, ranked by callers