Class: Aws::GeoRoutes::Types::IsolineMatchingOptions
- Inherits:
-
Struct
- Object
- Struct
- Aws::GeoRoutes::Types::IsolineMatchingOptions
- 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
-
#name_hint ⇒ String
The expected street name near the point.
-
#on_road_threshold ⇒ Integer
The maximum distance in meters that a point can be from a road while still being considered "on" that road.
-
#radius ⇒ Integer
The maximum distance in meters to search for roads to match to.
-
#strategy ⇒ String
Determines how points are matched to the road network.
Instance Attribute Details
#name_hint ⇒ String
The expected street name near the point. Helps disambiguate matching when multiple roads are within range.
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_threshold ⇒ Integer
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
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 |
#radius ⇒ Integer
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
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 |
#strategy ⇒ String
Determines how points are matched to the road network. MatchAny
finds the nearest viable road segment, while
MatchMostSignificantRoad prioritizes major roads.
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 |