Skip to content

Commit

Permalink
make compatible with cogeo-mosaic 3.0.0 (developmentseed#382)
Browse files Browse the repository at this point in the history
Co-authored-by: Trenton Lipscomb <trentonl@amazon.com>
  • Loading branch information
trenton and Trenton Lipscomb authored Oct 4, 2021
1 parent 4474aed commit 0be4778
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/examples/notebooks/Create_CustomSentinel2Tiler.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@
"- uvicorn\n",
"- rio-tiler-pds\n",
"- cogeo-mosaic\n",
"- matplotlib\n",
"\n",
"`!pip install titiler.core titiler.mosaic uvicorn folium requests rio-tiler-pds`"
"`!pip install titiler.core titiler.mosaic uvicorn folium requests rio-tiler-pds matplotlib`"
]
},
{
Expand All @@ -43,7 +44,7 @@
"outputs": [],
"source": [
"# Uncomment this line if you need to install the dependencies\n",
"# !pip install titiler.core titiler.mosaic uvicorn folium requests rio-tiler-pds"
"# !pip install titiler.core titiler.mosaic uvicorn folium requests rio-tiler-pds matplotlib"
]
},
{
Expand Down Expand Up @@ -419,7 +420,7 @@
" query,\n",
" minzoom=8,\n",
" maxzoom=15,\n",
" backend_options={\"accessor\": custom_accessor},\n",
" mosaic_options={\"accessor\": custom_accessor},\n",
") as mosaic:\n",
" print(mosaic.metadata)\n",
" mosaic_doc = mosaic.mosaic_def.dict(exclude_none=True)"
Expand Down Expand Up @@ -489,7 +490,7 @@
" query,\n",
" minzoom=8,\n",
" maxzoom=14,\n",
" backend_options={\"accessor\": custom_accessor, \"asset_filter\": optimized_filter},\n",
" mosaic_options={\"accessor\": custom_accessor, \"asset_filter\": optimized_filter},\n",
") as mosaic:\n",
" print(mosaic.metadata)\n",
" mosaic_doc = mosaic.mosaic_def.dict(exclude_none=True)"
Expand Down

0 comments on commit 0be4778

Please sign in to comment.