Skip to main content

publish_schemas

RasterStyle Objects

class RasterStyle(BaseModel)

An object describing a raster style.

Arguments:

  • BaseModel BaseModel - inherited from pydantic.

Attributes:

  • default str - default style name, names come from the raster-tiler cmaps.
  • styles list of str, optional - style names accessible for front end.
  • custom dict, optional - Not implemented

LayerMetadata Objects

class LayerMetadata(BaseModel)

Data class to set up Layer metadata in default layer situations

Arguments:

  • BaseModel BaseModel - inherited from pydantic.

Attributes:

  • description str, optional - layer description
  • style RasterStyle, optional - a raster style to use for publication