GeostoreSweepProto

AI Overview😉

  • The potential purpose of this module is to help Google Maps and Search understand the geometry of roads and intersections, allowing for more accurate rendering of maps and routing. It does this by creating a 2D polygon that connects two road segments at an intersection, taking into account the real width of the roads.
  • This module could impact search results by influencing the ranking of locations and businesses near intersections or with complex road geometries. For example, a business located near a busy intersection with multiple road segments may be more likely to appear in search results if its location is accurately represented by this module. Conversely, a business with an incorrectly represented location may be demoted in search results.
  • A website may change things to be more favorable for this function by ensuring that its location and surrounding road geometry are accurately represented on Google Maps and other platforms. This could involve claiming and verifying a business listing on Google My Business, ensuring that the business's location is accurately pinned on the map, and providing additional context about the business's location, such as photos and reviews.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

This protocol buffer represents the 2D polygon connecting two segments at an intersection. Collectively, sweep polygons represent intersections for real road width rendering. Notes: - Sweeps represent geometry between the end of one segment and the end of the other segment (modulo retraction values). - Sweeps are strongly referenced, meaning geometry is stored on both segments involved in the sweep. For example, in the diagram below, the sweep between A and B would be stored on both segment A and segment B. | B | v --A--> - Sweeps are not strictly stored on adjacent segments. Disconnected segments (e.g., segments separated by an intersection group) may also contain sweeps.

Attributes

  • otherSegmentFeatureId (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t, default: nil) - The segment feature connected to this segment via the sweep geometry.
  • polygon (type: GoogleApi.ContentWarehouse.V1.Model.GeostorePolygonProto.t, default: nil) - Polygonal geometry representing the area between this segment and the other segment.
  • sweepCurve (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreCurveConnectionProto.t, default: nil) - Describes parameters for generating the edge of this sweep that starts at edge_follows_segment_end_fraction. The other side of the sweep should be described on the sweep present on the sibling pair.
  • sweepToken (type: String.t, default: nil) - A token that can be used to identify the version of the data about this sweep.

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.GeostoreSweepProto{
  otherSegmentFeatureId:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t() | nil,
  polygon: GoogleApi.ContentWarehouse.V1.Model.GeostorePolygonProto.t() | nil,
  sweepCurve:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreCurveConnectionProto.t() | nil,
  sweepToken: String.t() | nil
}

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.