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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


1457
1458
1459
1460
1461
1462
1463
1464
# File 'lib/aws-sdk-georoutes/types.rb', line 1457

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)


1457
1458
1459
1460
1461
1462
1463
1464
# File 'lib/aws-sdk-georoutes/types.rb', line 1457

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)


1457
1458
1459
1460
1461
1462
1463
1464
# File 'lib/aws-sdk-georoutes/types.rb', line 1457

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)


1457
1458
1459
1460
1461
1462
1463
1464
# File 'lib/aws-sdk-georoutes/types.rb', line 1457

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