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
While trying to replicate the code + example for COG mosaic I got an error when running the line
Map.add_COG_mosaic(links, name="CA Fire", show_footprints=True, verbose=True)
What I Did
Map.add_COG_mosaic(links, name="CA Fire", show_footprints=True, verbose=True)
Creating COG masaic ...
Failed to add the specified TileLayer.
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
~/opt/miniconda3/envs/geemap5/lib/python3.7/site-packages/geemap/geemap.py in add_tile_layer(self, url, name, attribution, opacity, shown, **kwargs)
1378 opacity=opacity,
-> 1379 visible=shown ** kwargs,
1380 )
TypeError: unsupported operand type(s) for ** or pow(): 'bool' and 'dict'
During handling of the above exception, another exception occurred:
Exception Traceback (most recent call last)
<ipython-input-6-75d814cf16d1> in <module>
----> 1 Map.add_COG_mosaic(links, name="CA Fire", show_footprints=True, verbose=True)
~/opt/miniconda3/envs/geemap5/lib/python3.7/site-packages/geemap/geemap.py in add_COG_mosaic(self, links, name, attribution, opacity, shown, titiler_endpoint, username, overwrite, show_footprints, verbose, **kwargs)
1457 verbose=verbose,
1458 )
-> 1459 self.add_tile_layer(tile, name, attribution, opacity, shown)
1460
1461 if show_footprints:
~/opt/miniconda3/envs/geemap5/lib/python3.7/site-packages/geemap/geemap.py in add_tile_layer(self, url, name, attribution, opacity, shown, **kwargs)
1393 except Exception as e:
1394 print("Failed to add the specified TileLayer.")
-> 1395 raise Exception(e)
1396
1397 def add_COG_layer(
Exception: unsupported operand type(s) for ** or pow(): 'bool' and 'dict'
The text was updated successfully, but these errors were encountered:
Environment Information
Description
While trying to replicate the code + example for COG mosaic I got an error when running the line
Map.add_COG_mosaic(links, name="CA Fire", show_footprints=True, verbose=True)
What I Did
The text was updated successfully, but these errors were encountered: