Class SnapToRoadOptions

java.lang.Object
com.cercalia.sdk.model.snaptoroad.SnapToRoadOptions

public final class SnapToRoadOptions extends Object
Options for snap-to-road map matching requests.
  • Method Details

    • getWeight

      @Nullable public @Nullable SnapToRoadOptions.Weight getWeight()
      Returns:
      Weight type.
    • getNet

      @Nullable public @Nullable String getNet()
      Returns:
      Network code.
    • getGeometrySrs

      @Nullable public @Nullable String getGeometrySrs()
      Returns:
      Geometry SRS.
    • getGeometryTolerance

      @Nullable public @Nullable Integer getGeometryTolerance()
      Returns:
      Geometry tolerance.
    • getPoints

      @Nullable public @Nullable Boolean getPoints()
      Returns:
      True to include points.
    • getSpeeding

      @Nullable public @Nullable Boolean getSpeeding()
      Returns:
      True if speeding detection enabled.
    • getSpeedTolerance

      @Nullable public @Nullable Integer getSpeedTolerance()
      Returns:
      Speed tolerance.
    • getOnlyTrack

      @Nullable public @Nullable Boolean getOnlyTrack()
      Returns:
      True for only track.
    • getMaxDirectionSearchDistance

      @Nullable public @Nullable Integer getMaxDirectionSearchDistance()
      Returns:
      Max direction search distance.
    • getMaxSearchDistance

      @Nullable public @Nullable Integer getMaxSearchDistance()
      Returns:
      Max search distance.
    • getFactor

      @Nullable public @Nullable Double getFactor()
      Returns:
      Factor.
    • builder

      @NotNull public static @NotNull SnapToRoadOptions.Builder builder()
      Returns:
      A new builder for SnapToRoadOptions.
    • defaults

      @NotNull public static @NotNull SnapToRoadOptions defaults()
      Returns:
      Default options.