Class: Aws::GeoRoutes::Types::IsolineThresholds
- Inherits:
-
Struct
- Object
- Struct
- Aws::GeoRoutes::Types::IsolineThresholds
- 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
-
#distance ⇒ Array<Integer>
List of travel distances in meters.
-
#time ⇒ Array<Integer>
List of travel times in seconds.
Instance Attribute Details
#distance ⇒ Array<Integer>
List of travel distances in meters. For example, [1000, 2000, 5000] would calculate areas reachable within 1, 2, and 5 kilometers.
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 |
#time ⇒ Array<Integer>
List of travel times in seconds. For example, [300, 600, 900] would calculate areas reachable within 5, 10, and 15 minutes.
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 |