geemap/geemap.py
def add_remote_tile(
        self,
        source,
        band=None,
        palette=None,
        vmin=None,
        vmax=None,
        nodata=None,
        attribution=None,
        layer_name=None,
        **kwargs,
    ):
        """Add a remote Cloud Optimized GeoTIFF (COG) to the map.

        Args:
            source (str): The path to the remote Cloud Optimized GeoTIFF.
            band (int, optional): The band to use. Band indexing starts at 1. Defaults to None.
            palette (str, optional): The name of the color palette from `palettable` to use when plotting a single band. See https://jiffyclub.github.io/palettable. Default is greyscale
            vmin (float, optional): The minimum value to use when colormapping the palette when plotting a single band. Defaults to None.
            vmax (float, optional): The maximum value to use when colormapping the palette when plotting a single band. Defaults to None.
            nodata (float, optional): The value from the band to use to interpret as not valid data. Defaults to None.
            attribution (str, optional): Attribution for the source raster. This defaults to a message about it being a local file.. Defaults to None.
            layer_name (str, optional): The layer name to use. Defaults to None.
        """
        if isinstance(source, str) and source.startswith("http"):
            self.add_local_tile(
                source,
                band=band,
                palette=palette,
                vmin=vmin,
                vmax=vmax,
                nodata=nodata,
                attribution=attribution,
                layer_name=layer_name,
                **kwargs,
            )
        else:
            raise Exception("The source must be a URL.")
Add a remote Cloud Optimized GeoTIFF (COG) to the map.

        Args:
            source (str): The path to the remote Cloud Optimized GeoTIFF.
            band (int, optional): The band to use. Band indexing starts at 1. Defaults to None.
            palette (str, optional): The name of the color palette from `palettable` to use when plotting a single band. See https://jiffyclub.github.io/palettable. Default is greyscale
            vmin (float, optional): The minimum value to use when colormapping the palette when plotting a single band. Defaults to None.
            vmax (float, optional): The maximum value to use when colormapping the palette when plotting a single band. Defaults to None.
            nodata (float, optional): The value from the band to use to interpret as not valid data. Defaults to None.
            attribution (str, optional): Attribution for the source raster. This defaults to a message about it being a local file.. Defaults to None.
            layer_name (str, optional): The layer name to use. Defaults to None.
        
Add a remote Cloud Optimized GeoTIFF (COG) to the map.
Add a remote Cloud Optimized GeoTIFF ( COG ) to the map .
def add_remote_tile(
        self,
        source,
        band=None,
        palette=None,
        vmin=None,
        vmax=None,
        nodata=None,
        attribution=None,
        layer_name=None,
        **kwargs,
    ):
        if isinstance(source, str) and source.startswith("http"):
            self.add_local_tile(
                source,
                band=band,
                palette=palette,
                vmin=vmin,
                vmax=vmax,
                nodata=nodata,
                attribution=attribution,
                layer_name=layer_name,
                **kwargs,
            )
        else:
            raise Exception("The source must be a URL.")
def add_remote_tile ( self , source , band = None , palette = None , vmin = None , vmax = None , nodata = None , attribution = None , layer_name = None , ** kwargs , ) : if isinstance ( source , str ) and source . startswith ( "http" ) : self . add_local_tile ( source , band = band , palette = palette , vmin = vmin , vmax = vmax , nodata = nodata , attribution = attribution , layer_name = layer_name , ** kwargs , ) else : raise Exception ( "The source must be a URL." )
Add a remote Cloud Optimized GeoTIFF (COG) to the map.
Add a remote Cloud Optimized GeoTIFF ( COG ) to the map .
"""Add a remote Cloud Optimized GeoTIFF (COG) to the map.

        Args:
            source (str): The path to the remote Cloud Optimized GeoTIFF.
            band (int, optional): The band to use. Band indexing starts at 1. Defaults to None.
            palette (str, optional): The name of the color palette from `palettable` to use when plotting a single band. See https://jiffyclub.github.io/palettable. Default is greyscale
            vmin (float, optional): The minimum value to use when colormapping the palette when plotting a single band. Defaults to None.
            vmax (float, optional): The maximum value to use when colormapping the palette when plotting a single band. Defaults to None.
            nodata (float, optional): The value from the band to use to interpret as not valid data. Defaults to None.
            attribution (str, optional): Attribution for the source raster. This defaults to a message about it being a local file.. Defaults to None.
            layer_name (str, optional): The layer name to use. Defaults to None.
        """
self
source
The path to the remote Cloud Optimized GeoTIFF.
The path to the remote Cloud Optimized GeoTIFF .
band
The band to use. Band indexing starts at 1. Defaults to None.
The band to use . Band indexing starts at 1 . Defaults to None .
None
palette
The name of the color palette from `palettable` to use when plotting a single band.
The name of the color palette from ` palettable ` to use when plotting a single band .
vmin
The minimum value to use when colormapping the palette when plotting a single band. Defaults to None.
The minimum value to use when colormapping the palette when plotting a single band . Defaults to None .
None
vmax
The maximum value to use when colormapping the palette when plotting a single band. Defaults to None.
The maximum value to use when colormapping the palette when plotting a single band . Defaults to None .
None
nodata
The value from the band to use to interpret as not valid data. Defaults to None.
The value from the band to use to interpret as not valid data . Defaults to None .
None
attribution
Attribution for the source raster. This defaults to a message about it being a local file.. Defaults to None.
Attribution for the source raster . This defaults to a message about it being a local file .. Defaults to None .
None
layer_name
The layer name to use. Defaults to None.
The layer name to use . Defaults to None .
None