GeostoreRelationProto

AI Overview😉

  • The potential purpose of this module is to establish and manage geographic and logical relationships between different features or entities in Google's database. This includes storing information about the relationships between features, such as their spatial overlap, territorial administrators, and country codes.
  • This module could impact search results by influencing how relevant or related search results are to the user's query. For example, if a user searches for a location, the relationships between that location and other nearby features could affect the order and relevance of the search results. Additionally, the module's ability to store and manage complex relationships between features could improve the accuracy and completeness of search results.
  • To be more favorable for this function, a website could optimize its content and structure to better reflect the geographic and logical relationships between its features or entities. This could include providing clear and consistent naming conventions, establishing clear hierarchies and categorizations, and using standardized formats for storing and representing geographic information. Additionally, a website could ensure that its content is accurately and completely represented in Google's database, which could involve providing high-quality and up-to-date information about its features and relationships.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.GeostoreRelationProto (google_api_content_warehouse v0.4.0)

This message is embedded within a FeatureProto, and represents a geographic or logical relationship of that feature to some other feature. Note that some relation types are there purely for the purpose of grouping together other relation types. They are noted as ABSTRACT in comments. Other relation types are no longer supported / in use. They are noted as DEPRECATED in comments (and marked with the standard deprecated option, too). Other relation types are reserved for future use or just not intended for use at all, for various internal reasons. They are noted as RESERVED in comments. WARNING: Updates to this proto within a FeatureProto's related_feature field handled by standalone pipelines and are NOT atomic with regard to updates to the features being referenced; we do not guarantee that a given MapFacts snapshot will be consistent between this field and the related features.

Attributes

  • metadata (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreFieldMetadataProto.t, default: nil) - Field-level metadata for this relation.
  • otherFeatureCountryCode (type: String.t, default: nil) - If and only if the other feature is of TYPE_COUNTRY, the 2-letter country code. This is the FLAG_COUNTRY_CODE_2 name of the country component.
  • otherFeatureId (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t, default: nil) - The feature ID of the feature to which we're relating. WARNING: the related feature does not necessarily have a bound that encloses this feature, so in a bucketing MapReduce, you may not be able to follow all relationships. Relations that use strong references are annotated above but you can also refer to IsRelationStrong() in geostore/base/public/relation.h.
  • otherFeatureName (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreNameProto.t), default: nil) - RESERVED
  • otherFeatureTerritorialAdministrator (type: String.t, default: nil) - If and only if the other feature is of TYPE_DISPUTED_AREA, the territorial administrator found in its GeopoliticalAttachmentProto.administered_by field, if any. Since this string is copied exactly, it may be a 2-letter country code or another type of descriptive string.
  • otherFeatureType (type: integer(), default: nil) - The type of the feature to which we're relating.
  • overlapFraction (type: number(), default: nil) - DEPRECATED If relation is exactly RELATION_OVERLAPS but not any of its subcategories, overlap_fraction contains an estimate of the fraction of the geometry of this feature that intersects with the other feature, ranging from 0.0 to 1.0. Note that this is a rough estimate based on cell coverings, and may not be very accurate. In particular, values of 0.0 and 1.0 are possible, even though in principle they should not be.
  • relation (type: String.t, default: nil) - The relationship of the feature that contains this RelationProto to the feature other_feature_id. Note the relation_is_reversed field below. Some relations imply weak references, other strong ones. Strong references are annotated above but you can also refer to IsRelationStrong() in geostore/base/public/relation.h.
  • relationIsReversed (type: boolean(), default: nil) - RESERVED
  • temporaryData (type: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t, default: nil) - A place for clients to attach arbitrary data to a relation. Never set in MapFacts.

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreRelationProto{
  metadata:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreFieldMetadataProto.t() | nil,
  otherFeatureCountryCode: String.t() | nil,
  otherFeatureId:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t() | nil,
  otherFeatureName:
    [GoogleApi.ContentWarehouse.V1.Model.GeostoreNameProto.t()] | nil,
  otherFeatureTerritorialAdministrator: String.t() | nil,
  otherFeatureType: integer() | nil,
  overlapFraction: number() | nil,
  relation: String.t() | nil,
  relationIsReversed: boolean() | nil,
  temporaryData:
    GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil
}

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.