Class ShapefileLoaderSPI.ShapefileLoader
Object
ShapefileLoader
- All Implemented Interfaces:
FootprintLoader
- Enclosing class:
- ShapefileLoaderSPI
Loads footprints from a sidecar shepefile with a single record, will complain if more than one is found
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFootprintFiles
(String pathNoExtension) Returns the footprint file used to load the footprint, or none if there was no file involvedloadFootprint
(String pathNoExtension) Tries to load the sidecar geometry given the granule path without extension.
-
Constructor Details
-
ShapefileLoader
public ShapefileLoader()
-
-
Method Details
-
loadFootprint
Description copied from interface:FootprintLoader
Tries to load the sidecar geometry given the granule path without extension.- Specified by:
loadFootprint
in interfaceFootprintLoader
- 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
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 interfaceFootprintLoader
- Parameters:
pathNoExtension
- The base path plus the file name, but no extension- Returns:
-