Interface ObservationEncoder<S,T>

Type Parameters:
S - the input type, the "Source"
T - the resulting type, the "Target"
All Superinterfaces:
Component<EncoderKey>, ConformanceClass, Encoder<S,T>, Keyed<EncoderKey>
All Known Implementing Classes:
UVFEncoder

public interface ObservationEncoder<S,T> extends ConformanceClass, Encoder<S,T>
Since:
1.0.0
  • Method Details

    • isObservationAndMeasurmentV20Type

      boolean isObservationAndMeasurmentV20Type()
      Indicator whether the ObservationEncoder of type or subtype Observation & Measurement 2.0
      Returns:
      Of type or not
    • shouldObservationsWithSameXBeMerged

      boolean shouldObservationsWithSameXBeMerged()
      Indicator whether the single observations with the same procedure, observableProperty and featureOfInterest should be merged to one observation.
      Returns:
      Merge or not
    • supportsResultStreamingForMergedValues

      boolean supportsResultStreamingForMergedValues()
    • getSupportedResponseFormats

      Set<String> getSupportedResponseFormats(String service, String version)
      Get the supported response formats for this ObservationEncoder and the specified service and version.
      Parameters:
      service - the service
      version - the version
      Returns:
      the response formats
    • getSupportedResponseFormats

      default Set<String> getSupportedResponseFormats(OwsServiceKey key)
    • getSupportedResponseFormatObservationTypes

      Map<String,Set<SupportedType>> getSupportedResponseFormatObservationTypes()
    • getProcedureEncodingNamspace

      default String getProcedureEncodingNamspace()
      Indicator whether the procedure is to be encoded
      Returns:
      Indicator