You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
elif titiler_endpoint in ["planetary-computer", "pc"]:
1578
1578
titiler_endpoint = PlanetaryComputerEndpoint()
1579
1579
@@ -5288,7 +5288,7 @@ def cog_tile(
5288
5288
5289
5289
Args:
5290
5290
url (str): HTTP URL to a COG, e.g., https://opendata.digitalglobe.com/events/mauritius-oil-spill/post-event/2020-08-12/105001001F1B5B00/105001001F1B5B00.tif
5291
-
titiler_endpoint (str, optional): Titiler endpoint. Defaults to "https://titiler.xyz".
5291
+
titiler_endpoint (str, optional): Titiler endpoint. Defaults to "https://giswqs-titiler-endpoint.hf.space".
5292
5292
timeout (int, optional): Timeout in seconds. Defaults to 300.
5293
5293
proxies (dict, optional): Proxies to use. Defaults to None.
5294
5294
@@ -5355,7 +5355,7 @@ def cog_mosaic(
5355
5355
5356
5356
Args:
5357
5357
links (list): A list containing COG HTTP URLs.
5358
-
titiler_endpoint (str, optional): Titiler endpoint. Defaults to "https://titiler.xyz".
5358
+
titiler_endpoint (str, optional): Titiler endpoint. Defaults to "https://giswqs-titiler-endpoint.hf.space".
5359
5359
username (str, optional): User name for the titiler endpoint. Defaults to "anonymous".
5360
5360
layername ([type], optional): Layer name to use. Defaults to None.
5361
5361
overwrite (bool, optional): Whether to overwrite the layer name if existing. Defaults to False.
@@ -5424,7 +5424,7 @@ def cog_mosaic_from_file(
5424
5424
Args:
5425
5425
filepath (str): Local path or HTTP URL to the csv/txt file containing COG URLs.
5426
5426
skip_rows (int, optional): The number of rows to skip in the file. Defaults to 0.
5427
-
titiler_endpoint (str, optional): Titiler endpoint. Defaults to "https://titiler.xyz".
5427
+
titiler_endpoint (str, optional): Titiler endpoint. Defaults to "https://giswqs-titiler-endpoint.hf.space".
5428
5428
username (str, optional): User name for the titiler endpoint. Defaults to "anonymous".
5429
5429
layername ([type], optional): Layer name to use. Defaults to None.
5430
5430
overwrite (bool, optional): Whether to overwrite the layer name if existing. Defaults to False.
url (str): HTTP URL to a COG, e.g., https://opendata.digitalglobe.com/events/mauritius-oil-spill/post-event/2020-08-12/105001001F1B5B00/105001001F1B5B00.tif
5462
-
titiler_endpoint (str, optional): Titiler endpoint. Defaults to "https://titiler.xyz".
5462
+
titiler_endpoint (str, optional): Titiler endpoint. Defaults to "https://giswqs-titiler-endpoint.hf.space".
5463
5463
timeout (int, optional): Timeout in seconds. Defaults to 300.
url (str): HTTP URL to a COG, e.g., https://opendata.digitalglobe.com/events/mauritius-oil-spill/post-event/2020-08-12/105001001F1B5B00/105001001F1B5B00.tif
5488
-
titiler_endpoint (str, optional): Titiler endpoint. Defaults to "https://titiler.xyz".
5488
+
titiler_endpoint (str, optional): Titiler endpoint. Defaults to "https://giswqs-titiler-endpoint.hf.space".
url (str): HTTP URL to a COG, e.g., https://opendata.digitalglobe.com/events/mauritius-oil-spill/post-event/2020-08-12/105001001F1B5B00/105001001F1B5B00.tif
5506
-
titiler_endpoint (str, optional): Titiler endpoint. Defaults to "https://titiler.xyz".
5506
+
titiler_endpoint (str, optional): Titiler endpoint. Defaults to "https://giswqs-titiler-endpoint.hf.space".
5507
5507
timeout (int, optional): Timeout in seconds. Defaults to 300.
url (str): HTTP URL to a COG, e.g., https://opendata.digitalglobe.com/events/mauritius-oil-spill/post-event/2020-08-12/105001001F1B5B00/105001001F1B5B00.tif
5532
-
titiler_endpoint (str, optional): Titiler endpoint. Defaults to "https://titiler.xyz".
5532
+
titiler_endpoint (str, optional): Titiler endpoint. Defaults to "https://giswqs-titiler-endpoint.hf.space".
5533
5533
timeout (int, optional): Timeout in seconds. Defaults to 300.
url (str): HTTP URL to a COG, e.g., https://opendata.digitalglobe.com/events/mauritius-oil-spill/post-event/2020-08-12/105001001F1B5B00/105001001F1B5B00.tif
5557
-
titiler_endpoint (str, optional): Titiler endpoint. Defaults to "https://titiler.xyz".
5557
+
titiler_endpoint (str, optional): Titiler endpoint. Defaults to "https://giswqs-titiler-endpoint.hf.space".
5558
5558
timeout (int, optional): Timeout in seconds. Defaults to 300.
5559
5559
5560
5560
Returns:
@@ -5594,7 +5594,7 @@ def cog_pixel_value(
5594
5594
lat (float): Latitude of the pixel.
5595
5595
url (str): HTTP URL to a COG, e.g., 'https://github.com/opengeos/data/releases/download/raster/Libya-2023-07-01.tif'
5596
5596
bidx (str, optional): Dataset band indexes (e.g bidx=1, bidx=1&bidx=2&bidx=3). Defaults to None.
timeout (int, optional): Timeout in seconds. Defaults to 300.
5651
5651
5652
5652
Returns:
@@ -5789,7 +5789,7 @@ def stac_bounds(
5789
5789
url (str): HTTP URL to a STAC item, e.g., https://canada-spot-ortho.s3.amazonaws.com/canada_spot_orthoimages/canada_spot5_orthoimages/S5_2007/S5_11055_6057_20070622/S5_11055_6057_20070622.json
5790
5790
collection (str): The Microsoft Planetary Computer STAC collection ID, e.g., landsat-8-c2-l2.
5791
5791
item (str): The Microsoft Planetary Computer STAC item ID, e.g., LC08_L2SP_047027_20201204_02_T1.
url (str): HTTP URL to a STAC item, e.g., https://canada-spot-ortho.s3.amazonaws.com/canada_spot_orthoimages/canada_spot5_orthoimages/S5_2007/S5_11055_6057_20070622/S5_11055_6057_20070622.json
5832
5832
collection (str): The Microsoft Planetary Computer STAC collection ID, e.g., landsat-8-c2-l2.
5833
5833
item (str): The Microsoft Planetary Computer STAC item ID, e.g., LC08_L2SP_047027_20201204_02_T1.
url (str): HTTP URL to a STAC item, e.g., https://canada-spot-ortho.s3.amazonaws.com/canada_spot_orthoimages/canada_spot5_orthoimages/S5_2007/S5_11055_6057_20070622/S5_11055_6057_20070622.json
5857
5857
collection (str): The Microsoft Planetary Computer STAC collection ID, e.g., landsat-8-c2-l2.
5858
5858
item (str): The Microsoft Planetary Computer STAC item ID, e.g., LC08_L2SP_047027_20201204_02_T1.
timeout (int, optional): Timeout in seconds. Defaults to 300.
6015
6015
6016
6016
Returns:
@@ -6055,7 +6055,7 @@ def stac_assets(
6055
6055
url (str): HTTP URL to a STAC item, e.g., https://canada-spot-ortho.s3.amazonaws.com/canada_spot_orthoimages/canada_spot5_orthoimages/S5_2007/S5_11055_6057_20070622/S5_11055_6057_20070622.json
6056
6056
collection (str): The Microsoft Planetary Computer STAC collection ID, e.g., landsat-8-c2-l2.
6057
6057
item (str): The Microsoft Planetary Computer STAC item ID, e.g., LC08_L2SP_047027_20201204_02_T1.
Copy file name to clipboardExpand all lines: geemap/geemap.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1308,7 +1308,7 @@ def add_cog_layer(
1308
1308
opacity (float, optional): The opacity of the layer. Defaults to 1.
1309
1309
shown (bool, optional): A flag indicating whether the layer should be on by default. Defaults to True.
1310
1310
bands (list, optional): A list of bands to use for the layer. Defaults to None.
1311
-
titiler_endpoint (str, optional): Titiler endpoint. Defaults to "https://titiler.xyz".
1311
+
titiler_endpoint (str, optional): Titiler endpoint. Defaults to "https://giswqs-titiler-endpoint.hf.space".
1312
1312
**kwargs: Arbitrary keyword arguments, including bidx, expression, nodata, unscale, resampling, rescale, color_formula, colormap, colormap_name, return_mask. See https://developmentseed.org/titiler/endpoints/cog/ and https://cogeotiff.github.io/rio-tiler/colormap/. To select a certain bands, use bidx=[1, 2, 3]
1313
1313
"""
1314
1314
@@ -1355,7 +1355,7 @@ def add_stac_layer(
1355
1355
item (str): The Microsoft Planetary Computer STAC item ID, e.g., LC08_L2SP_047027_20201204_02_T1.
1356
1356
assets (str | list): The Microsoft Planetary Computer STAC asset ID, e.g., ["SR_B7", "SR_B5", "SR_B4"].
1357
1357
bands (list): A list of band names, e.g., ["SR_B7", "SR_B5", "SR_B4"]
0 commit comments