public class TheiaImageryProvider extends Sentinel2ImageryProvider
Sentinel2ImageryProvider.JSONFeatureIterator
DOWNLOAD_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, getProviders
public String providerName()
Sentinel2ImageryProvider
providerName
in class Sentinel2ImageryProvider
public String description()
Sentinel2ImageryProvider
description
in class Sentinel2ImageryProvider
public String[] collections()
Sentinel2ImageryProvider
collections
in class Sentinel2ImageryProvider
public boolean isAvailable()
Sentinel2ImageryProvider
true
if this provider is ready for ingest imagery.isAvailable
in class Sentinel2ImageryProvider
public org.geotools.feature.simple.SimpleFeatureTypeBuilder sceneFeatureTypeBuilder() throws org.opengis.referencing.NoSuchAuthorityCodeException, org.opengis.referencing.FactoryException
Sentinel2ImageryProvider
sceneFeatureTypeBuilder
in class Sentinel2ImageryProvider
org.opengis.referencing.NoSuchAuthorityCodeException
org.opengis.referencing.FactoryException
public org.geotools.feature.simple.SimpleFeatureTypeBuilder bandFeatureTypeBuilder() throws org.opengis.referencing.NoSuchAuthorityCodeException, org.opengis.referencing.FactoryException
Sentinel2ImageryProvider
bandFeatureTypeBuilder
in class Sentinel2ImageryProvider
org.opengis.referencing.NoSuchAuthorityCodeException
org.opengis.referencing.FactoryException
public 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
Sentinel2ImageryProvider
searchScenes
in class Sentinel2ImageryProvider
IOException
public boolean downloadScene(org.opengis.feature.simple.SimpleFeature scene, String workspaceDir, String userIdent, String password) throws IOException
Sentinel2ImageryProvider
downloadScene
in class Sentinel2ImageryProvider
IOException
public RasterBandData getCoverage(org.opengis.feature.simple.SimpleFeature band, String workspaceDir) throws IOException
getCoverage
in class Sentinel2ImageryProvider
IOException
Copyright © 2013–2022. All rights reserved.