Package | Description |
---|---|
org.esa.snap.core.dataio |
Contains the SNAP product I/O framework.
|
org.esa.snap.core.dataio.dimap |
This module provides a product reader and writer plug-in for the BEAM-DIMAP product format.
|
org.esa.snap.core.dataio.dimap.spi |
The classes of this package are public for the benefit of the implementation of other classes and the API may change
in future releases of the software.
|
org.esa.snap.core.dataio.geometry | |
org.esa.snap.core.dataio.rgb | |
org.esa.snap.core.datamodel |
Contains SNAP's central classes and interfaces used for an in-memory presentation
of remote sensing data products.
|
org.esa.snap.core.dataop.barithm | |
org.esa.snap.core.dataop.dem | |
org.esa.snap.core.gpf |
SNAP's Graph Processing Framework GPF used for developing and executing
raster data operators and graphs of such operators.
|
org.esa.snap.core.gpf.annotations |
Provides annotations for GPF
Operator implementations. |
org.esa.snap.core.gpf.common | |
org.esa.snap.core.gpf.common.support | |
org.esa.snap.core.gpf.descriptor | |
org.esa.snap.core.gpf.graph | |
org.esa.snap.core.gpf.pointop |
Provides special support for raster data operations that transforms each source pixel
into a corresponding target pixel at the same position.
|
org.esa.snap.core.image |
Provides frequently used JAI
OpImage implementations and the
ImageManager utility class. |
org.esa.snap.core.layer |
Provides frequently used
LayerType implementations. |
org.esa.snap.core.util |
Provides several utility classes used throughout SNAP.
|
Modifier and Type | Field and Description |
---|---|
protected Product |
AbstractProductBuilder.sourceProduct |
Modifier and Type | Method and Description |
---|---|
static Product |
ProductFlipper.createFlippedProduct(Product sourceProduct,
boolean sourceProductOwner,
int flipType,
String name,
String desc) |
static Product |
ProductFlipper.createFlippedProduct(Product sourceProduct,
int flipType,
String name,
String desc) |
static Product |
ProductSubsetBuilder.createProductSubset(Product sourceProduct,
boolean sourceProductOwner,
ProductSubsetDef subsetDef,
String name,
String desc) |
static Product |
ProductSubsetBuilder.createProductSubset(Product sourceProduct,
ProductSubsetDef subsetDef,
String name,
String desc) |
protected Product |
AbstractProductWriter.getSourceProduct()
Returns the source product to be written or
null if the writeProductNodes has not be
called so far. |
Product |
AbstractProductBuilder.getSourceProduct() |
static Product |
ProductIO.readProduct(File file)
Reads the data product specified by the given file.
|
static Product |
ProductIO.readProduct(File file,
String... formatNames)
Reads the data product specified by the given file.
|
static Product |
ProductIO.readProduct(String filePath)
Reads the data product specified by the given file path.
|
Product |
ProductReader.readProductNodes(Object input,
ProductSubsetDef subsetDef)
Reads a data product and returns a in-memory representation of it.
|
Product |
AbstractProductReader.readProductNodes(Object input,
ProductSubsetDef subsetDef)
Reads the nodes of a data product and returns an in-memory representation of it.
|
protected Product |
AbstractProductBuilder.readProductNodes(Product sourceProduct,
ProductSubsetDef subsetDef,
String name,
String desc) |
protected Product |
ProductSubsetBuilder.readProductNodesImpl()
Reads a data product and returns a in-memory representation of it.
|
protected Product |
ProductFlipper.readProductNodesImpl()
Reads a data product and returns a in-memory representation of it.
|
protected abstract Product |
AbstractProductReader.readProductNodesImpl()
Provides an implementation of the
readProductNodes interface method. |
protected abstract Product |
AbstractProductBuilder.readProductNodesImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
ProductSubsetBuilder.addBandsToProduct(Product product) |
protected void |
AbstractProductBuilder.addFlagCodingsToProduct(Product product) |
protected void |
ProductSubsetBuilder.addGeoCodingToProduct(Product product) |
protected void |
AbstractProductBuilder.addIndexCodingsToProduct(Product product) |
protected void |
AbstractProductBuilder.addMetadataToProduct(Product product) |
protected void |
ProductSubsetBuilder.addTiePointGridsToProduct(Product product) |
static void |
AbstractProductReader.configurePreferredTileSize(Product product) |
static Product |
ProductFlipper.createFlippedProduct(Product sourceProduct,
boolean sourceProductOwner,
int flipType,
String name,
String desc) |
static Product |
ProductFlipper.createFlippedProduct(Product sourceProduct,
int flipType,
String name,
String desc) |
static Product |
ProductSubsetBuilder.createProductSubset(Product sourceProduct,
boolean sourceProductOwner,
ProductSubsetDef subsetDef,
String name,
String desc) |
static Product |
ProductSubsetBuilder.createProductSubset(Product sourceProduct,
ProductSubsetDef subsetDef,
String name,
String desc) |
EncodeQualification |
ProductWriterPlugIn.getEncodeQualification(Product product)
Gets the encode qualification of this product writer plugin w.r.t. the given product.
|
protected Product |
AbstractProductBuilder.readProductNodes(Product sourceProduct,
ProductSubsetDef subsetDef,
String name,
String desc) |
static void |
ProductIO.writeProduct(Product product,
File file,
String formatName,
boolean incremental)
Writes a product with the specified format to the given file.
|
static void |
ProductIO.writeProduct(Product product,
File file,
String formatName,
boolean incremental,
ProgressMonitor pm)
Writes a product with the specified format to the given file.
|
static void |
ProductIO.writeProduct(Product product,
String filePath,
String formatName)
Writes a product with the specified format to the given file path.
|
static void |
ProductIO.writeProduct(Product product,
String filePath,
String formatName,
ProgressMonitor pm)
Writes a product with the specified format to the given file path.
|
void |
ProductWriter.writeProductNodes(Product product,
Object output)
Writes the in-memory representation of a data product.
|
void |
AbstractProductWriter.writeProductNodes(Product product,
Object output)
Writes the in-memory representation of a data product.
|
Modifier and Type | Method and Description |
---|---|
static Product |
DimapProductHelpers.createProduct(org.jdom.Document dom)
Creates a in-memory data product represenation from the given DOM (BEAM-DIMAP format).
|
Product |
DimapProductReader.getProduct() |
protected Product |
DimapProductReader.processProduct(Product existingProduct) |
protected Product |
DimapProductReader.readProductNodesImpl()
Provides an implementation of the
readProductNodes interface method. |
Modifier and Type | Method and Description |
---|---|
void |
DimapProductReader.bindProduct(Object input,
Product existingProduct) |
abstract void |
DimapProductReader.ReaderExtender.completeProductNodesReading(Product product) |
static GeoCoding[] |
DimapProductHelpers.createGeoCoding(org.jdom.Document dom,
Product product) |
static Map<Band,File> |
DimapProductHelpers.getBandDataFiles(org.jdom.Document dom,
Product product,
File inputDir)
Extract a
String object from the given dom which points to the data for the band with the given
name. |
EncodeQualification |
DimapProductWriterPlugIn.getEncodeQualification(Product product) |
abstract void |
DimapProductWriter.WriterExtender.intendToWriteDimapHeaderTo(File outputDir,
Product product)
Notification to do preparations relative to output directory.
|
protected Product |
DimapProductReader.processProduct(Product existingProduct) |
Constructor and Description |
---|
DimapHeaderWriter(Product product,
File file,
String dataDirectory) |
DimapHeaderWriter(Product product,
Writer writer,
String dataDirectory) |
Modifier and Type | Method and Description |
---|---|
Mask |
MaskPersistable.createObjectFromXml(org.jdom.Element element,
Product product) |
Object |
DimapPersistable.createObjectFromXml(org.jdom.Element element,
Product product) |
Modifier and Type | Method and Description |
---|---|
static VectorDataNode |
VectorDataNodeReader.read(String sourceName,
Reader reader,
Product product,
FeatureUtils.FeatureCrsProvider crsProvider,
VectorDataNodeReader.PlacemarkDescriptorProvider placemarkDescriptorProvider,
org.opengis.referencing.crs.CoordinateReferenceSystem modelCrs,
char delimiterChar,
boolean convertToVertices,
ProgressMonitor pm)
Reads a
VectorDataNode from the given input. |
static VectorDataNode |
VectorDataNodeReader.read(String sourceName,
Reader reader,
Product product,
FeatureUtils.FeatureCrsProvider crsProvider,
VectorDataNodeReader.PlacemarkDescriptorProvider placemarkDescriptorProvider,
org.opengis.referencing.crs.CoordinateReferenceSystem modelCrs,
char delimiterChar,
ProgressMonitor pm)
Reads a
VectorDataNode from the given input. |
Modifier and Type | Method and Description |
---|---|
protected Product |
ImageProductReader.readProductNodesImpl() |
Modifier and Type | Method and Description |
---|---|
Product |
Product.createSubset(ProductSubsetDef subsetDef,
String name,
String desc)
Creates a subset of this product.
|
Product |
Scene.getProduct() |
Product |
ProductNode.getProduct()
Returns the product to which this node belongs to.
|
Product |
ProductManager.Event.getProduct()
Retrieves a reference to the originating object, i.e. the one who fired the event.
|
Product |
ProductManager.getProduct(int index)
Gets the product at the given index.
|
Product |
ProductManager.getProduct(String name) |
Product |
ProductManager.getProductByDisplayName(String displayName) |
Product |
ProductManager.getProductByRefNo(int refNo) |
Product[] |
ProductManager.getProducts()
Returns an array of all products currently managed.
|
protected Product |
ProductNode.getProductSafe()
Returns safely the product to which this node belongs to.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ProductFilter.accept(Product product) |
void |
ProductManager.addProduct(Product product)
Adds the given product to this product manager if it does not already exists and sets it's reference number one
biger than the greatest reference number in this product manager.
|
static Point2D |
ImageGeometry.calculateEastingNorthing(Product sourceProduct,
org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs,
double referencePixelX,
double referencePixelY,
double pixelSizeX,
double pixelSizeY) |
static Rectangle |
ImageGeometry.calculateProductSize(Product sourceProduct,
org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs,
double pixelSizeX,
double pixelSizeY) |
boolean |
Mask.ImageType.canTransferMask(Mask mask,
Product product) |
boolean |
Mask.BandMathsType.canTransferMask(Mask mask,
Product product) |
boolean |
Mask.RangeType.canTransferMask(Mask mask,
Product product) |
boolean |
ProductManager.contains(Product product)
Tests whether the given product is contained in this list.
|
static ImageGeometry |
ImageGeometry.createCollocationTargetGeometry(Product targetProduct,
Product collocationProduct) |
static ImageGeometry |
ImageGeometry.createTargetGeometry(Product sourceProduct,
org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs,
Double pixelSizeX,
Double pixelSizeY,
Integer width,
Integer height,
Double orientation,
Double easting,
Double northing,
Double referencePixelX,
Double referencePixelY) |
static String[] |
PlacemarkNameFactory.createUniqueNameAndLabel(PlacemarkDescriptor placemarkDescriptor,
Product product) |
static RGBImageProfile |
RGBImageProfile.getCurrentProfile(Product product) |
PlacemarkGroup |
PlacemarkDescriptor.getPlacemarkGroup(Product product)
Deprecated.
|
PlacemarkGroup |
PinDescriptor.getPlacemarkGroup(Product product)
Deprecated.
|
PlacemarkGroup |
GcpDescriptor.getPlacemarkGroup(Product product)
Deprecated.
since 4.10
|
PlacemarkGroup |
AbstractPlacemarkDescriptor.getPlacemarkGroup(Product product) |
int |
ProductManager.getProductIndex(Product product) |
static long |
PixelGeoCoding.getRequiredMemory(Product product,
boolean usesValidMask)
Computes an estimation of the memory required to create an instance of this class for the given product.
|
boolean |
RGBImageProfile.isApplicableTo(Product product)
Tests whether this profile is applicable to the given product.
|
boolean |
Product.isCompatibleProduct(Product product,
float eps)
Checks whether or not the given product is compatible with this product.
|
boolean |
ProductManager.removeProduct(Product product)
Removes the given product from this product manager if it exists.
|
static void |
RGBImageProfile.storeRgbaExpressions(Product product,
String[] rgbaExpressions) |
static void |
RGBImageProfile.storeRgbaExpressions(Product product,
String[] rgbaExpressions,
String[] bandNames) |
boolean |
Product.transferGeoCodingTo(Product destProduct,
ProductSubsetDef subsetDef)
Transfers the geo-coding of this product instance to the
destProduct with respect to
the given subsetDef . |
Mask |
Mask.ImageType.transferMask(Mask mask,
Product product) |
Mask |
Mask.BandMathsType.transferMask(Mask mask,
Product product) |
Mask |
Mask.RangeType.transferMask(Mask mask,
Product product) |
void |
ProductVisitorAdapter.visit(Product product) |
void |
ProductVisitor.visit(Product product)
Visits a product.
|
Constructor and Description |
---|
Event(Product product) |
Modifier and Type | Method and Description |
---|---|
static boolean |
BandArithmetic.areRastersEqualInSize(Product[] products,
int defaultProductIndex,
String... expressions)
Determines whether all rasters which are referenced in the given expressions are compatible.
|
static boolean |
BandArithmetic.areRastersEqualInSize(Product product,
String... expressions)
Determines whether all rasters which are referenced in the given expressions are compatible.
|
static WritableNamespace |
BandArithmetic.createDefaultNamespace(Product[] products,
int contextProductIndex)
Creates a default namespace for the product(s) given in an array.
|
static WritableNamespace |
BandArithmetic.createDefaultNamespace(Product[] products,
int contextProductIndex,
ProductNamespacePrefixProvider prefixProvider)
Creates a default namespace for the product(s) given in an array.
|
void |
ProductNamespaceExtender.extendNamespace(Product product,
String namePrefix,
WritableNamespace namespace)
Extend the namespace by extra product symbols or functions.
|
String |
UncertaintyGenerator.generateUncertainty(Product product,
String relation,
String expression)
Generates the combined uncertainty for a given band maths expression.
|
String |
StandardUncertaintyGenerator.generateUncertainty(Product product,
String relation,
String expression) |
String |
RangeUncertaintyGenerator.generateUncertainty(Product product,
String relation,
String expression) |
String |
ProductNamespacePrefixProvider.getPrefix(Product product) |
static String |
BandArithmetic.getProductNodeNamePrefix(Product product)
Gets a symbol name prefix for the names of bands, tie point grids, flags, etc. of the given product.
|
static RasterDataNode[] |
BandArithmetic.getRefRasters(String expression,
Product... products)
Utility method which returns all raster data nodes referenced in the given
band math expressions.
|
static RasterDataNode[] |
BandArithmetic.getRefRasters(String expression,
Product[] products,
int contextProductIndex)
Utility method which returns all raster data nodes referenced in the given
band math expressions.
|
static String |
BandArithmetic.getValidMaskExpression(String expression,
Product[] products,
int contextProductIndex,
String validMaskExpression) |
static String |
BandArithmetic.getValidMaskExpression(String expression,
Product product,
String validMaskExpression) |
static Term |
BandArithmetic.parseExpression(String expression,
Product contextProduct)
Parses the given expression.
|
static Term |
BandArithmetic.parseExpression(String expression,
Product[] products,
int contextProductIndex)
Parses the given expression.
|
Modifier and Type | Field and Description |
---|---|
protected Product |
BaseElevationTile.product |
Modifier and Type | Method and Description |
---|---|
protected ElevationTile |
ElevationFile.createTile(Product product) |
Constructor and Description |
---|
BaseElevationTile(ElevationModel demModel,
Product product) |
Modifier and Type | Field and Description |
---|---|
static Map<String,Product> |
GPF.NO_SOURCES
An unmodifiable empty
Map . |
Modifier and Type | Method and Description |
---|---|
static Product |
GPF.createProduct(String operatorName,
Map<String,Object> parameters)
Creates a product by using the operator specified by the given name.
|
static Product |
GPF.createProduct(String operatorName,
Map<String,Object> parameters,
Map<String,Product> sourceProducts)
Creates a product by using the operator specified by the given name.
|
static Product |
GPF.createProduct(String operatorName,
Map<String,Object> parameters,
Map<String,Product> sourceProducts,
RenderingHints renderingHints)
Creates a product by using the operator specified by the given name.
|
static Product |
GPF.createProduct(String operatorName,
Map<String,Object> parameters,
Product... sourceProducts)
Creates a product by using the operator specified by the given name.
|
static Product |
GPF.createProduct(String operatorName,
Map<String,Object> parameters,
Product sourceProduct)
Creates a product by using the operator specified by the given name.
|
static Product |
GPF.createProduct(String operatorName,
Map<String,Object> parameters,
Product[] sourceProducts,
RenderingHints renderingHints)
Creates a product by using the operator specified by the given name.
|
static Product |
GPF.createProduct(String operatorName,
Map<String,Object> parameters,
Product sourceProduct,
RenderingHints renderingHints)
Creates a product by using the operator specified by the given name.
|
static Product |
GPF.createProduct(String operatorName,
Map<String,Object> parameters,
RenderingHints renderingHints)
Creates a product by using the operator specified by the given name.
|
Product |
GPF.createProductNS(String operatorName,
Map<String,Object> parameters,
Map<String,Product> sourceProducts,
RenderingHints renderingHints)
Creates a product by using the operator specified by the given name.
|
Product |
Operator.getSourceProduct()
Gets a single source product.
|
Product |
Operator.getSourceProduct(String id)
Gets the source product using the specified name.
|
Product[] |
Operator.getSourceProducts()
Gets the source products in the order they have been declared.
|
Product |
Operator.getTargetProduct()
Gets the target product for the operator.
|
Modifier and Type | Method and Description |
---|---|
protected OperatorException |
Operator.createMultiSizeException(Product product) |
static Product |
GPF.createProduct(String operatorName,
Map<String,Object> parameters,
Product... sourceProducts)
Creates a product by using the operator specified by the given name.
|
static Product |
GPF.createProduct(String operatorName,
Map<String,Object> parameters,
Product sourceProduct)
Creates a product by using the operator specified by the given name.
|
static Product |
GPF.createProduct(String operatorName,
Map<String,Object> parameters,
Product[] sourceProducts,
RenderingHints renderingHints)
Creates a product by using the operator specified by the given name.
|
static Product |
GPF.createProduct(String operatorName,
Map<String,Object> parameters,
Product sourceProduct,
RenderingHints renderingHints)
Creates a product by using the operator specified by the given name.
|
String |
Operator.getSourceProductId(Product product)
Gets the identifier for the given source product.
|
void |
Operator.setSourceProduct(Product sourceProduct)
Sets a single source product.
|
void |
Operator.setSourceProduct(String id,
Product product)
Sets a source product.
|
void |
Operator.setSourceProducts(Product... products)
Sets the source products.
|
void |
Operator.setTargetProduct(Product targetProduct)
Sets the target product for the operator.
|
static void |
GPF.writeProduct(Product product,
File file,
String formatName,
boolean clearCacheAfterRowWrite,
boolean incremental,
ProgressMonitor pm)
Writes a product with the specified format to the given file.
|
static void |
GPF.writeProduct(Product product,
File file,
String formatName,
boolean incremental,
ProgressMonitor pm)
Writes a product with the specified format to the given file.
|
Modifier and Type | Method and Description |
---|---|
Operator |
OperatorSpi.createOperator(Map<String,Object> parameters,
Map<String,Product> sourceProducts)
Creates an operator instance for the given source products and processing parameters.
|
Operator |
OperatorSpi.createOperator(Map<String,Object> parameters,
Map<String,Product> sourceProducts,
RenderingHints renderingHints)
Creates an operator instance for the given source products and processing parameters.
|
Operator |
GPF.createOperator(String operatorName,
Map<String,Object> parameters,
Map<String,Product> sourceProducts,
RenderingHints renderingHints)
Creates an operator instance by using the given operator (alias) name.
|
static Product |
GPF.createProduct(String operatorName,
Map<String,Object> parameters,
Map<String,Product> sourceProducts)
Creates a product by using the operator specified by the given name.
|
static Product |
GPF.createProduct(String operatorName,
Map<String,Object> parameters,
Map<String,Product> sourceProducts,
RenderingHints renderingHints)
Creates a product by using the operator specified by the given name.
|
Product |
GPF.createProductNS(String operatorName,
Map<String,Object> parameters,
Map<String,Product> sourceProducts,
RenderingHints renderingHints)
Creates a product by using the operator specified by the given name.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Product> |
ParameterDescriptorFactory.getSourceProductMap() |
Modifier and Type | Method and Description |
---|---|
static PropertyDescriptor |
ParameterDescriptorFactory.convert(ParameterDescriptor parameterDescriptor,
Map<String,Product> sourceProductMap) |
static PropertyContainer |
ParameterDescriptorFactory.createMapBackedOperatorPropertyContainer(String operatorName,
Map<String,Object> operatorParameters,
Map<String,Product> sourceProductMap) |
Constructor and Description |
---|
ParameterDescriptorFactory(Map<String,Product> sourceProductMap) |
Modifier and Type | Method and Description |
---|---|
static Rectangle |
SubsetOp.computePixelRegion(Product product,
com.vividsolutions.jts.geom.Geometry geoRegion,
int numBorderPixels)
Non-API (yet).
|
static Map<String,Object> |
MosaicOp.getOperatorParameters(Product product) |
static Band[] |
FlipOp.getSourceBands(Product sourceProduct,
String[] sourceBandNames,
boolean includeVirtualBands)
get the selected bands
|
static Band[] |
ConvertDataTypeOp.getSourceBands(Product sourceProduct,
String[] sourceBandNames,
boolean includeVirtualBands)
get the selected bands
|
Constructor and Description |
---|
JaiOp(Product sourceProduct,
String operationName,
HashMap<String,Object> operationParameters,
RenderingHints renderingHints) |
PassThroughOp(Product sourceProduct) |
WriteOp(Product sourceProduct,
File file,
String formatName) |
Modifier and Type | Method and Description |
---|---|
protected void |
ProductFlipperExt.addMetadataToProduct(Product product) |
Modifier and Type | Method and Description |
---|---|
Class<? extends Product> |
TargetProductDescriptor.getDataType() |
Class<? extends Product> |
SourceProductDescriptor.getDataType() |
Class<? extends Product> |
DefaultTargetProductDescriptor.getDataType() |
Class<? extends Product> |
DefaultSourceProductDescriptor.getDataType() |
Class<? extends Product> |
AnnotationTargetProductDescriptor.getDataType() |
Class<? extends Product> |
AnnotationSourceProductDescriptor.getDataType() |
Modifier and Type | Method and Description |
---|---|
static PropertySetDescriptor |
PropertySetDescriptorFactory.createForOperator(OperatorDescriptor operatorDescriptor,
Map<String,Product> sourceProductMap) |
Modifier and Type | Method and Description |
---|---|
Product[] |
GraphProcessor.executeGraph(GraphContext graphContext,
ProgressMonitor pm)
Executes the graph given by
GraphContext . |
Product[] |
GraphContext.getOutputProducts()
Returns an array containing the output products generated by this graph's output
nodes, i.e. nodes that are not input to other nodes.
|
Product |
NodeContext.getSourceProduct(String id) |
Product[] |
NodeContext.getSourceProducts() |
Product |
NodeContext.getTargetProduct() |
Modifier and Type | Method and Description |
---|---|
void |
NodeContext.addSourceProduct(String id,
Product sourceProduct) |
Modifier and Type | Method and Description |
---|---|
protected Product |
PointOperator.createTargetProduct()
Creates the target product instance.
|
Product |
ProductConfigurer.getSourceProduct() |
Product |
ProductConfigurer.getTargetProduct() |
Modifier and Type | Method and Description |
---|---|
void |
SourceSampleConfigurer.defineComputedSample(int index,
int dataType,
String expression,
Product... sourceProducts)
Defines an intermediate source sample computed from a band math expression.
|
void |
SourceSampleConfigurer.defineSample(int index,
String name,
Product product)
Defines a sample for a
RasterDataNode in the given product. |
void |
ProductConfigurer.setSourceProduct(Product sourceProduct) |
Modifier and Type | Method and Description |
---|---|
static VirtualBandOpImage.Builder |
VirtualBandOpImage.builder(String expression,
int contextSourceIndex,
Product... sources) |
static VirtualBandOpImage.Builder |
VirtualBandOpImage.builder(String expression,
Product source) |
static MultiLevelSource |
ColoredMaskImageMultiLevelSource.create(Product product,
Color color,
String expression,
boolean inverseMask,
AffineTransform i2mTransform) |
javax.media.jai.PlanarImage |
ImageManager.createColoredMaskImage(Product product,
String expression,
Color color,
boolean invertMask,
int level) |
static Dimension |
ImageManager.getPreferredTileSize(Product product) |
static Term |
VirtualBandOpImage.parseExpression(String expression,
int contextSourceIndex,
Product... sources) |
static Term |
VirtualBandOpImage.parseExpression(String expression,
Product source) |
Constructor and Description |
---|
ColoredMaskImageMultiLevelSource(MultiLevelModel model,
Product product,
Color color,
String expression,
boolean inverseMask) |
PlacemarkMaskOpImage(Product product,
PlacemarkDescriptor placemarkDescriptor,
int placemarkSize,
int width,
int height,
ResolutionLevel level) |
Modifier and Type | Method and Description |
---|---|
Product |
ProductLayerContext.getProduct()
Returns the product provided by this context.
|
Modifier and Type | Method and Description |
---|---|
Product |
DummyProductBuilder.create()
Creates a new test product.
|
static Product[] |
DummyProductBuilder.createTestProducts() |
Modifier and Type | Method and Description |
---|---|
static void |
ProductUtils.addElementToHistory(Product product,
MetadataElement elem)
Adds a given elem to the history of the given product.
|
static boolean |
ProductUtils.areRastersEqualInSize(Product product,
String... rasterNames)
This method checks whether the rasters given by their names all have the same width and height.
|
static boolean |
ProductUtils.canGetPixelPos(Product product)
Returns whether or not a product can return a pixel position from a given geographical position.
|
static org.geotools.feature.FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> |
FeatureUtils.clipFeatureCollectionToProductBounds(org.geotools.feature.FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> featureCollection,
Product product,
FeatureUtils.FeatureCrsProvider crsProvider,
ProgressMonitor pm) |
static Band |
ProductUtils.copyBand(String sourceBandName,
Product sourceProduct,
Product targetProduct,
boolean copySourceImage)
Copies the named band from the source product to the target product.
|
static Band |
ProductUtils.copyBand(String sourceBandName,
Product sourceProduct,
String targetBandName,
Product targetProduct,
boolean copySourceImage)
Copies the named band from the source product to the target product.
|
static void |
ProductUtils.copyBandsForGeomTransform(Product sourceProduct,
Product targetProduct,
boolean includeTiePointGrids,
double defaultNoDataValue,
Map<Band,RasterDataNode> targetToSourceMap)
Adds raster data nodes of a source product as bands to the given target product.
|
static void |
ProductUtils.copyBandsForGeomTransform(Product sourceProduct,
Product targetProduct,
double defaultNoDataValue,
Map<Band,RasterDataNode> addedRasterDataNodes)
Copies only the bands from source to target.
|
static void |
ProductUtils.copyFlagBands(Product sourceProduct,
Product targetProduct,
boolean copySourceImage)
Copies all bands which contain a flag-coding from the source product to the target product.
|
static FlagCoding |
ProductUtils.copyFlagCoding(FlagCoding sourceFlagCoding,
Product target)
Copies the given source flag coding to the target product.
|
static void |
ProductUtils.copyFlagCodings(Product source,
Product target)
Copies the flag codings from the source product to the target.
|
static void |
ProductUtils.copyGeoCoding(Product sourceProduct,
Product targetProduct)
Copies the geo-coding from the source product to target product.
|
static IndexCoding |
ProductUtils.copyIndexCoding(IndexCoding sourceIndexCoding,
Product target)
Copies the given source index coding to the target product
If it exists already, the method simply returns the existing instance.
|
static void |
ProductUtils.copyIndexCodings(Product source,
Product target)
Copies the index codings from the source product to the target.
|
static void |
ProductUtils.copyMasks(Product sourceProduct,
Product targetProduct)
Copies the
Mask s from the source product to the target product. |
static void |
ProductUtils.copyMetadata(Product source,
Product target)
Copies all metadata elements and attributes of the source product to the target product.
|
static void |
ProductUtils.copyOverlayMasks(Product sourceProduct,
Product targetProduct)
Copies the overlay
Mask s from the source product's raster data nodes to
the target product's raster data nodes. |
static void |
ProductUtils.copyPreferredTileSize(Product sourceProduct,
Product targetProduct)
Copies the source product's preferred tile size (if any) to the target product.
|
static void |
ProductUtils.copyProductNodes(Product sourceProduct,
Product targetProduct)
Copies all properties from source product to the target product.
|
static TiePointGrid |
ProductUtils.copyTiePointGrid(String gridName,
Product sourceProduct,
Product targetProduct)
Copies the named tie-point grid from the source product to the target product.
|
static void |
ProductUtils.copyTiePointGrids(Product sourceProduct,
Product targetProduct)
Copies all tie point grids from one product to another.
|
static void |
ProductUtils.copyVectorData(Product sourceProduct,
Product targetProduct) |
static GeoPos[] |
ProductUtils.createGeoBoundary(Product product,
int step)
Creates the geographical boundary of the given product and returns it as a list of geographical coordinates.
|
static GeoPos[] |
ProductUtils.createGeoBoundary(Product product,
Rectangle region,
int step)
Creates the geographical boundary of the given region within the given product and returns it as a list of
geographical coordinates.
|
static GeoPos[] |
ProductUtils.createGeoBoundary(Product product,
Rectangle region,
int step,
boolean usePixelCenter)
Creates the geographical boundary of the given region within the given product and returns it as a list of
geographical coordinates.
|
static GeneralPath[] |
ProductUtils.createGeoBoundaryPaths(Product product)
Converts the geographic boundary entire product into one, two or three shape objects.
|
static GeneralPath[] |
ProductUtils.createGeoBoundaryPaths(Product product,
Rectangle region,
int step)
Converts the geographic boundary of the region within the given product into one, two or three shape objects.
|
static GeneralPath[] |
ProductUtils.createGeoBoundaryPaths(Product product,
Rectangle region,
int step,
boolean usePixelCenter)
Converts the geographic boundary of the region within the given product into one, two or three shape objects.
|
static com.vividsolutions.jts.geom.Geometry |
FeatureUtils.createGeoBoundaryPolygon(Product product) |
static com.vividsolutions.jts.geom.Geometry |
FeatureCollectionClipper.createGeoBoundaryPolygon(Product product)
Deprecated.
since BEAM 4.10, use FeatureUtils instead
|
static GeoTIFFMetadata |
ProductUtils.createGeoTIFFMetadata(Product product) |
static PixelPos[] |
ProductUtils.createPixelBoundary(Product product,
Rectangle rect,
int step)
Creates a rectangular boundary expressed in pixel positions for the given source rectangle.
|
static PixelPos[] |
ProductUtils.createPixelBoundary(Product product,
Rectangle rect,
int step,
boolean usePixelCenter)
Creates a rectangular boundary expressed in pixel positions for the given source rectangle.
|
static String |
ProductUtils.findSuitableQuicklookBandName(Product product)
Finds the name of a band in the given product which is suitable to product a good quicklook.
|
static GeoPos |
ProductUtils.getCenterGeoPos(Product product) |
org.opengis.referencing.crs.CoordinateReferenceSystem |
FeatureUtils.FeatureCrsProvider.getFeatureCrs(Product product) |
static ProductData.UTC |
ProductUtils.getScanLineTime(Product product,
double y) |
static org.geotools.feature.FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> |
FeatureUtils.loadShapefileForProduct(File file,
Product product,
FeatureUtils.FeatureCrsProvider crsProvider,
ProgressMonitor pm) |
static String[] |
ProductUtils.removeInvalidExpressions(Product product)
Validates all the expressions contained in the given (output) product.
|
Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.