Class: Aws::GeoRoutes::Types::SnapToRoadsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::GeoRoutes::Types::SnapToRoadsRequest
- Defined in:
- gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:key, :snap_radius]
Instance Attribute Summary collapse
-
#key ⇒ String
Optional: The API key to be used for authorization.
-
#snap_radius ⇒ Integer
The radius around the provided tracepoint that is considered for snapping.
-
#snapped_geometry_format ⇒ String
Chooses what the returned SnappedGeometry format should be.
-
#trace_points ⇒ Array<Types::RoadSnapTracePoint>
List of trace points to be snapped onto the road network.
-
#travel_mode ⇒ String
Specifies the mode of transport when calculating a route.
-
#travel_mode_options ⇒ Types::RoadSnapTravelModeOptions
Travel mode related options for the provided travel mode.
Instance Attribute Details
#key ⇒ String
Optional: The API key to be used for authorization. Either an API key or valid SigV4 signature must be provided when making a request.
6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 6813 class SnapToRoadsRequest < Struct.new( :key, :snapped_geometry_format, :snap_radius, :trace_points, :travel_mode, :travel_mode_options) SENSITIVE = [:key, :snap_radius] include Aws::Structure end |
#snap_radius ⇒ Integer
The radius around the provided tracepoint that is considered for snapping.
Unit: meters
Default value: 300
6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 6813 class SnapToRoadsRequest < Struct.new( :key, :snapped_geometry_format, :snap_radius, :trace_points, :travel_mode, :travel_mode_options) SENSITIVE = [:key, :snap_radius] include Aws::Structure end |
#snapped_geometry_format ⇒ String
Chooses what the returned SnappedGeometry format should be.
Default value: FlexiblePolyline
6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 6813 class SnapToRoadsRequest < Struct.new( :key, :snapped_geometry_format, :snap_radius, :trace_points, :travel_mode, :travel_mode_options) SENSITIVE = [:key, :snap_radius] include Aws::Structure end |
#trace_points ⇒ Array<Types::RoadSnapTracePoint>
List of trace points to be snapped onto the road network.
6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 6813 class SnapToRoadsRequest < Struct.new( :key, :snapped_geometry_format, :snap_radius, :trace_points, :travel_mode, :travel_mode_options) SENSITIVE = [:key, :snap_radius] include Aws::Structure end |
#travel_mode ⇒ String
Specifies the mode of transport when calculating a route. Used in estimating the speed of travel and road compatibility.
Default value: Car
6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 6813 class SnapToRoadsRequest < Struct.new( :key, :snapped_geometry_format, :snap_radius, :trace_points, :travel_mode, :travel_mode_options) SENSITIVE = [:key, :snap_radius] include Aws::Structure end |
#travel_mode_options ⇒ Types::RoadSnapTravelModeOptions
Travel mode related options for the provided travel mode.
6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 6813 class SnapToRoadsRequest < Struct.new( :key, :snapped_geometry_format, :snap_radius, :trace_points, :travel_mode, :travel_mode_options) SENSITIVE = [:key, :snap_radius] include Aws::Structure end |