public class SceneFeatureIterator extends Object implements org.geotools.data.simple.SimpleFeatureIterator
| Modifier and Type | Class and Description |
|---|---|
protected static class |
SceneFeatureIterator.BestCloudCoverComparator |
| Modifier and Type | Field and Description |
|---|---|
static String |
ACQUISITION_DATE_ATTRIBUTE_NAME |
protected static String |
AQUISITION_DATE_FORMAT |
static String |
CLOUD_COVER_ATTRIBUTE_NAME |
static String |
PATH_ATTRIBUTE_NAME |
static String |
PROCESSING_LEVEL_ATTRIBUTE_NAME |
static String |
PRODUCT_ID_ATTRIBUTE_NAME |
static String |
ROW_ATTRIBUTE_NAME |
protected static String[] |
SCENE_ATTRIBUTES |
static String |
SCENE_DOWNLOAD_ATTRIBUTE_NAME |
protected static String |
SCENES_TYPE_NAME |
static String |
SHAPE_ATTRIBUTE_NAME |
| Constructor and Description |
|---|
SceneFeatureIterator(boolean onlyScenesSinceLastRun,
boolean useCachedScenes,
boolean nBestScenesByPathRow,
int nBestScenes,
org.opengis.filter.Filter cqlFilter,
String workspaceDir) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static org.opengis.feature.simple.SimpleFeatureType |
createFeatureType() |
org.opengis.feature.simple.SimpleFeatureType |
getFeatureType() |
boolean |
hasNext() |
protected static Iterator<org.opengis.feature.simple.SimpleFeature> |
nBestScenes(org.geotools.data.simple.SimpleFeatureIterator iterator,
boolean byPathRow,
int n) |
org.opengis.feature.simple.SimpleFeature |
next() |
protected static final String SCENES_TYPE_NAME
public static final String SHAPE_ATTRIBUTE_NAME
public static final String ACQUISITION_DATE_ATTRIBUTE_NAME
public static final String CLOUD_COVER_ATTRIBUTE_NAME
public static final String PROCESSING_LEVEL_ATTRIBUTE_NAME
public static final String PATH_ATTRIBUTE_NAME
public static final String ROW_ATTRIBUTE_NAME
public static final String SCENE_DOWNLOAD_ATTRIBUTE_NAME
public static final String PRODUCT_ID_ATTRIBUTE_NAME
protected static final String[] SCENE_ATTRIBUTES
protected static String AQUISITION_DATE_FORMAT
public SceneFeatureIterator(boolean onlyScenesSinceLastRun,
boolean useCachedScenes,
boolean nBestScenesByPathRow,
int nBestScenes,
org.opengis.filter.Filter cqlFilter,
String workspaceDir)
throws MalformedURLException,
IOException
MalformedURLExceptionIOExceptionpublic static org.opengis.feature.simple.SimpleFeatureType createFeatureType()
protected static Iterator<org.opengis.feature.simple.SimpleFeature> nBestScenes(org.geotools.data.simple.SimpleFeatureIterator iterator, boolean byPathRow, int n)
public org.opengis.feature.simple.SimpleFeatureType getFeatureType()
public void close()
close in interface Closeableclose in interface AutoCloseableclose in interface org.geotools.feature.FeatureIterator<org.opengis.feature.simple.SimpleFeature>public boolean hasNext()
hasNext in interface org.geotools.feature.FeatureIterator<org.opengis.feature.simple.SimpleFeature>public org.opengis.feature.simple.SimpleFeature next()
throws NoSuchElementException
next in interface org.geotools.feature.FeatureIterator<org.opengis.feature.simple.SimpleFeature>NoSuchElementExceptionCopyright © 2013–2022. All rights reserved.