public class TheiaImageryProvider extends Sentinel2ImageryProvider
Sentinel2ImageryProvider.JSONFeatureIteratorDOWNLOAD_DIRECTORY| Constructor and Description |
|---|
TheiaImageryProvider() |
| Modifier and Type | Method and Description |
|---|---|
org.geotools.feature.simple.SimpleFeatureTypeBuilder |
bandFeatureTypeBuilder()
Returns the SimpleFeatureTypeBuilder which provides the Bands schema of the repository.
|
String[] |
collections()
Returns the available Product collection of this Provider.
|
String |
description()
Provider Description.
|
boolean |
downloadScene(org.opengis.feature.simple.SimpleFeature scene,
String workspaceDir,
String userIdent,
String password)
Download the scene from the Sentinel2 repository.
|
RasterBandData |
getCoverage(org.opengis.feature.simple.SimpleFeature band,
String workspaceDir)
Fetch the coverage of the specified band in the specified workspace directory
|
boolean |
isAvailable()
Returns
true if this provider is ready for ingest imagery. |
String |
providerName()
Provider Name (It should be unique).
|
org.geotools.feature.simple.SimpleFeatureTypeBuilder |
sceneFeatureTypeBuilder()
Returns the SimpleFeatureTypeBuilder which provides the Scene schema of the repository.
|
Iterator<org.opengis.feature.simple.SimpleFeature> |
searchScenes(File scenesDir,
String collection,
String platform,
String location,
org.locationtech.jts.geom.Envelope envelope,
Date startDate,
Date endDate,
int orbitNumber,
int relativeOrbitNumber)
Returns the Product/Scene collection that matches the specified criteria.
|
applyCustomCertsFile, copyLarge, getProvider, getProviderspublic String providerName()
Sentinel2ImageryProviderproviderName in class Sentinel2ImageryProviderpublic String description()
Sentinel2ImageryProviderdescription in class Sentinel2ImageryProviderpublic String[] collections()
Sentinel2ImageryProvidercollections in class Sentinel2ImageryProviderpublic boolean isAvailable()
Sentinel2ImageryProvidertrue if this provider is ready for ingest imagery.isAvailable in class Sentinel2ImageryProviderpublic org.geotools.feature.simple.SimpleFeatureTypeBuilder sceneFeatureTypeBuilder()
throws org.opengis.referencing.NoSuchAuthorityCodeException,
org.opengis.referencing.FactoryException
Sentinel2ImageryProvidersceneFeatureTypeBuilder in class Sentinel2ImageryProviderorg.opengis.referencing.NoSuchAuthorityCodeExceptionorg.opengis.referencing.FactoryExceptionpublic org.geotools.feature.simple.SimpleFeatureTypeBuilder bandFeatureTypeBuilder()
throws org.opengis.referencing.NoSuchAuthorityCodeException,
org.opengis.referencing.FactoryException
Sentinel2ImageryProviderbandFeatureTypeBuilder in class Sentinel2ImageryProviderorg.opengis.referencing.NoSuchAuthorityCodeExceptionorg.opengis.referencing.FactoryExceptionpublic Iterator<org.opengis.feature.simple.SimpleFeature> searchScenes(File scenesDir, String collection, String platform, String location, org.locationtech.jts.geom.Envelope envelope, Date startDate, Date endDate, int orbitNumber, int relativeOrbitNumber) throws IOException
Sentinel2ImageryProvidersearchScenes in class Sentinel2ImageryProviderIOExceptionpublic boolean downloadScene(org.opengis.feature.simple.SimpleFeature scene,
String workspaceDir,
String userIdent,
String password)
throws IOException
Sentinel2ImageryProviderdownloadScene in class Sentinel2ImageryProviderIOExceptionpublic RasterBandData getCoverage(org.opengis.feature.simple.SimpleFeature band, String workspaceDir) throws IOException
getCoverage in class Sentinel2ImageryProviderIOExceptionCopyright © 2013–2022. All rights reserved.