Skip to content

Commit

Permalink
Update EE dataset link (opengeos#558)
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Sep 18, 2023
1 parent 3001c14 commit 80f66bd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
7 changes: 5 additions & 2 deletions leafmap/foliumap.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def add_ee_layer(
**kwargs,
) -> None:
"""
Adds a Google Earth Engine tile layer to the map based on the tile layer URL from
Adds a Google Earth Engine tile layer to the map based on the tile layer URL from
https://github.com/opengeos/ee-tile-layers/blob/main/datasets.tsv.
Args:
Expand All @@ -188,7 +188,10 @@ def add_ee_layer(
"""
import pandas as pd

df = pd.read_csv("https://ee-tiles.gishub.org/datasets.tsv", sep="\t")
df = pd.read_csv(
"https://raw.githubusercontent.com/opengeos/ee-tile-layers/main/datasets.tsv",
sep="\t",
)

asset_id = asset_id.strip()
if name is None:
Expand Down
5 changes: 4 additions & 1 deletion leafmap/leafmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,10 @@ def add_ee_layer(
"""
import pandas as pd

df = pd.read_csv("https://ee-tiles.gishub.org/datasets.tsv", sep="\t")
df = pd.read_csv(
"https://raw.githubusercontent.com/opengeos/ee-tile-layers/main/datasets.tsv",
sep="\t",
)

asset_id = asset_id.strip()
if name is None:
Expand Down

0 comments on commit 80f66bd

Please sign in to comment.