View Source GoogleApi.ContentWarehouse.V1.Model.GeostoreInferredGeometryProto (google_api_content_warehouse v0.4.0)

Inferred geometry defines the geometry of a feature as the union or exclusion of the geometry of other features. For instance, the geometry of a timezone can be specified as the union of all the countries it applies to. In this scenario, the timezone will can be considered a "composite feature", while the countries are its "composing features". A composite feature must have a bidirectional reference between itself and all its composing features. A composite feature refers to its composing features via geometry_composition, while the composing features must refer back to the composing feature via defines_geometry_for. See: go/inferred-geometry and go/geo-schema:composite-geometry-editor for more details.

Attributes

  • definesGeometryFor (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t), default: nil) - Features whose geometry depends on this feature's geometry.
  • geometryComposition (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreGeometryComposition.t, default: nil) - Features whose geometry defines the geometry of this feature (i.e. "composing features").

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreInferredGeometryProto{
  definesGeometryFor:
    [GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t()] | nil,
  geometryComposition:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreGeometryComposition.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.