GoogleApi.VectorTile.V1.Model.ExtrudedArea (google_api_vector_tile v0.5.0) View Source

Represents a height-extruded area: a 3D prism with a constant X-Y plane cross section. Used to represent extruded buildings. A single building may consist of several extruded areas. The min_z and max_z fields are scaled to the size of the tile. An extruded area with a max_z value of 4096 has the same height as the width of the tile that it is on.

Attributes

  • area (type: GoogleApi.VectorTile.V1.Model.Area.t, default: nil) - The area representing the footprint of the extruded area.
  • maxZ (type: integer(), default: nil) - The z-value in local tile coordinates where the extruded area ends.
  • minZ (type: integer(), default: nil) - The z-value in local tile coordinates where the extruded area begins. This is non-zero for extruded areas that begin off the ground. For example, a building with a skybridge may have an extruded area component with a non-zero min_z.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.VectorTile.V1.Model.ExtrudedArea{
  area: GoogleApi.VectorTile.V1.Model.Area.t() | nil,
  maxZ: integer() | nil,
  minZ: integer() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.