Module Values.RouteFerrySpanSource

Span computed for the requested SpanAdditionalFeatures.

Sourcetype nonrec t = {
  1. country : CountryCode3.t option;
    (*

    3 letter Country code corresponding to the Span.

    *)
  2. distance : DistanceMeters.t option;
    (*

    Distance of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties. Unit: meters

    *)
  3. duration : DurationSeconds.t option;
    (*

    Duration of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties. Unit: seconds

    *)
  4. geometryOffset : RouteFerrySpanGeometryOffsetInteger.t option;
    (*

    Offset in the leg geometry corresponding to the start of this span.

    *)
  5. names : LocalizedStringList.t option;
    (*

    Provides an array of names of the ferry span in available languages.

    *)
  6. region : RouteFerrySpanRegionString.t option;
    (*

    2-3 letter Region code corresponding to the Span. This is either a province or a state.

    *)
}
Sourceval make : ?country:??? -> ?distance:??? -> ?duration:??? -> ?geometryOffset:??? -> ?names:??? -> ?region:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of RouteFerrySpanGeometryOffsetInteger.t | `List of [> `Structure of (string * [> `String of LanguageTag.t ]) list ] list | `Long of DistanceMeters.t | `String of CountryCode3.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t