Class: Aws::GeoRoutes::Types::IsolineMatchingOptions

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

Overview

Controls how origin and destination points are matched to the road network when they don't fall exactly on a road. Matching options help ensure realistic routing by connecting points to appropriate roads.

Constant Summary collapse

SENSITIVE =
[:name_hint, :on_road_threshold, :radius]

Instance Attribute Summary collapse

Instance Attribute Details

#name_hintString

The expected street name near the point. Helps disambiguate matching when multiple roads are within range.

Returns:

  • (String)


1408
1409
1410
1411
1412
1413
1414
1415
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1408

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

#on_road_thresholdInteger

The maximum distance in meters that a point can be from a road while still being considered "on" that road. Points further than this distance require explicit matching.

Unit: meters

Returns:

  • (Integer)


1408
1409
1410
1411
1412
1413
1414
1415
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1408

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

#radiusInteger

The maximum distance in meters to search for roads to match to. Points with no roads within this radius will fail to match. The roads that are considered within this radius are determined by the specified Strategy

Unit: meters

Returns:

  • (Integer)


1408
1409
1410
1411
1412
1413
1414
1415
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1408

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

#strategyString

Determines how points are matched to the road network. MatchAny finds the nearest viable road segment, while MatchMostSignificantRoad prioritizes major roads.

Returns:

  • (String)


1408
1409
1410
1411
1412
1413
1414
1415
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 1408

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