Class SegmentSpecialSpeedSituation

java.lang.Object
com.here.sdk.mapdata.SegmentSpecialSpeedSituation

public final class SegmentSpecialSpeedSituation extends Object

A special speed situation indicates a speed that exists under special circumstances. It can be used to further refine the estimation of traversal times, route calculation and calculation of route guidance timing.

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

  • Field Details

    • specialSpeedType

      @NonNull public SpecialSpeedType specialSpeedType

      Represents the speed situation type.

    • speedLimitInMetersPerSecond

      public double speedLimitInMetersPerSecond

      Overrides normal speed limit for this situation.

      May be 0 to indicate no special speed limit in the case of special_speed_type = SPEED_BUMPS_PRESENT and special_speed_type = LANE_DEPENDENT. Speed limit in meter per seconds.

    • appliesDuring

      @NonNull public List<TimeRule> appliesDuring

      The times during which the condition applies. May be empty for all special_speed_type values except TIME_DEPENDENT and APPROXIMATE_SEASONAL_TIME.

  • Constructor Details

    • SegmentSpecialSpeedSituation

      public SegmentSpecialSpeedSituation(@NonNull SpecialSpeedType specialSpeedType, double speedLimitInMetersPerSecond, @NonNull List<TimeRule> appliesDuring)

      Creates a new instance with default values.

      Parameters:
      specialSpeedType -

      Represents the speed situation type.

      speedLimitInMetersPerSecond -

      Overrides normal speed limit for this situation.

      May be 0 to indicate no special speed limit in the case of special_speed_type = SPEED_BUMPS_PRESENT and special_speed_type = LANE_DEPENDENT. Speed limit in meter per seconds.

      appliesDuring -

      The times during which the condition applies. May be empty for all special_speed_type values except TIME_DEPENDENT and APPROXIMATE_SEASONAL_TIME.

  • Method Details