View Source GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefGeoMetadataProto (google_api_content_warehouse v0.3.0)

Geo-specific information about the entity. Next available tag: 34.

Attributes

  • address (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreAddressProto.t, default: nil) - Stores parent/container information containing city, province & country.
  • addressSynonyms (type: list(GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefGeoMetadataProtoAddressSynonym.t), default: nil) - This field is only provided through the online qref interface (QrefMetadata). This is a fairly simple extraction from the /geo/type/feature/address_proto_blob triple.
  • areaKm2 (type: float(), default: nil) - Area in km^2 of the feature if the feature has polygon. Only set by qrefmetadata.
  • bound (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreRectProto.t, default: nil) - The tight bounds of this feature. Note that these are different from the FeatureProto.bound field.
  • countryCode (type: String.t, default: nil) - Country code of the country of the entity. Only available in qref-metadata.
  • location (type: GoogleApi.ContentWarehouse.V1.Model.GeostorePointProto.t, default: nil) - The geographic location (center) and geometry of this entity. See geostore.FeatureProto for more details.
  • name (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreNameProto.t, default: nil) - The best name from Oyster for this entity. Is only included for some types of entities, and is a trimmed version of the proto (some fields are cleared).
  • oysterId (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t, default: nil) - The oyster id of the entity
  • stableIntegerCountryCode (type: integer(), default: nil) - Numerical country code, converted with i18n/identifiers/stableinternalregionconverter.h. It is the same as country_code, but it is available in the annotator model (and takes less space).
  • timezone (type: String.t, default: nil) - Timezone if the feature is contained inside one.
  • wpLocation (type: list(GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefWikipediaGeocode.t), default: nil) - Information about the geographic location (center) extracted from the wikijoins.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefGeoMetadataProto{
  address: GoogleApi.ContentWarehouse.V1.Model.GeostoreAddressProto.t() | nil,
  addressSynonyms:
    [
      GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefGeoMetadataProtoAddressSynonym.t()
    ]
    | nil,
  areaKm2: float() | nil,
  bound: GoogleApi.ContentWarehouse.V1.Model.GeostoreRectProto.t() | nil,
  countryCode: String.t() | nil,
  location: GoogleApi.ContentWarehouse.V1.Model.GeostorePointProto.t() | nil,
  name: GoogleApi.ContentWarehouse.V1.Model.GeostoreNameProto.t() | nil,
  oysterId:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t() | nil,
  stableIntegerCountryCode: integer() | nil,
  timezone: String.t() | nil,
  wpLocation:
    [GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefWikipediaGeocode.t()]
    | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.