GeostoreFeatureIdProto

AI Overview😉

  • The potential purpose of this module is to assign a unique identifier to each feature or location on Google Maps, allowing the algorithm to efficiently store and retrieve information about these features. This identifier, called a GeostoreFeatureIdProto, consists of a 64-bit "cell id" and a 64-bit fingerprint, which together provide a globally unique identifier.
  • This module could impact search results by allowing Google to quickly and accurately identify and retrieve information about specific locations, such as businesses or points of interest. This could improve the relevance and accuracy of search results, particularly for location-based searches. Additionally, the use of cell ids and fingerprints could enable Google to better understand the relationships between different locations and features, leading to more informed ranking decisions.
  • To be more favorable to this function, a website could focus on providing accurate and consistent location information, such as including latitude and longitude coordinates in their metadata. Additionally, websites could ensure that their location-based content is well-structured and easily crawlable, allowing Google to more easily understand and retrieve information about their locations. Furthermore, websites could consider using Google's own location-based services, such as Google My Business, to provide additional context and information about their locations.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

A globally unique identifier associated with each feature. We use 128-bit identifiers so that we have lots of bits available to distinguish between features. The feature id currently consists of a 64-bit "cell id" that sometimes corresponds to the approximate centroid of the feature, plus a 64-bit fingerprint of other identifying information. See more on each respective field in its comments. Feature ids are first assigned when the data is created in MapFacts. After initial creation of the feature, they are immutable. This means that the only properties that you should rely on are that they are unique, and that cell_ids often - but not always - preserve spatial locality. The degree of locality varies as the feature undergoes geometry changes, and should not in general be considered a firm guarantee of the location of any particular feature. In fact, some locationless features have randomized cell IDs! Consumers of FeatureProtos from Mapfacts are guaranteed that fprints in the id field of features will be globally unique. Using the fprint allows consumers who don't need the spatial benefit of cell ids to uniquely identify features in a 64-bit address space. This property is not guaranteed for other sources of FeatureProtos.

Attributes

  • cellId (type: String.t, default: nil) - The S2CellId corresponding to the approximate location of this feature as of when it was first created. This can be of variable accuracy, ranging from the exact centroid of the feature at creation, a very large S2 Cell, or even being completely randomized for locationless features. Cell ids have the nice property that they follow a space-filling curve over the surface of the earth. (See s2cellid.h for details.) WARNING: Clients should only use cell IDs to perform spatial locality optimizations. There is no strict guarantee that the cell ID of a feature is related to the current geometry of the feature in any way.
  • fprint (type: String.t, default: nil) - A 64-bit fingerprint used to identify features. Most clients should rely on MapFacts or OneRing to choose fingerprints. If creating new fprints, the strategy should be chosen so that the chance of collision is remote or non-existent, and the distribution should be reasonably uniform. For example, if the source data assigns unique ids to features, then a fingerprint of the provider name, version, and source id is sufficient.
  • temporaryData (type: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t, default: nil) - A place for clients to attach arbitrary data to a feature ID. 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.GeostoreFeatureIdProto{
  cellId: String.t() | nil,
  fprint: String.t() | 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.