Class: Aws::GeoPlaces::Types::Intersection

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb

Overview

All Intersections that are near the provided address.

Constant Summary collapse

SENSITIVE =
[:place_id, :title, :position, :distance, :route_distance, :map_view]

Instance Attribute Summary collapse

Instance Attribute Details

#access_pointsArray<Types::AccessPoint>

Position of the access point in World Geodetic System (WGS 84) format: [longitude, latitude].

Returns:



1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 1641

class Intersection < Struct.new(
  :place_id,
  :title,
  :address,
  :position,
  :distance,
  :route_distance,
  :map_view,
  :access_points)
  SENSITIVE = [:place_id, :title, :position, :distance, :route_distance, :map_view]
  include Aws::Structure
end

#addressTypes::Address

The place address.

Returns:



1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 1641

class Intersection < Struct.new(
  :place_id,
  :title,
  :address,
  :position,
  :distance,
  :route_distance,
  :map_view,
  :access_points)
  SENSITIVE = [:place_id, :title, :position, :distance, :route_distance, :map_view]
  include Aws::Structure
end

#distanceInteger

The distance in meters from the QueryPosition.

Returns:

  • (Integer)


1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 1641

class Intersection < Struct.new(
  :place_id,
  :title,
  :address,
  :position,
  :distance,
  :route_distance,
  :map_view,
  :access_points)
  SENSITIVE = [:place_id, :title, :position, :distance, :route_distance, :map_view]
  include Aws::Structure
end

#map_viewArray<Float>

The bounding box enclosing the geometric shape (area or line) that an individual result covers.

The bounding box formed is defined as a set of four coordinates: [{westward lng}, {southern lat}, {eastward lng}, {northern lat}]

Returns:

  • (Array<Float>)


1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 1641

class Intersection < Struct.new(
  :place_id,
  :title,
  :address,
  :position,
  :distance,
  :route_distance,
  :map_view,
  :access_points)
  SENSITIVE = [:place_id, :title, :position, :distance, :route_distance, :map_view]
  include Aws::Structure
end

#place_idString

The PlaceId of the place result.

Returns:

  • (String)


1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 1641

class Intersection < Struct.new(
  :place_id,
  :title,
  :address,
  :position,
  :distance,
  :route_distance,
  :map_view,
  :access_points)
  SENSITIVE = [:place_id, :title, :position, :distance, :route_distance, :map_view]
  include Aws::Structure
end

#positionArray<Float>

The position in World Geodetic System (WGS 84) format: [longitude, latitude].

Returns:

  • (Array<Float>)


1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 1641

class Intersection < Struct.new(
  :place_id,
  :title,
  :address,
  :position,
  :distance,
  :route_distance,
  :map_view,
  :access_points)
  SENSITIVE = [:place_id, :title, :position, :distance, :route_distance, :map_view]
  include Aws::Structure
end

#route_distanceInteger

The distance from the routing position of the nearby address to the street result.

Returns:

  • (Integer)


1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 1641

class Intersection < Struct.new(
  :place_id,
  :title,
  :address,
  :position,
  :distance,
  :route_distance,
  :map_view,
  :access_points)
  SENSITIVE = [:place_id, :title, :position, :distance, :route_distance, :map_view]
  include Aws::Structure
end

#titleString

The localized display name of this result item based on request parameter language.

Returns:

  • (String)


1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 1641

class Intersection < Struct.new(
  :place_id,
  :title,
  :address,
  :position,
  :distance,
  :route_distance,
  :map_view,
  :access_points)
  SENSITIVE = [:place_id, :title, :position, :distance, :route_distance, :map_view]
  include Aws::Structure
end