Interface FootprintLoader
-
- All Known Implementing Classes:
ShapefileLoaderSPI.ShapefileLoader,WKBLoaderSPI.WKBLoader,WKTLoaderSPI.WKTLoader
public interface FootprintLoaderHelper that loads a sidecar footprint file in a certain format- Author:
- Andrea Aime - GeoSolutions
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods 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 involvedGeometryloadFootprint(String pathNoExtension)Tries to load the sidecar geometry given the granule path without extension.
-
-
-
Method Detail
-
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
-
-