Interface FootprintLoader

All Known Implementing Classes:
ShapefileLoaderSPI.ShapefileLoader, WKBLoaderSPI.WKBLoader, WKTLoaderSPI.WKTLoader

public interface FootprintLoader
Helper that loads a sidecar footprint file in a certain format
Author:
Andrea Aime - GeoSolutions
  • Method Summary

    Modifier and Type
    Method
    Description
    default List<File>
    getFootprintFiles(String pathNoExtension)
    Returns the footprint file used to load the footprint, or none if there was no file involved
    loadFootprint(String pathNoExtension)
    Tries to load the sidecar geometry given the granule path without extension.
  • Method Details

    • loadFootprint

      Geometry loadFootprint(String pathNoExtension) throws Exception
      Tries to load the sidecar geometry given the granule path without extension.
      Returns:
      The footprint, or null if the file was not found
      Throws:
      Exception - In case the file was found, but there were issues loading the geometry
    • getFootprintFiles

      default List<File> getFootprintFiles(String pathNoExtension) throws IOException
      Returns the footprint file used to load the footprint, or none if there was no file involved
      Parameters:
      pathNoExtension - The base path plus the file name, but no extension
      Returns:
      Throws:
      IOException