google_api_vector_tile v0.2.0 GoogleApi.VectorTile.V1.Model.Relation View Source

Represents a relation to another feature in the tile. For example, a building might be occupied by a given POI. The related feature can be retrieved using the related feature index.

Attributes

  • relatedFeatureIndex (type: integer(), default: nil) - Zero-based index to look up the related feature from the list of features in the tile.
  • relationType (type: String.t, default: nil) - Relation type between the origin feature to the related feature.

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.Relation{
  relatedFeatureIndex: integer(),
  relationType: String.t()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.