|
379 | 379 | "cell_type": "code",
|
380 | 380 | "execution_count": null,
|
381 | 381 | "id": "7f77306d",
|
382 |
| - "metadata": { |
383 |
| - "scrolled": false |
384 |
| - }, |
| 382 | + "metadata": {}, |
385 | 383 | "outputs": [],
|
386 | 384 | "source": [
|
387 | 385 | "m = ipyleaflet.leaflet.Map(\n",
|
|
422 | 420 | "cell_type": "code",
|
423 | 421 | "execution_count": null,
|
424 | 422 | "id": "56ba6e0c",
|
425 |
| - "metadata": { |
426 |
| - "scrolled": false |
427 |
| - }, |
| 423 | + "metadata": {}, |
428 | 424 | "outputs": [],
|
429 | 425 | "source": [
|
430 | 426 | "item = kahramanmaras_items[0]\n",
|
|
704 | 700 | "outputs": [],
|
705 | 701 | "source": [
|
706 | 702 | "pre_mosaic = httpx.post(\n",
|
707 |
| - " f\"{raster_endpoint}/mosaic/register\",\n", |
| 703 | + " f\"{raster_endpoint}/searches/register\",\n", |
708 | 704 | " data=json.dumps(\n",
|
709 | 705 | " {\n",
|
710 | 706 | " \"filter-lang\": 'cql2-json',\n",
|
|
739 | 735 | ").json()\n",
|
740 | 736 | "\n",
|
741 | 737 | "post_mosaic = httpx.post(\n",
|
742 |
| - " f\"{raster_endpoint}/mosaic/register\",\n", |
| 738 | + " f\"{raster_endpoint}/searches/register\",\n", |
743 | 739 | " data=json.dumps(\n",
|
744 | 740 | " {\n",
|
745 | 741 | " \"filter-lang\": 'cql2-json',\n",
|
|
851 | 847 | "metadata": {},
|
852 | 848 | "outputs": [],
|
853 | 849 | "source": [
|
854 |
| - "mosaic_id = pre_mosaic[\"searchid\"]\n", |
| 850 | + "search_id = pre_mosaic[\"id\"]\n", |
855 | 851 | "\n",
|
856 | 852 | "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", |
858 | 854 | " params = (\n",
|
859 | 855 | " (\"assets\", \"visual\"), # THIS IS MANDATORY\n",
|
860 | 856 | " (\"minzoom\", 12),\n",
|
|
900 | 896 | "metadata": {},
|
901 | 897 | "outputs": [],
|
902 | 898 | "source": [
|
903 |
| - "mosaic_id = post_mosaic[\"searchid\"]\n", |
| 899 | + "search_id = post_mosaic[\"id\"]\n", |
904 | 900 | "\n",
|
905 | 901 | "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", |
907 | 903 | " params = (\n",
|
908 | 904 | " (\"assets\", \"visual\"), # THIS IS MANDATORY\n",
|
909 | 905 | " (\"minzoom\", 12),\n",
|
|
1027 | 1023 | "name": "python",
|
1028 | 1024 | "nbconvert_exporter": "python",
|
1029 | 1025 | "pygments_lexer": "ipython3",
|
1030 |
| - "version": "3.11.7" |
| 1026 | + "version": "3.12.2" |
1031 | 1027 | }
|
1032 | 1028 | },
|
1033 | 1029 | "nbformat": 4,
|
|
0 commit comments