Skip to content

Commit ebab9d9

Browse files
committed
merge from main
2 parents a3a76b3 + f5e5e91 commit ebab9d9

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

demo/Maxar/eoAPI_Maxar_demo.ipynb

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -379,9 +379,7 @@
379379
"cell_type": "code",
380380
"execution_count": null,
381381
"id": "7f77306d",
382-
"metadata": {
383-
"scrolled": false
384-
},
382+
"metadata": {},
385383
"outputs": [],
386384
"source": [
387385
"m = ipyleaflet.leaflet.Map(\n",
@@ -422,9 +420,7 @@
422420
"cell_type": "code",
423421
"execution_count": null,
424422
"id": "56ba6e0c",
425-
"metadata": {
426-
"scrolled": false
427-
},
423+
"metadata": {},
428424
"outputs": [],
429425
"source": [
430426
"item = kahramanmaras_items[0]\n",
@@ -704,7 +700,7 @@
704700
"outputs": [],
705701
"source": [
706702
"pre_mosaic = httpx.post(\n",
707-
" f\"{raster_endpoint}/mosaic/register\",\n",
703+
" f\"{raster_endpoint}/searches/register\",\n",
708704
" data=json.dumps(\n",
709705
" {\n",
710706
" \"filter-lang\": 'cql2-json',\n",
@@ -739,7 +735,7 @@
739735
").json()\n",
740736
"\n",
741737
"post_mosaic = httpx.post(\n",
742-
" f\"{raster_endpoint}/mosaic/register\",\n",
738+
" f\"{raster_endpoint}/searches/register\",\n",
743739
" data=json.dumps(\n",
744740
" {\n",
745741
" \"filter-lang\": 'cql2-json',\n",
@@ -851,10 +847,10 @@
851847
"metadata": {},
852848
"outputs": [],
853849
"source": [
854-
"mosaic_id = pre_mosaic[\"searchid\"]\n",
850+
"search_id = pre_mosaic[\"id\"]\n",
855851
"\n",
856852
"tilejson_pre = httpx.get(\n",
857-
" f\"{raster_endpoint}/mosaic/{mosaic_id}/tilejson.json\",\n",
853+
" f\"{raster_endpoint}/searches/{search_id}/tilejson.json\",\n",
858854
" params = (\n",
859855
" (\"assets\", \"visual\"), # THIS IS MANDATORY\n",
860856
" (\"minzoom\", 12),\n",
@@ -900,10 +896,10 @@
900896
"metadata": {},
901897
"outputs": [],
902898
"source": [
903-
"mosaic_id = post_mosaic[\"searchid\"]\n",
899+
"search_id = post_mosaic[\"id\"]\n",
904900
"\n",
905901
"tilejson_post = httpx.get(\n",
906-
" f\"{raster_endpoint}/mosaic/{mosaic_id}/tilejson.json\",\n",
902+
" f\"{raster_endpoint}/searches/{search_id}/tilejson.json\",\n",
907903
" params = (\n",
908904
" (\"assets\", \"visual\"), # THIS IS MANDATORY\n",
909905
" (\"minzoom\", 12),\n",
@@ -1027,7 +1023,7 @@
10271023
"name": "python",
10281024
"nbconvert_exporter": "python",
10291025
"pygments_lexer": "ipython3",
1030-
"version": "3.11.7"
1026+
"version": "3.12.2"
10311027
}
10321028
},
10331029
"nbformat": 4,

docs/mkdocs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ repo_name: "developmentseed/eoAPI"
88
repo_url: "https://github.com/developmentseed/eoAPI"
99

1010
extra:
11+
analytics:
12+
provider: plausible
13+
domain: eoapi.dev
1114
social:
1215
- icon: "fontawesome/brands/github"
1316
link: "https://github.com/developmentseed"

docs/src/customization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ The **eoapi-devseed** repository (https://github.com/developmentseed/eoapi-devse
33
---
44
## eoapi.stac
55

6-
Built on [stac-fastapi.pgstac](https://github.com/stac-utils/stac-fastapi) application, adding a **`TiTilerExtension`** and a simple **`Search Viewer`**.
6+
Built on [stac-fastapi.pgstac](https://github.com/stac-utils/stac-fastapi-pgstac) application, adding a **`TiTilerExtension`** and a simple **`Search Viewer`**.
77

88
The service includes:
99

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<script defer data-domain="{{ config.extra.analytics.domain }}" src="https://plausible.io/js/script.outbound-links.js"></script>

0 commit comments

Comments
 (0)