Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update opengeos url #542

Merged
merged 1 commit into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/notebooks/33_image_overlay.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"outputs": [],
"source": [
"filepath = 'weather.png'\n",
"url = 'https://opengeos.github.io/data/images/weather.png'\n",
"url = 'https://open.gishub.org/data/images/weather.png'\n",
"if not os.path.exists(filepath):\n",
" leafmap.download_file(url, filepath)"
]
Expand Down
6 changes: 3 additions & 3 deletions docs/notebooks/70_zonal_stats.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
"metadata": {},
"outputs": [],
"source": [
"dsm = 'https://opengeos.github.io/data/elevation/dsm.tif'\n",
"hag = 'https://opengeos.github.io/data/elevation/hag.tif'\n",
"buildings = 'https://opengeos.github.io/data/elevation/buildings.geojson'"
"dsm = 'https://open.gishub.org/data/elevation/dsm.tif'\n",
"hag = 'https://open.gishub.org/data/elevation/hag.tif'\n",
"buildings = 'https://open.gishub.org/data/elevation/buildings.geojson'"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/notebooks/72_timelapse.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
"metadata": {},
"outputs": [],
"source": [
"images = [f'https://opengeos.github.io/data/landsat/{year}.tif' for year in years]\n",
"images = [f'https://open.gishub.org/data/landsat/{year}.tif' for year in years]\n",
"images"
]
},
Expand Down
4 changes: 2 additions & 2 deletions docs/notebooks/76_image_comparison.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"metadata": {},
"outputs": [],
"source": [
"img1 = 'https://opengeos.github.io/data/images/berkeley.jpg'\n",
"img2 = \"https://opengeos.github.io/data/images/berkeley_sam.jpg\""
"img1 = 'https://open.gishub.org/data/images/berkeley.jpg'\n",
"img2 = \"https://open.gishub.org/data/images/berkeley_sam.jpg\""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/notebooks/77_split_raster.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"outputs": [],
"source": [
"m = leafmap.Map()\n",
"url = 'https://opengeos.github.io/data/raster/cog.tif'\n",
"url = 'https://open.gishub.org/data/raster/cog.tif'\n",
"m.add_cog_layer(url, name='COG')\n",
"m"
]
Expand Down
14 changes: 7 additions & 7 deletions docs/workshops/EarthCube_2023.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
"metadata": {},
"outputs": [],
"source": [
"url = 'https://opengeos.github.io/data/raster/srtm90.tif'"
"url = 'https://open.gishub.org/data/raster/srtm90.tif'"
]
},
{
Expand Down Expand Up @@ -283,7 +283,7 @@
"outputs": [],
"source": [
"m = leafmap.Map()\n",
"url = 'https://opengeos.github.io/data/world/continents.geojson'\n",
"url = 'https://open.gishub.org/data/world/continents.geojson'\n",
"m.add_geojson(url, layer_name=\"Continents\")\n",
"m"
]
Expand All @@ -302,7 +302,7 @@
"outputs": [],
"source": [
"m = leafmap.Map()\n",
"url = 'https://opengeos.github.io/data/world/countries.zip'\n",
"url = 'https://open.gishub.org/data/world/countries.zip'\n",
"m.add_shp(url, layer_name=\"Countries\")\n",
"m"
]
Expand Down Expand Up @@ -713,7 +713,7 @@
"outputs": [],
"source": [
"m = leafmap.Map()\n",
"url = 'https://opengeos.github.io/data/raster/srtm90.tif'\n",
"url = 'https://open.gishub.org/data/raster/srtm90.tif'\n",
"m.add_cog_layer(url, name=\"Remote COG\")\n",
"m"
]
Expand Down Expand Up @@ -798,9 +798,9 @@
"metadata": {},
"outputs": [],
"source": [
"dsm = 'https://opengeos.github.io/data/elevation/dsm.tif'\n",
"hag = 'https://opengeos.github.io/data/elevation/hag.tif'\n",
"buildings = 'https://opengeos.github.io/data/elevation/buildings.geojson'"
"dsm = 'https://open.gishub.org/data/elevation/dsm.tif'\n",
"hag = 'https://open.gishub.org/data/elevation/hag.tif'\n",
"buildings = 'https://open.gishub.org/data/elevation/buildings.geojson'"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/notebooks/33_image_overlay.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"outputs": [],
"source": [
"filepath = 'weather.png'\n",
"url = 'https://opengeos.github.io/data/images/weather.png'\n",
"url = 'https://open.gishub.org/data/images/weather.png'\n",
"if not os.path.exists(filepath):\n",
" leafmap.download_file(url, filepath)"
]
Expand Down
6 changes: 3 additions & 3 deletions examples/notebooks/70_zonal_stats.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
"metadata": {},
"outputs": [],
"source": [
"dsm = 'https://opengeos.github.io/data/elevation/dsm.tif'\n",
"hag = 'https://opengeos.github.io/data/elevation/hag.tif'\n",
"buildings = 'https://opengeos.github.io/data/elevation/buildings.geojson'"
"dsm = 'https://open.gishub.org/data/elevation/dsm.tif'\n",
"hag = 'https://open.gishub.org/data/elevation/hag.tif'\n",
"buildings = 'https://open.gishub.org/data/elevation/buildings.geojson'"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/notebooks/72_timelapse.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
"metadata": {},
"outputs": [],
"source": [
"images = [f'https://opengeos.github.io/data/landsat/{year}.tif' for year in years]\n",
"images = [f'https://open.gishub.org/data/landsat/{year}.tif' for year in years]\n",
"images"
]
},
Expand Down
4 changes: 2 additions & 2 deletions examples/notebooks/76_image_comparison.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"metadata": {},
"outputs": [],
"source": [
"img1 = 'https://opengeos.github.io/data/images/berkeley.jpg'\n",
"img2 = \"https://opengeos.github.io/data/images/berkeley_sam.jpg\""
"img1 = 'https://open.gishub.org/data/images/berkeley.jpg'\n",
"img2 = \"https://open.gishub.org/data/images/berkeley_sam.jpg\""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/notebooks/77_split_raster.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"outputs": [],
"source": [
"m = leafmap.Map()\n",
"url = 'https://opengeos.github.io/data/raster/cog.tif'\n",
"url = 'https://open.gishub.org/data/raster/cog.tif'\n",
"m.add_cog_layer(url, name='COG')\n",
"m"
]
Expand Down
14 changes: 7 additions & 7 deletions examples/workshops/EarthCube_2023.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
"metadata": {},
"outputs": [],
"source": [
"url = 'https://opengeos.github.io/data/raster/srtm90.tif'"
"url = 'https://open.gishub.org/data/raster/srtm90.tif'"
]
},
{
Expand Down Expand Up @@ -283,7 +283,7 @@
"outputs": [],
"source": [
"m = leafmap.Map()\n",
"url = 'https://opengeos.github.io/data/world/continents.geojson'\n",
"url = 'https://open.gishub.org/data/world/continents.geojson'\n",
"m.add_geojson(url, layer_name=\"Continents\")\n",
"m"
]
Expand All @@ -302,7 +302,7 @@
"outputs": [],
"source": [
"m = leafmap.Map()\n",
"url = 'https://opengeos.github.io/data/world/countries.zip'\n",
"url = 'https://open.gishub.org/data/world/countries.zip'\n",
"m.add_shp(url, layer_name=\"Countries\")\n",
"m"
]
Expand Down Expand Up @@ -713,7 +713,7 @@
"outputs": [],
"source": [
"m = leafmap.Map()\n",
"url = 'https://opengeos.github.io/data/raster/srtm90.tif'\n",
"url = 'https://open.gishub.org/data/raster/srtm90.tif'\n",
"m.add_cog_layer(url, name=\"Remote COG\")\n",
"m"
]
Expand Down Expand Up @@ -798,9 +798,9 @@
"metadata": {},
"outputs": [],
"source": [
"dsm = 'https://opengeos.github.io/data/elevation/dsm.tif'\n",
"hag = 'https://opengeos.github.io/data/elevation/hag.tif'\n",
"buildings = 'https://opengeos.github.io/data/elevation/buildings.geojson'"
"dsm = 'https://open.gishub.org/data/elevation/dsm.tif'\n",
"hag = 'https://open.gishub.org/data/elevation/hag.tif'\n",
"buildings = 'https://open.gishub.org/data/elevation/buildings.geojson'"
]
},
{
Expand Down