Skip to content

examples module

leafmap.examples

Get a list of HTTP URLs to the example datasets.

Returns:

Name Type Description
list

A list of HTTP URLs to the example datasets.

get_names()

Get a list of names of the example datasets.

Returns:

Name Type Description
list

A list of names of the example datasets.

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.