Class WKTLoaderSPI.WKTLoader

Object
WKTLoader
All Implemented Interfaces:
FootprintLoader
Enclosing class:
WKTLoaderSPI

public static class WKTLoaderSPI.WKTLoader extends Object implements FootprintLoader
Loads WKT files
  • Constructor Details

    • WKTLoader

      public WKTLoader()
  • Method Details

    • loadFootprint

      public Geometry loadFootprint(String pathNoExtension) throws Exception
      Description copied from interface: FootprintLoader
      Tries to load the sidecar geometry given the granule path without extension.
      Specified by:
      loadFootprint in interface FootprintLoader
      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

      public List<File> getFootprintFiles(String pathNoExtension)
      Description copied from interface: FootprintLoader
      Returns the footprint file used to load the footprint, or none if there was no file involved
      Specified by:
      getFootprintFiles in interface FootprintLoader
      Parameters:
      pathNoExtension - The base path plus the file name, but no extension
      Returns: