|
2510 | 2510 | "\n",
|
2511 | 2511 | "API Response:\n",
|
2512 | 2512 | "\n",
|
2513 |
| - "The raster service will return a `id` hash (also called `mosaic id`), which we can use to construct a tile URL.\n", |
| 2513 | + "The raster service will return a `searchid` hash (also called `mosaic id`), which we can use to construct a tile URL.\n", |
2514 | 2514 | "\n",
|
2515 | 2515 | "To create a valid tile URL we will again need to pass an `assets` parameter to tell the tiler which assets we want to visualize. We can also set the min/max zooms limits to avoid underzooming (openning to many files) and overzooming.\n",
|
2516 | 2516 | "\n",
|
|
2519 | 2519 | },
|
2520 | 2520 | {
|
2521 | 2521 | "cell_type": "code",
|
2522 |
| - "execution_count": 31, |
| 2522 | + "execution_count": 32, |
2523 | 2523 | "id": "1638c679",
|
2524 | 2524 | "metadata": {},
|
2525 | 2525 | "outputs": [
|
|
2560 | 2560 | " <meta name="viewport" content="width=device-width,\n",
|
2561 | 2561 | " initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />\n",
|
2562 | 2562 | " <style>\n",
|
2563 |
| - " #map_418b6a46e9ececffbddfdf336c943a59 {\n", |
| 2563 | + " #map_bcd6fb41840ab96b448fe11bc6fec9c6 {\n", |
2564 | 2564 | " position: relative;\n",
|
2565 | 2565 | " width: 100.0%;\n",
|
2566 | 2566 | " height: 100.0%;\n",
|
|
2574 | 2574 | "<body>\n",
|
2575 | 2575 | " \n",
|
2576 | 2576 | " \n",
|
2577 |
| - " <div class="folium-map" id="map_418b6a46e9ececffbddfdf336c943a59" ></div>\n", |
| 2577 | + " <div class="folium-map" id="map_bcd6fb41840ab96b448fe11bc6fec9c6" ></div>\n", |
2578 | 2578 | " \n",
|
2579 | 2579 | "</body>\n",
|
2580 | 2580 | "<script>\n",
|
2581 | 2581 | " \n",
|
2582 | 2582 | " \n",
|
2583 |
| - " var map_418b6a46e9ececffbddfdf336c943a59 = L.map(\n", |
2584 |
| - " "map_418b6a46e9ececffbddfdf336c943a59",\n", |
| 2583 | + " var map_bcd6fb41840ab96b448fe11bc6fec9c6 = L.map(\n", |
| 2584 | + " "map_bcd6fb41840ab96b448fe11bc6fec9c6",\n", |
2585 | 2585 | " {\n",
|
2586 | 2586 | " center: [2.842170943040401e-14, -2.2737367544323206e-13],\n",
|
2587 | 2587 | " crs: L.CRS.EPSG3857,\n",
|
|
2595 | 2595 | "\n",
|
2596 | 2596 | " \n",
|
2597 | 2597 | " \n",
|
2598 |
| - " var tile_layer_975d9f63b10e3efea6dd689e29068019 = L.tileLayer(\n", |
| 2598 | + " var tile_layer_b8afe819fb2184848f36bdea33e1a0f5 = L.tileLayer(\n", |
2599 | 2599 | " "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",\n",
|
2600 | 2600 | " {"attribution": "Data by \\u0026copy; \\u003ca target=\\"_blank\\" href=\\"http://openstreetmap.org\\"\\u003eOpenStreetMap\\u003c/a\\u003e, under \\u003ca target=\\"_blank\\" href=\\"http://www.openstreetmap.org/copyright\\"\\u003eODbL\\u003c/a\\u003e.", "detectRetina": false, "maxNativeZoom": 18, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}\n",
|
2601 |
| - " ).addTo(map_418b6a46e9ececffbddfdf336c943a59);\n", |
| 2601 | + " ).addTo(map_bcd6fb41840ab96b448fe11bc6fec9c6);\n", |
2602 | 2602 | " \n",
|
2603 | 2603 | " \n",
|
2604 |
| - " var tile_layer_b0fb298cf85f665820f34e67295f393d = L.tileLayer(\n", |
| 2604 | + " var tile_layer_c500653b2ca5e7a1395828d8ceaf0058 = L.tileLayer(\n", |
2605 | 2605 | " "https://raster.eoapi.dev/searches/db5a7f4dc6d5763bf955e80903e6a78d/tiles/WebMercatorQuad/{z}/{x}/{y}?assets=visual",\n",
|
2606 | 2606 | " {"attribution": "Maxar", "detectRetina": false, "maxNativeZoom": 19, "maxZoom": 19, "minZoom": 12, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}\n",
|
2607 |
| - " ).addTo(map_418b6a46e9ececffbddfdf336c943a59);\n", |
| 2607 | + " ).addTo(map_bcd6fb41840ab96b448fe11bc6fec9c6);\n", |
2608 | 2608 | " \n",
|
2609 | 2609 | "</script>\n",
|
2610 | 2610 | "</html>\" style=\"position:absolute;width:100%;height:100%;left:0;top:0;border:none !important;\" allowfullscreen webkitallowfullscreen mozallowfullscreen></iframe></div></div>"
|
2611 | 2611 | ],
|
2612 | 2612 | "text/plain": [
|
2613 |
| - "<folium.folium.Map at 0x10fc00190>" |
| 2613 | + "<folium.folium.Map at 0x10f384940>" |
2614 | 2614 | ]
|
2615 | 2615 | },
|
2616 |
| - "execution_count": 31, |
| 2616 | + "execution_count": 32, |
2617 | 2617 | "metadata": {},
|
2618 | 2618 | "output_type": "execute_result"
|
2619 | 2619 | }
|
|
0 commit comments