Interface CoverageJsonConverter

    • Method Detail

      • convertFeatureToJson

        void convertFeatureToJson​(OutputStream out,
                                  Feature<?> feature)
        Writes a Feature as a CoverageJSON document to the given OutputStream. Note that the OutputStream is *not* closed at the end.
        Parameters:
        out - The stream to write to.
        feature - The feature to serialize.
      • checkFeatureSupported

        void checkFeatureSupported​(Feature<?> feature)
        Checks whether the converter will be able to convert the given feature successfully.
        Parameters:
        feature - The feature to check.
        Throws:
        EdalException - If the feature cannot be converted.
      • convertFeaturesToJson

        void convertFeaturesToJson​(OutputStream out,
                                   Collection<? extends Feature<?>> features)
        Writes a collection of Features as a CoverageJSON document to the given OutputStream. Note that the OutputStream is *not* closed at the end.
        Parameters:
        out - The stream to write to.
        features - The features to serialize.
      • checkFeaturesSupported

        void checkFeaturesSupported​(Collection<? extends Feature<?>> features)
        Checks whether the converter will be able to convert the given features successfully.
        Parameters:
        features - The features to check.
        Throws:
        EdalException - If the features cannot be converted.