geovista.pantry.textures#

Download, cache and load image textures.

ノート#

Added in version 0.5.0.

Functions#

black_marble(*[, location])

Get the NASA Black Marble 'night lights' texture.

blue_marble(*[, location])

Get the NASA Blue Marble Next Generation with topography and bathymetry texture.

checkerboard(*[, location])

Get the UV checker map 4K texture.

natural_earth_1(*[, location])

Get the 1:50m Natural Earth texture.

natural_earth_hypsometric(*[, location])

Get the 1:50m Natural Earth texture.

モジュール内容#

geovista.pantry.textures.black_marble(*, location=False)[ソース]#

Get the NASA Black Marble 'night lights' texture.

If the resource is not already available in the geovista geovista.cache.CACHE, then it will be downloaded from the geovista.cache.BASE_URL.

Parameters:
locationbool, default=False

Determine whether the absolute path filename to the texture resource location within the cache is returned, or the actual texture.

Returns:
str or Texture

The PyVista texture filename or the texture.

ノート

Added in version 0.6.0.

geovista.pantry.textures.blue_marble(*, location=False)[ソース]#

Get the NASA Blue Marble Next Generation with topography and bathymetry texture.

If the resource is not already available in the geovista geovista.cache.CACHE, then it will be downloaded from the geovista.cache.BASE_URL.

Parameters:
locationbool, default=False

Determine whether the absolute path filename to the texture resource location within the cache is returned, or the actual texture.

Returns:
str or Texture

The PyVista texture filename or the texture.

ノート

Added in version 0.1.0.

geovista.pantry.textures.checkerboard(*, location=False)[ソース]#

Get the UV checker map 4K texture.

If the resource is not already available in the geovista geovista.cache.CACHE, then it will be downloaded from the geovista.cache.BASE_URL.

Parameters:
locationbool, default=False

Determine whether the absolute path filename to the texture resource location within the cache is returned, or the actual texture.

Returns:
str or Texture

The PyVista texture filename or the texture.

ノート

Added in version 0.1.0.

geovista.pantry.textures.natural_earth_1(*, location=False)[ソース]#

Get the 1:50m Natural Earth texture.

This is the Natural Earth 1 with shaded relief and water texture.

This resource has been down-sampled to 65% of its original resolution.

If the resource is not already available in the geovista geovista.cache.CACHE, then it will be downloaded from the geovista.cache.BASE_URL.

Parameters:
locationbool, default=False

Determine whether the absolute path filename to the texture resource location within the cache is returned, or the actual texture.

Returns:
str or Texture

The PyVista texture filename or the texture.

ノート

Added in version 0.1.0.

geovista.pantry.textures.natural_earth_hypsometric(*, location=False)[ソース]#

Get the 1:50m Natural Earth texture.

This is the Natural Earth cross-blended hypsometric tints with shaded relief and water texture.

This resource has been down-sampled to 65% of its original resolution.

If the resource is not already available in the geovista geovista.cache.CACHE, then it will be downloaded from the geovista.cache.BASE_URL.

Parameters:
locationbool, default=False

Determine whether the absolute path filename to the texture resource location within the cache is returned, or the actual texture.

Returns:
str or Texture

The PyVista texture filename or the texture.

ノート

Added in version 0.1.0.