Class RailwayCrossing

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

public final class RailwayCrossing extends Object

Identifies the presence and the location of railway corssings. Included in SegmentData only if SegmentDataLoaderOptions.loadRailwayCrossings is set to true.

  • Field Details

    • startOffsetInMeters

      public int startOffsetInMeters

      The start offset, in meters, from the beginning of the segment.

      If endOffsetInMeters = 0, then startOffsetInMeters approximately indicates a middle of a railway crossing. If endOffsetInMeters > 0, it means crossing consists of several rails, and startOffsetInMeters and endOffsetInMeters indicates starting and ending points of the crossing respectively. Default value is 0.

    • endOffsetInMeters

      public int endOffsetInMeters

      The end offset, in meters, from the beginning of the segment. Could be 0. See startOffsetInMeters description. Default value is 0.

    • railwayCrossingType

      @NonNull public RailwayCrossingType railwayCrossingType

      The type of barrier presented by the railway crossing.

  • Constructor Details

    • RailwayCrossing

      public RailwayCrossing(@NonNull RailwayCrossingType railwayCrossingType)

      Creates a new instance.

      Parameters:
      railwayCrossingType -

      The type of barrier presented by the railway crossing.