examples module¶
get_ee_path(name)
¶
Get the Earth Engine asset ID of an example dataset.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
The name of the dataset, such as contents, countries, us_cities, us_states, china, CONUS_HU8, chn_admin_level0, chn_admin_level1, chn_admin_level2, chn_admin_line |
required |
Returns:
| Name | Type | Description |
|---|---|---|
str |
The Earth Engine asset ID of the dataset. |
Source code in geemap/examples/__init__.py
38 39 40 41 42 43 44 45 46 47 48 | |
get_links()
¶
Get a list of HTTP URLs to the example datasets.
Returns:
| Name | Type | Description |
|---|---|---|
list |
A list of HTTP URLs to the example datasets. |
Source code in geemap/examples/__init__.py
61 62 63 64 65 66 67 68 | |
get_names()
¶
Get a list of names of the example datasets.
Returns:
| Name | Type | Description |
|---|---|---|
list |
A list of names of the example datasets. |
Source code in geemap/examples/__init__.py
51 52 53 54 55 56 57 58 | |
get_path(name)
¶
Get the HTTP URL to an example dataset.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
The name of the dataset. |
required |
Raises:
| Type | Description |
|---|---|
ValueError
|
If the dataset name is not found. |
Returns:
| Name | Type | Description |
|---|---|---|
str |
The HTTP URL to the dataset. |
Source code in geemap/examples/__init__.py
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | |