Class: Aws::LocationService::Types::CalculateRouteMatrixResponse

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

Overview

Returns the result of the route matrix calculation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#route_matrixArray<Array<Types::RouteMatrixEntry>>

The calculated route matrix containing the results for all pairs of DeparturePositions to DestinationPositions. Each row corresponds to one entry in DeparturePositions. Each entry in the row corresponds to the route from that entry in DeparturePositions to an entry in DestinationPositions.

Returns:



838
839
840
841
842
843
844
845
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 838

class CalculateRouteMatrixResponse < Struct.new(
  :route_matrix,
  :snapped_departure_positions,
  :snapped_destination_positions,
  :summary)
  SENSITIVE = []
  include Aws::Structure
end

#snapped_departure_positionsArray<Array<Float>>

For routes calculated using an Esri route calculator resource, departure positions are snapped to the closest road. For Esri route calculator resources, this returns the list of departure/origin positions used for calculation of the RouteMatrix.

Returns:

  • (Array<Array<Float>>)


838
839
840
841
842
843
844
845
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 838

class CalculateRouteMatrixResponse < Struct.new(
  :route_matrix,
  :snapped_departure_positions,
  :snapped_destination_positions,
  :summary)
  SENSITIVE = []
  include Aws::Structure
end

#snapped_destination_positionsArray<Array<Float>>

The list of destination positions for the route matrix used for calculation of the RouteMatrix.

Returns:

  • (Array<Array<Float>>)


838
839
840
841
842
843
844
845
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 838

class CalculateRouteMatrixResponse < Struct.new(
  :route_matrix,
  :snapped_departure_positions,
  :snapped_destination_positions,
  :summary)
  SENSITIVE = []
  include Aws::Structure
end

#summaryTypes::CalculateRouteMatrixSummary

Contains information about the route matrix, DataSource, DistanceUnit, RouteCount and ErrorCount.



838
839
840
841
842
843
844
845
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 838

class CalculateRouteMatrixResponse < Struct.new(
  :route_matrix,
  :snapped_departure_positions,
  :snapped_destination_positions,
  :summary)
  SENSITIVE = []
  include Aws::Structure
end