Class: Aws::GeoRoutes::Types::RouteMatrixMatchingOptions

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

Overview

Matching options.

Constant Summary collapse

SENSITIVE =
[:name_hint]

Instance Attribute Summary collapse

Instance Attribute Details

#name_hintString

Attempts to match the provided position to a road similar to the provided name.

Returns:

  • (String)


3247
3248
3249
3250
3251
3252
3253
3254
# File 'lib/aws-sdk-georoutes/types.rb', line 3247

class RouteMatrixMatchingOptions < Struct.new(
  :name_hint,
  :on_road_threshold,
  :radius,
  :strategy)
  SENSITIVE = [:name_hint]
  include Aws::Structure
end

#on_road_thresholdInteger

If the distance to a highway/bridge/tunnel/sliproad is within threshold, the waypoint will be snapped to the highway/bridge/tunnel/sliproad.

Unit: ‘meters`

Returns:

  • (Integer)


3247
3248
3249
3250
3251
3252
3253
3254
# File 'lib/aws-sdk-georoutes/types.rb', line 3247

class RouteMatrixMatchingOptions < Struct.new(
  :name_hint,
  :on_road_threshold,
  :radius,
  :strategy)
  SENSITIVE = [:name_hint]
  include Aws::Structure
end

#radiusInteger

Considers all roads within the provided radius to match the provided destination to. The roads that are considered are determined by the provided Strategy.

Unit: ‘Meters`

Returns:

  • (Integer)


3247
3248
3249
3250
3251
3252
3253
3254
# File 'lib/aws-sdk-georoutes/types.rb', line 3247

class RouteMatrixMatchingOptions < Struct.new(
  :name_hint,
  :on_road_threshold,
  :radius,
  :strategy)
  SENSITIVE = [:name_hint]
  include Aws::Structure
end

#strategyString

Strategy that defines matching of the position onto the road network. MatchAny considers all roads possible, whereas MatchMostSignificantRoad matches to the most significant road.

Returns:

  • (String)


3247
3248
3249
3250
3251
3252
3253
3254
# File 'lib/aws-sdk-georoutes/types.rb', line 3247

class RouteMatrixMatchingOptions < Struct.new(
  :name_hint,
  :on_road_threshold,
  :radius,
  :strategy)
  SENSITIVE = [:name_hint]
  include Aws::Structure
end