geovista.pantry.textures#

Download, cache and load image textures.

Notes#

Added in version 0.5.0.

Module Contents#

Functions#

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.blue_marble(location=False)[source]#

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.

Notes

Added in version 0.1.0.

geovista.pantry.textures.checkerboard(location=False)[source]#

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.

Notes

Added in version 0.1.0.

geovista.pantry.textures.natural_earth_1(location=False)[source]#

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.

Notes

Added in version 0.1.0.

geovista.pantry.textures.natural_earth_hypsometric(location=False)[source]#

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.

Notes

Added in version 0.1.0.