Class: Aws::GeoRoutes::Types::IsolineThresholds

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

Overview

Specifies the time or distance limits used to calculate reachable areas. You can provide up to five thresholds for a single type to generate multiple isolines in a single request. For example, you might request areas reachable within 5, 10, and 15 minutes, or within 1, 2, and 5 kilometers.

Constant Summary collapse

SENSITIVE =
[:distance, :time]

Instance Attribute Summary collapse

Instance Attribute Details

#distanceArray<Integer>

List of travel distances in meters. For example, [1000, 2000, 5000] would calculate areas reachable within 1, 2, and 5 kilometers.

Returns:

  • (Array<Integer>)


1601
1602
1603
1604
1605
1606
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1601

class IsolineThresholds < Struct.new(
  :distance,
  :time)
  SENSITIVE = [:distance, :time]
  include Aws::Structure
end

#timeArray<Integer>

List of travel times in seconds. For example, [300, 600, 900] would calculate areas reachable within 5, 10, and 15 minutes.

Returns:

  • (Array<Integer>)


1601
1602
1603
1604
1605
1606
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1601

class IsolineThresholds < Struct.new(
  :distance,
  :time)
  SENSITIVE = [:distance, :time]
  include Aws::Structure
end