diff --git a/404.html b/404.html index 9dca808644..783cfd60a5 100644 --- a/404.html +++ b/404.html @@ -16,7 +16,7 @@ - + @@ -268,6 +268,7 @@ Home + @@ -288,6 +289,7 @@ Book + @@ -308,6 +310,7 @@ Installation + @@ -328,6 +331,7 @@ Get Started + @@ -348,6 +352,7 @@ Usage + @@ -368,6 +373,7 @@ Cheat Sheet + @@ -388,6 +394,7 @@ Tutorials + @@ -408,6 +415,7 @@ Courses + @@ -428,6 +436,7 @@ Contributing + @@ -448,6 +457,7 @@ Citations + @@ -468,6 +478,7 @@ FAQ + @@ -488,6 +499,7 @@ Changelog + @@ -508,6 +520,7 @@ YouTube Channel + @@ -528,6 +541,7 @@ Report Issues + @@ -558,6 +572,7 @@ API Reference + @@ -583,6 +598,7 @@ ai module + @@ -604,6 +620,7 @@ basemaps module + @@ -625,6 +642,7 @@ cartoee module + @@ -646,6 +664,7 @@ chart module + @@ -667,6 +686,7 @@ colormaps module + @@ -688,6 +708,7 @@ common module + @@ -709,6 +730,7 @@ conversion module + @@ -730,6 +752,7 @@ core module + @@ -751,6 +774,7 @@ coreutils module + @@ -772,6 +796,7 @@ datasets module + @@ -793,6 +818,7 @@ deck module + @@ -814,6 +840,7 @@ ee_tile_layers module + @@ -835,6 +862,7 @@ examples module + @@ -856,6 +884,7 @@ foliumap module + @@ -877,6 +906,7 @@ geemap module + @@ -898,6 +928,7 @@ kepler module + @@ -919,6 +950,7 @@ legends module + @@ -940,6 +972,7 @@ map_widgets module + @@ -961,6 +994,7 @@ maplibregl module + @@ -982,6 +1016,7 @@ ml module + @@ -1003,6 +1038,7 @@ osm module + @@ -1024,6 +1060,7 @@ plot module + @@ -1045,6 +1082,7 @@ plotlymap module + @@ -1066,6 +1104,7 @@ report module + @@ -1087,6 +1126,7 @@ timelapse module + @@ -1108,6 +1148,7 @@ toolbar module + @@ -1146,6 +1187,7 @@ Workshops + @@ -1171,6 +1213,7 @@ GeoPython 2021 + @@ -1192,6 +1235,7 @@ GEE Workshop 2021 + @@ -1213,6 +1257,7 @@ SRM Workshop 2022 + @@ -1234,6 +1279,7 @@ Crop Mapping 2022 + @@ -1255,6 +1301,7 @@ Japan 2022 + @@ -1276,6 +1323,7 @@ GEE Workshop 2022 Part1 + @@ -1297,6 +1345,7 @@ GEE Workshop 2022 Part2 + @@ -1318,6 +1367,7 @@ AmericaView 2023 + @@ -1339,6 +1389,7 @@ SciPy 2023 + @@ -1360,6 +1411,7 @@ City Plus 2023 + @@ -1381,6 +1433,7 @@ G4G 2023 + @@ -1402,6 +1455,7 @@ NCSU 2023 + @@ -1423,6 +1477,7 @@ AGU 2023 + @@ -1444,6 +1499,7 @@ Alaska 2024 Part1 + @@ -1465,6 +1521,7 @@ Alaska 2024 Part2 + @@ -1486,6 +1543,7 @@ Alaska 2024 Part3 + @@ -1507,6 +1565,7 @@ GEE Workshop 2024 + @@ -1528,6 +1587,7 @@ TNGIC 2024 + @@ -1549,6 +1609,7 @@ IGIC 2024 + @@ -1570,6 +1631,7 @@ SciPy 2024 + @@ -1591,6 +1653,7 @@ SatMOC 2024 + @@ -1612,6 +1675,7 @@ GeoAI 2024 + @@ -1633,6 +1697,7 @@ Taiwan 2024 + @@ -1654,6 +1719,7 @@ FOSS4GNA 2024 + @@ -1675,6 +1741,7 @@ IPPN 2024 + @@ -1696,6 +1763,7 @@ HGAC 2024 + @@ -1717,6 +1785,7 @@ AGU 2024 + @@ -1755,6 +1824,7 @@ Notebooks + @@ -1780,6 +1850,7 @@ 00 ee auth colab + @@ -1801,6 +1872,7 @@ 00 geemap colab + @@ -1822,6 +1894,7 @@ 00 geemap key features + @@ -1843,6 +1916,7 @@ 01 geemap intro + @@ -1864,6 +1938,7 @@ 02 using basemaps + @@ -1885,6 +1960,7 @@ 03 inspector tool + @@ -1906,6 +1982,7 @@ 04 split panel map + @@ -1927,6 +2004,7 @@ 05 drawing tools + @@ -1948,6 +2026,7 @@ 06 marker cluster + @@ -1969,6 +2048,7 @@ 07 geojson + @@ -1990,6 +2070,7 @@ 08 ee js to ipynb + @@ -2011,6 +2092,7 @@ 09 plotting + @@ -2032,6 +2114,7 @@ 10 shapefiles + @@ -2053,6 +2136,7 @@ 11 export image + @@ -2074,6 +2158,7 @@ 12 zonal statistics + @@ -2095,6 +2180,7 @@ 13 zonal statistics by group + @@ -2116,6 +2202,7 @@ 14 legends + @@ -2137,6 +2224,7 @@ 15 convert js to py + @@ -2158,6 +2246,7 @@ 16 add animated text + @@ -2179,6 +2268,7 @@ 17 add colorbar to gif + @@ -2200,6 +2290,7 @@ 18 create landsat timelapse + @@ -2221,6 +2312,7 @@ 19 search places and datasets + @@ -2242,6 +2334,7 @@ 20 timeseries inspector + @@ -2263,6 +2356,7 @@ 21 export map to html png + @@ -2284,6 +2378,7 @@ 22 import scripts + @@ -2305,6 +2400,7 @@ 23 import assets + @@ -2326,6 +2422,7 @@ 24 publish maps + @@ -2347,6 +2444,7 @@ 25 load rasters + @@ -2368,6 +2466,7 @@ 26 heroku + @@ -2389,6 +2488,7 @@ 27 timelapse app + @@ -2410,6 +2510,7 @@ 28 voila + @@ -2431,6 +2532,7 @@ 29 pydeck + @@ -2452,6 +2554,7 @@ 30 image props stats + @@ -2473,6 +2576,7 @@ 31 unsupervised classification + @@ -2494,6 +2598,7 @@ 32 supervised classification + @@ -2515,6 +2620,7 @@ 33 accuracy assessment + @@ -2536,6 +2642,7 @@ 34 extract values + @@ -2557,6 +2664,7 @@ 35 geemap colab + @@ -2578,6 +2686,7 @@ 36 quality mosaic + @@ -2599,6 +2708,7 @@ 37 pydeck 3d + @@ -2620,6 +2730,7 @@ 38 cloud geotiff + @@ -2641,6 +2752,7 @@ 39 timelapse + @@ -2662,6 +2774,7 @@ 40 ipywidgets + @@ -2683,6 +2796,7 @@ 41 water app + @@ -2704,6 +2818,7 @@ 42 upload data + @@ -2725,6 +2840,7 @@ 43 extract values to points + @@ -2746,6 +2862,7 @@ 44 cog stac + @@ -2767,6 +2884,7 @@ 45 cog mosaic + @@ -2788,6 +2906,7 @@ 46 local rf training + @@ -2809,6 +2928,7 @@ 47 image thumbnails + @@ -2830,6 +2950,7 @@ 48 folium legend + @@ -2851,6 +2972,7 @@ 49 colorbar + @@ -2872,6 +2994,7 @@ 50 cartoee quickstart + @@ -2893,6 +3016,7 @@ 51 cartoee projections + @@ -2914,6 +3038,7 @@ 52 cartoee gif + @@ -2935,6 +3060,7 @@ 53 layer vis + @@ -2956,6 +3082,7 @@ 54 vector vis + @@ -2977,6 +3104,7 @@ 55 raster vis + @@ -2998,6 +3126,7 @@ 56 local data + @@ -3019,6 +3148,7 @@ 57 cartoee blend + @@ -3040,6 +3170,7 @@ 58 add vector + @@ -3061,6 +3192,7 @@ 59 whitebox + @@ -3082,6 +3214,7 @@ 60 colormaps + @@ -3103,6 +3236,7 @@ 61 cartoee scalebar + @@ -3124,6 +3258,7 @@ 62 time slider + @@ -3145,6 +3280,7 @@ 63 charts + @@ -3166,6 +3302,7 @@ 64 data catalog + @@ -3187,6 +3324,7 @@ 65 vector styling + @@ -3208,6 +3346,7 @@ 66 cartoee legend + @@ -3229,6 +3368,7 @@ 67 training samples + @@ -3250,6 +3390,7 @@ 68 netcdf to ee + @@ -3271,6 +3412,7 @@ 69 cartoee vector + @@ -3292,6 +3434,7 @@ 70 linked maps + @@ -3313,6 +3456,7 @@ 71 timelapse + @@ -3334,6 +3478,7 @@ 72 time slider gui + @@ -3355,6 +3500,7 @@ 73 transect + @@ -3376,6 +3522,7 @@ 74 csv to points + @@ -3397,6 +3544,7 @@ 75 sankee + @@ -3418,6 +3566,7 @@ 76 osm to ee + @@ -3439,6 +3588,7 @@ 77 planet imagery + @@ -3460,6 +3610,7 @@ 78 ts inspector + @@ -3481,6 +3632,7 @@ 79 chart histogram + @@ -3502,6 +3654,7 @@ 80 point layer + @@ -3523,6 +3676,7 @@ 81 goes timelapse + @@ -3544,6 +3698,7 @@ 82 contours + @@ -3565,6 +3720,7 @@ 83 local tile + @@ -3586,6 +3742,7 @@ 84 openstreetmap + @@ -3607,6 +3764,7 @@ 85 postgis + @@ -3628,6 +3786,7 @@ 86 image overlay + @@ -3649,6 +3808,7 @@ 87 add points from xy + @@ -3670,6 +3830,7 @@ 88 circle markers + @@ -3691,6 +3852,7 @@ 89 add labels + @@ -3712,6 +3874,7 @@ 90 naip timelapse + @@ -3733,6 +3896,7 @@ 91 planetary computer + @@ -3754,6 +3918,7 @@ 92 plotly + @@ -3775,6 +3940,7 @@ 93 cog inspector + @@ -3796,6 +3962,7 @@ 94 heremap + @@ -3817,6 +3984,7 @@ 95 create cog + @@ -3838,6 +4006,7 @@ 96 image chips + @@ -3859,6 +4028,7 @@ 97 join table + @@ -3880,6 +4050,7 @@ 98 timelapse fading + @@ -3901,6 +4072,7 @@ 99 landsat 9 + @@ -3922,6 +4094,7 @@ 100 numpy to cog + @@ -3943,6 +4116,7 @@ 101 lidar + @@ -3964,6 +4138,7 @@ 102 blend hillshade + @@ -3985,6 +4160,7 @@ 103 split control + @@ -4006,6 +4182,7 @@ 104 clip image + @@ -4027,6 +4204,7 @@ 105 netcdf + @@ -4048,6 +4226,7 @@ 106 kepler gl + @@ -4069,6 +4248,7 @@ 107 pydeck + @@ -4090,6 +4270,7 @@ 108 image zonal stats + @@ -4111,6 +4292,7 @@ 109 coordinate grids + @@ -4132,6 +4314,7 @@ 110 choropleth + @@ -4153,6 +4336,7 @@ 111 image count + @@ -4174,6 +4358,7 @@ 112 cartoee basemap + @@ -4195,6 +4380,7 @@ 113 image area + @@ -4216,6 +4402,7 @@ 114 dynamic world + @@ -4237,6 +4424,7 @@ 115 land cover + @@ -4258,6 +4446,7 @@ 116 land cover timeseries + @@ -4279,6 +4468,7 @@ 117 fishnet + @@ -4300,6 +4490,7 @@ 118 download image + @@ -4321,6 +4512,7 @@ 119 plot raster + @@ -4342,6 +4534,7 @@ 120 javascript + @@ -4363,6 +4556,7 @@ 121 vector style + @@ -4384,6 +4578,7 @@ 122 lidar + @@ -4405,6 +4600,7 @@ 123 sentinel1 timelapse + @@ -4426,6 +4622,7 @@ 124 more datasets + @@ -4447,6 +4644,7 @@ 125 example code + @@ -4468,6 +4666,7 @@ 126 inspector + @@ -4489,6 +4688,7 @@ 127 create legend + @@ -4510,6 +4710,7 @@ 128 add widget + @@ -4531,6 +4732,7 @@ 129 vector to gif + @@ -4552,6 +4754,7 @@ 130 print objects + @@ -4573,6 +4776,7 @@ 131 arcgis + @@ -4594,6 +4798,7 @@ 132 folium colorbar + @@ -4615,6 +4820,7 @@ 133 gradio + @@ -4636,6 +4842,7 @@ 134 ee to geotiff + @@ -4657,6 +4864,7 @@ 135 segmentation + @@ -4678,6 +4886,7 @@ 136 download parallel + @@ -4699,6 +4908,7 @@ 137 create grid + @@ -4720,6 +4930,7 @@ 138 draw control + @@ -4741,6 +4952,7 @@ 139 layer to image + @@ -4762,6 +4974,7 @@ 140 ee to xarray + @@ -4783,6 +4996,7 @@ 141 image array viz + @@ -4804,6 +5018,7 @@ 142 google maps + @@ -4825,6 +5040,7 @@ 143 precipitation timelapse + @@ -4846,6 +5062,7 @@ 144 chart features + @@ -4867,6 +5084,7 @@ 145 chart image + @@ -4888,6 +5106,7 @@ 146 chart image collection + @@ -4909,6 +5128,7 @@ 147 chart array list + @@ -4930,6 +5150,7 @@ 148 chart data table + @@ -4951,6 +5172,7 @@ 149 gemini + @@ -4972,6 +5194,7 @@ 150 maplibre + @@ -4993,6 +5216,7 @@ 151 dataset explorer + @@ -5144,7 +5368,7 @@
geemap/ai.py
@dataclasses.dataclass
-class BBox:
+class BBox:
"""Class representing a lat/lon bounding box."""
west: float
@@ -6429,7 +6655,7 @@
east: float
north: float
- def is_global(self) -> bool:
+ def is_global(self) -> bool:
"""Checks if the bounding box is global.
Returns:
@@ -6443,7 +6669,7 @@
)
@classmethod
- def from_list(cls, bbox_list: List[float]) -> "BBox":
+ def from_list(cls, bbox_list: List[float]) -> "BBox":
"""Constructs a BBox from a list of four numbers [west, south, east, north].
Args:
@@ -6467,7 +6693,7 @@
)
return cls(bbox_list[0], bbox_list[1], bbox_list[2], bbox_list[3])
- def to_list(self) -> List[float]:
+ def to_list(self) -> List[float]:
"""Converts the BBox to a list of four numbers [west, south, east, north].
Returns:
@@ -6475,7 +6701,7 @@
"""
return [self.west, self.south, self.east, self.north]
- def intersects(self, query_bbox: "BBox") -> bool:
+ def intersects(self, query_bbox: "BBox") -> bool:
"""Checks if this bbox intersects with the query bbox.
Doesn't handle bboxes extending past the antimeridian.
@@ -6583,7 +6809,7 @@
Source code in geemap/ai.py
@classmethod
-def from_list(cls, bbox_list: List[float]) -> "BBox":
+def from_list(cls, bbox_list: List[float]) -> "BBox":
"""Constructs a BBox from a list of four numbers [west, south, east, north].
Args:
@@ -6665,7 +6891,7 @@
Source code in geemap/ai.py
- def intersects(self, query_bbox: "BBox") -> bool:
+ def intersects(self, query_bbox: "BBox") -> bool:
"""Checks if this bbox intersects with the query bbox.
Doesn't handle bboxes extending past the antimeridian.
@@ -6721,7 +6947,7 @@
Source code in geemap/ai.py
- def is_global(self) -> bool:
+ def is_global(self) -> bool:
"""Checks if the bounding box is global.
Returns:
@@ -6772,7 +6998,7 @@
Source code in geemap/ai.py
- def to_list(self) -> List[float]:
+ def to_list(self) -> List[float]:
"""Converts the BBox to a list of four numbers [west, south, east, north].
Returns:
@@ -6815,12 +7041,12 @@
Source code in geemap/ai.py
- class Catalog:
+ class Catalog:
"""Class containing all collections in the EE STAC catalog."""
collections: CollectionList
- def __init__(self, storage_client: storage.Client) -> None:
+ def __init__(self, storage_client: storage.Client) -> None:
"""Initializes the Catalog with collections loaded from Google Cloud Storage.
Args:
@@ -6828,7 +7054,7 @@
"""
self.collections = CollectionList(self._load_collections(storage_client))
- def get_collection(self, id: str) -> Collection:
+ def get_collection(self, id: str) -> Collection:
"""Returns the collection with the given id.
Args:
@@ -6861,7 +7087,7 @@
f"(Attempt {retry_state.attempt_number}/3)"
),
)
- def _read_file(self, file_blob: storage.Blob) -> Collection:
+ def _read_file(self, file_blob: storage.Blob) -> Collection:
"""Reads the contents of a file from the specified bucket.
Args:
@@ -6873,7 +7099,7 @@
file_contents = file_blob.download_as_string().decode()
return Collection(json.loads(file_contents))
- def _read_files(self, file_blobs: List[storage.Blob]) -> List[Collection]:
+ def _read_files(self, file_blobs: List[storage.Blob]) -> List[Collection]:
"""Processes files in parallel.
Args:
@@ -6891,7 +7117,7 @@
collections.append(future.result())
return collections
- def _load_collections(self, storage_client: storage.Client) -> Sequence[Collection]:
+ def _load_collections(self, storage_client: storage.Client) -> Sequence[Collection]:
"""Loads all EE STAC JSON files from GCS, with datetimes as objects.
Args:
@@ -6923,7 +7149,7 @@
# Returning a tuple for immutability.
return tuple(res)
- def _load_all_code_samples(
+ def _load_all_code_samples(
self, storage_client: storage.Client
) -> Dict[str, Dict[str, str]]:
"""Loads js + py example scripts from GCS into dict keyed by dataset ID.
@@ -6958,7 +7184,7 @@
return code_samples_dict
- def _make_python_code_sample(self, js_code: str) -> str:
+ def _make_python_code_sample(self, js_code: str) -> str:
"""Converts EE JS code into python.
Args:
@@ -7032,7 +7258,7 @@
Source code in geemap/ai.py
- def __init__(self, storage_client: storage.Client) -> None:
+ def __init__(self, storage_client: storage.Client) -> None:
"""Initializes the Catalog with collections loaded from Google Cloud Storage.
Args:
@@ -7112,7 +7338,7 @@
Source code in geemap/ai.py
- def get_collection(self, id: str) -> Collection:
+ def get_collection(self, id: str) -> Collection:
"""Returns the collection with the given id.
Args:
@@ -7165,12 +7391,12 @@
Source code in geemap/ai.py
- class Collection:
+ class Collection:
"""A simple wrapper for a STAC Collection.."""
stac_json: dict[str, Any]
- def __init__(self, stac_json: Dict[str, Any]) -> None:
+ def __init__(self, stac_json: Dict[str, Any]) -> None:
"""Initializes the Collection.
Args:
@@ -7181,7 +7407,7 @@
# Set the STAC 'deprecated' field that we don't set in the jsonnet files
stac_json["deprecated"] = True
- def __getitem__(self, item: str) -> Any:
+ def __getitem__(self, item: str) -> Any:
"""Gets an item from the STAC JSON.
Args:
@@ -7192,7 +7418,7 @@
"""
return self.stac_json[item]
- def get(self, item: str, default: Optional[Any] = None) -> Optional[Any]:
+ def get(self, item: str, default: Optional[Any] = None) -> Optional[Any]:
"""Matches dict's get by returning None if there is no item.
Args:
@@ -7204,7 +7430,7 @@
"""
return self.stac_json.get(item, default)
- def public_id(self) -> str:
+ def public_id(self) -> str:
"""Gets the public ID of the collection.
Returns:
@@ -7212,7 +7438,7 @@
"""
return self["id"]
- def hyphen_id(self) -> str:
+ def hyphen_id(self) -> str:
"""Gets the hyphenated ID of the collection.
Returns:
@@ -7220,7 +7446,7 @@
"""
return self["id"].replace("/", "_")
- def get_dataset_type(self) -> str:
+ def get_dataset_type(self) -> str:
"""Gets the dataset type of the collection.
Returns:
@@ -7228,7 +7454,7 @@
"""
return self["gee:type"]
- def is_deprecated(self) -> bool:
+ def is_deprecated(self) -> bool:
"""Checks if the collection is deprecated or has a successor.
Returns:
@@ -7238,7 +7464,7 @@
logging.info("Skipping deprecated collection: %s", self.public_id())
return True
- def datetime_interval(
+ def datetime_interval(
self,
) -> Iterable[Tuple[datetime.datetime, Optional[datetime.datetime]]]:
"""Returns datetime objects representing temporal extents.
@@ -7263,7 +7489,7 @@
end_date = None
yield (start_date, end_date)
- def start(self) -> datetime.datetime:
+ def start(self) -> datetime.datetime:
"""Gets the start datetime of the collection.
Returns:
@@ -7271,7 +7497,7 @@
"""
return list(self.datetime_interval())[0][0]
- def start_str(self) -> str:
+ def start_str(self) -> str:
"""Gets the start datetime of the collection as a string.
Returns:
@@ -7281,7 +7507,7 @@
return ""
return self.start().strftime("%Y-%m-%d")
- def end(self) -> Optional[datetime.datetime]:
+ def end(self) -> Optional[datetime.datetime]:
"""Gets the end datetime of the collection.
Returns:
@@ -7289,7 +7515,7 @@
"""
return list(self.datetime_interval())[0][1]
- def end_str(self) -> str:
+ def end_str(self) -> str:
"""Gets the end datetime of the collection as a string.
Returns:
@@ -7299,7 +7525,7 @@
return ""
return self.end().strftime("%Y-%m-%d")
- def bbox_list(self) -> Sequence[BBox]:
+ def bbox_list(self) -> Sequence[BBox]:
"""Gets the bounding boxes of the collection.
Returns:
@@ -7312,7 +7538,7 @@
[BBox.from_list(x) for x in self.stac_json["extent"]["spatial"]["bbox"]]
)
- def bands(self) -> List[Dict[str, Any]]:
+ def bands(self) -> List[Dict[str, Any]]:
"""Gets the bands of the collection.
Returns:
@@ -7323,7 +7549,7 @@
return []
return summaries.get("eo:bands", [])
- def spatial_resolution_m(self) -> float:
+ def spatial_resolution_m(self) -> float:
"""Gets the spatial resolution of the collection in meters.
Returns:
@@ -7343,7 +7569,7 @@
return -1
- def temporal_resolution_str(self) -> str:
+ def temporal_resolution_str(self) -> str:
"""Gets the temporal resolution of the collection as a string.
Returns:
@@ -7354,7 +7580,7 @@
return ""
return f"{interval_dict['interval']} {interval_dict['unit']}"
- def python_code(self) -> str:
+ def python_code(self) -> str:
"""Gets the Python code sample for the collection.
Returns:
@@ -7366,7 +7592,7 @@
return code.get("py_code")
- def set_python_code(self, code: str) -> None:
+ def set_python_code(self, code: str) -> None:
"""Sets the Python code sample for the collection.
Args:
@@ -7377,7 +7603,7 @@
self.stac_json["code"]["py_code"] = code
- def set_js_code(self, code: str) -> None:
+ def set_js_code(self, code: str) -> None:
"""Sets the JavaScript code sample for the collection.
Args:
@@ -7388,7 +7614,7 @@
js_code = self.stac_json.get("code").get("js_code")
self.stac_json["code"] = {"js_code": "", "py_code": code}
- def image_preview_url(self) -> str:
+ def image_preview_url(self) -> str:
"""Gets the URL of the preview image for the collection.
Returns:
@@ -7406,7 +7632,7 @@
return link["href"]
raise ValueError(f"No preview image found for {id}")
- def catalog_url(self) -> str:
+ def catalog_url(self) -> str:
"""Gets the URL of the catalog for the collection.
Returns:
@@ -7492,7 +7718,7 @@
Source code in geemap/ai.py
- def __getitem__(self, item: str) -> Any:
+ def __getitem__(self, item: str) -> Any:
"""Gets an item from the STAC JSON.
Args:
@@ -7548,7 +7774,7 @@
Source code in geemap/ai.py
- def __init__(self, stac_json: Dict[str, Any]) -> None:
+ def __init__(self, stac_json: Dict[str, Any]) -> None:
"""Initializes the Collection.
Args:
@@ -7597,7 +7823,7 @@
Source code in geemap/ai.py
- def bands(self) -> List[Dict[str, Any]]:
+ def bands(self) -> List[Dict[str, Any]]:
"""Gets the bands of the collection.
Returns:
@@ -7646,7 +7872,7 @@
Source code in geemap/ai.py
- def bbox_list(self) -> Sequence[BBox]:
+ def bbox_list(self) -> Sequence[BBox]:
"""Gets the bounding boxes of the collection.
Returns:
@@ -7697,7 +7923,7 @@
Source code in geemap/ai.py
- def catalog_url(self) -> str:
+ def catalog_url(self) -> str:
"""Gets the URL of the catalog for the collection.
Returns:
@@ -7769,7 +7995,7 @@
Source code in geemap/ai.py
- def datetime_interval(
+ def datetime_interval(
self,
) -> Iterable[Tuple[datetime.datetime, Optional[datetime.datetime]]]:
"""Returns datetime objects representing temporal extents.
@@ -7832,7 +8058,7 @@
Source code in geemap/ai.py
- def end(self) -> Optional[datetime.datetime]:
+ def end(self) -> Optional[datetime.datetime]:
"""Gets the end datetime of the collection.
Returns:
@@ -7878,7 +8104,7 @@
Source code in geemap/ai.py
- def end_str(self) -> str:
+ def end_str(self) -> str:
"""Gets the end datetime of the collection as a string.
Returns:
@@ -7951,7 +8177,7 @@
Source code in geemap/ai.py
- def get(self, item: str, default: Optional[Any] = None) -> Optional[Any]:
+ def get(self, item: str, default: Optional[Any] = None) -> Optional[Any]:
"""Matches dict's get by returning None if there is no item.
Args:
@@ -8001,7 +8227,7 @@
Source code in geemap/ai.py
- def get_dataset_type(self) -> str:
+ def get_dataset_type(self) -> str:
"""Gets the dataset type of the collection.
Returns:
@@ -8047,7 +8273,7 @@
Source code in geemap/ai.py
- def hyphen_id(self) -> str:
+ def hyphen_id(self) -> str:
"""Gets the hyphenated ID of the collection.
Returns:
@@ -8108,7 +8334,7 @@
Source code in geemap/ai.py
- def image_preview_url(self) -> str:
+ def image_preview_url(self) -> str:
"""Gets the URL of the preview image for the collection.
Returns:
@@ -8164,7 +8390,7 @@
Source code in geemap/ai.py
- def is_deprecated(self) -> bool:
+ def is_deprecated(self) -> bool:
"""Checks if the collection is deprecated or has a successor.
Returns:
@@ -8212,7 +8438,7 @@
Source code in geemap/ai.py
- def public_id(self) -> str:
+ def public_id(self) -> str:
"""Gets the public ID of the collection.
Returns:
@@ -8258,7 +8484,7 @@
Source code in geemap/ai.py
- def python_code(self) -> str:
+ def python_code(self) -> str:
"""Gets the Python code sample for the collection.
Returns:
@@ -8312,7 +8538,7 @@
Source code in geemap/ai.py
- def set_js_code(self, code: str) -> None:
+ def set_js_code(self, code: str) -> None:
"""Sets the JavaScript code sample for the collection.
Args:
@@ -8365,7 +8591,7 @@
Source code in geemap/ai.py
- def set_python_code(self, code: str) -> None:
+ def set_python_code(self, code: str) -> None:
"""Sets the Python code sample for the collection.
Args:
@@ -8414,7 +8640,7 @@
Source code in geemap/ai.py
- def spatial_resolution_m(self) -> float:
+ def spatial_resolution_m(self) -> float:
"""Gets the spatial resolution of the collection in meters.
Returns:
@@ -8472,7 +8698,7 @@
Source code in geemap/ai.py
- def start(self) -> datetime.datetime:
+ def start(self) -> datetime.datetime:
"""Gets the start datetime of the collection.
Returns:
@@ -8518,7 +8744,7 @@
Source code in geemap/ai.py
- def start_str(self) -> str:
+