SNAP 11 deprecated classes and methods

This page lists all classes and methods that have been marked as deprecated and that will be removed. If possible, replacements or new concepts will be given.

 

snap-engine

com.bc.ceres.binding.PropertyDescriptor

getItemsInlined()getBooleanProperty("itemsInlined")

setItemsInlined(boolean inlined)setAttribute("itemsInlined", inlined)

 

com.bc.ceres.binio.internal.AbstractSequence

getSequenceType() → no replacement

 

com.bc.ceres.binio.SequenceData

getSequenceType() → no replacement

 

com.bc.ceres.binio.DataContext

getData(long position)createData(long position)

getData(CompoundType type, long position)createData(CompoundType type, long position)

 

com.bc.ceres.binio.CompoundData

getCompoundType()getType()

 

com.bc.ceres.binio.internal.AbstractCompound

getCompoundType()getType()

 

com.bc.ceres.glevel.support.FileMultiLevelSourceFactory

removed, use FileMultiLevelSource instead

 

com.bc.ceres.glevel.support.AbstractMultiLevelSource

getImageDimension(int width, int height, double scale)DefaultMultiLevelSource.getLevelImageBounds(Rectangle sourceBounds, double scale)

getImageRectangle(int minX, int minY, int width, int height, double scale)DefaultMultiLevelSource.getLevelImageBounds(Rectangle sourceBounds, double scale)

 

com.bc.ceres.grender.support.DefaultRendering

DefaultRendering(Graphics2D graphics, Viewport viewport) ->DefaultRendering(Viewport viewport, Graphics2D graphics)

 

com.bc.ceres.glayer.support.LayerUtils

getChildLayerIndex(Layer root, LayerFilter filter, SearchMode mode, int defaultIndex)getChildLayerIndex(Layer root, SearchMode mode, int defaultIndex, LayerFilter filter)

getChildLayer(Layer root, LayerFilter filter, SearchMode mode)getChildLayer(Layer root, SearchMode mode, LayerFilter filter)

 

com.bc.ceres.swing.binding.internal.TextFieldAdapter

use TextComponentAdapter directly

 

org.esa.snap.binning.support.BinningContextImpl

all constructors removed can be replaced with the full parametrized constructor

 

org.esa.snap.core.draw.AreaFigure

no replacement

 

org.esa.snap.core.draw.ShapeFigure

no replacement

 

org.esa.snap.core.draw.AbstractFigure

no replacement

 

org.esa.snap.core.draw.FigureChangeEvent

no replacement

 

org.esa.snap.core.draw.FigureChangeListener

no replacement

 

org.esa.snap.core.draw.FigureHandle

no replacement

 

org.esa.snap.core.draw.Figure

no replacement

 

org.esa.snap.core.draw.Drawable

no replacement

 

org.esa.snap.core.layer.AbstractFigureDomConverter

no replacement

 

org.esa.snap.core.dataio.ProductIO

getProductReaderForFile(File file)getProductReaderForInput(Object input)

 

org.esa.snap.core.jexp.impl.ExtMath

log10(final double x) → use java.lang.Math

 

org.esa.snap.core.util.BeamConstants

no replacement. Most constants are product specific and are duplicated in the appropriate reader implementation.

 

org.esa.snap.core.util.logging.BeamLogManager

getSystemLogger()SystemUtils.LOG

 

org.esa.snap.core.util.io.FileUtils

getFileNameFromPath(String path)getFilenameFromPath(String path)

 

org.esa.snap.core.util.ServiceFinder

searchClassPath(boolean value)setUseClassPath(boolean value)

 

org.esa.snap.core.util.ProductUtils

createGeoBoundary(Product product, int step)GeoUtils.createGeoBoundary(RasterDataNode raster, Rectangle region, int step)

createGeoBoundary(Product product, Rectangle region, int step)GeoUtils.createGeoBoundary(Product product, Rectangle region, int step, true)

createGeoBoundary(Product product, Rectangle region, int step, final boolean usePixelCenter)GeoUtils.createGeoBoundary(Product product, Rectangle region, int step, final boolean usePixelCenter)

createGeoBoundary(RasterDataNode rasterDataNode, Rectangle region, int step, final boolean usePixelCenter) -> GeoUtils.createGeoBoundary(RasterDataNode rasterDataNode, Rectangle region, int step, final boolean usePixelCenter)

createGeoBoundary(RasterDataNode raster, Rectangle region, int step)GeoUtils.createGeoBoundary(RasterDataNode raster, Rectangle region, int step)

createGeoBoundaryPaths(Product product)GeoUtils.createGeoBoundaryPaths(Product product)

createGeoBoundaryPaths(RasterDataNode rasterDataNode)GeoUtils.createGeoBoundaryPaths(RasterDataNode rasterDataNode)

createGeoBoundaryPaths(Product product, Rectangle region, int step)GeoUtils.createGeoBoundaryPaths(Product product, Rectangle region, int step, true)

createGeoBoundaryPaths(RasterDataNode rasterDataNode, Rectangle region, int step)GeoUtils.createGeoBoundaryPaths(RasterDataNode rasterDataNode, Rectangle region, int step, false)

createGeoBoundaryPaths(Product product, Rectangle region, int step, final boolean usePixelCenter)GeoUtils.createGeoBoundaryPaths(Product product, Rectangle region, int step, final boolean usePixelCenter)

createGeoBoundaryPaths(RasterDataNode rasterDataNode, Rectangle region, int step, final boolean usePixelCenter)GeoUtils.createGeoBoundaryPaths(RasterDataNode rasterDataNode, Rectangle region, int step, final boolean usePixelCenter)

createPixelBoundary(Product product, Rectangle rect, int step) → no replacement

createPixelBoundary(Product product, Rectangle rect, int step, final boolean usePixelCenter) → no replacement

createPixelBoundary(RasterDataNode raster, Rectangle rect, int step)GeoUtils.createPixelBoundary(RasterDataNode raster, Rectangle rect, int step)

createRectBoundary(Rectangle rect, int step)GeoUtils.createPixelBoundaryFromRect(Rectangle rect, int step, true)

createRectBoundary(final Rectangle rect, int step, final boolean usePixelCenter)GeoUtils.createPixelBoundaryFromRect(final Rectangle rect, int step, final boolean usePixelCenter)

 

org.esa.snap.core.dataio.dimap.spi.DimapPersistable

createObjectFromXml(Element element, Product product, Dimension regionRasterSize)createObjectFromXml(Element element, Product product)

 

org.esa.snap.core.datamodel.RasterDataNode

getPixels(int x, int y, int w, int h, double[] pixels)getPixels(int x, int y, int w, int h, double[] pixels, ProgressMonitor pm)

 

org.esa.snap.core.datamodel.GeoCodingFactory

This class is replaced by org.esa.snap.core.dataio.geocoding.GeoCodingFactory. Not all functionality is preserved.

BasicPixelGeoCoding createPixelGeoCoding(final Band latBand, final Band lonBand, final String validMask,final int searchRadius) → no replacement

BasicPixelGeoCoding createPixelGeoCoding(final Band latBand, final Band lonBand, final String validMask, final int searchRadius, ProgressMonitor pm) → no replacement

void copyReferencedRasters(String validMaskExpression, Scene sourceScene, Scene targetScene, ProductSubsetDef subsetDef)→ no replacement

Band createSubset(Band sourceBand, Scene targetScene, ProductSubsetDef subsetDef) → no replacement

Mask createSubset(Mask sourceMask, Scene targetScene, ProductSubsetDef subsetDef) → no replacement

 

org.esa.snap.core.datamodel.PixelGeoCoding

removed, no replacement. Use functionality of org.esa.snap.core.dataio.geocoding.ComponentGeoCoding and associated classes.

 

org.esa.snap.core.datamodel.PixelGeoCoding2

removed, no replacement. Use functionality of org.esa.snap.core.dataio.geocoding.ComponentGeoCoding and associated classes.

 

org.esa.snap.core.util.jai.VerbousTileCache

removed due to naming typo, please use VerboseTileCache

 

org.esa.snap.core.dataop.maptransf.IntegerizedSinusoidalDescriptor

use GeoTools MathTransformProvider

 

org.esa.snap.core.dataop.maptransf.ISEAG

no replacement

 

org.esa.snap.core.image.ImageManager

getImageToModelTransform(GeoCoding geoCoding) -> Product.findImageToModelTransform(GeoCoding geoCoding)

 

org.esa.snap.engine_utilities.gpf.ReaderUtils

getFileFromInput(final Object input) → no replacement

 

org.esa.snap.core.gpf.main.CommandLineArgs

DEFAULT_TILE_CACHE_SIZE_IN_MgetDefaultTileCacheSize()

DEFAULT_TILE_SCHEDULER_PARALLELISM getDefaultTileSchedulerParallelism()

 

org.esa.snap.core.gpf.Operator

deactivateComputeTileMethod() → override canComputeTile()

 

org.esa.snap.core.gpf.internal.OperatorSpiRegistryImpl

setAlias(String aliasName, String spiClassName) → no replacement

 

org.esa.snap.core.gpf.OperatorSpiRegistry

setAlias(String aliasName, String spiClassName) → no replacement

 

org.esa.snap.core.gpf.annotations.Parameter

itemsInlined() → no replacement

 

org.esa.snap.dataio.geotiff.GeoTiffMultiLevelSource

GeoTiffMultiLevelSource(GeoTiffImageReader geoTiffImageReader, int dataBufferType, Rectangle imageReadBounds, Dimension mosaicImageTileSize, int bandIndex, GeoCoding geoCoding, boolean isGlobalShifted180, Double noDataValue, Dimension defaultJAITileSize) → use full parameter constructor

 

org.esa.snap.statistics.StatisticsOp

getAlgorithmNames(int[] percentiles) → no replacement

 

snap-desktop

org.esa.snap.rcp.actions.window.OpenImageViewAction

showImageView(RasterDataNode rasterDataNode) → no replacement

updateProductSceneViewImage(final ProductSceneView view) → no replacement

updateProductSceneViewImages(final RasterDataNode[] rasters) → no replacement

 

org.esa.snap.rcp.statistics.StatisticsUtils

createTransectProfileText(final RasterDataNode raster) → no replacement

getTransectProfileData(final RasterDataNode raster) → no replacement

 

org.esa.snap.rcp.SnapApp

getAppName()getInstanceName()

getPreferencesPropertyMap()getPreferences()

 

org.esa.snap.ui.product.ProductSceneView

getLayerContext()getSceneImage()

getSelectedFeatureFigures()getFeatureFigures(boolean selectedOnly)

 

org.esa.snap.ui.layer.DefaultLayerEditorDescriptor

class removed, no replacement

 

org.esa.snap.ui.layer.LayerEditorDescriptor

interface removed, no replacement

 

org.esa.snap.ui.RGBImageProfilePane

getRgbExpressions() → getRgbaExpressions()

 

org.esa.snap.ui.WorldMapPane

setScale(final float scale) → no replacement. Use layer canvas for zooming.

 

org.esa.snap.core.gpf.ui.DefaultIOParametersPanel

DefaultIOParametersPanel(AppContext appContext, OperatorSpi operatorSpi, TargetProductSelector targetProductSelector)DefaultIOParametersPanel(AppContext appContext, OperatorDescriptor descriptor, TargetProductSelector targetProductSelector)

 

org.esa.snap.core.gpf.ui.OperatorParameterSupport

OperatorParameterSupport(Class<? extends Operator> opType)OperatorParameterSupport(OperatorDescriptor operatorDescriptor)

OperatorParameterSupport(Class<? extends Operator> opType, PropertySet propertySet, Map<String, Object> parameterMap, ParameterUpdater parameterUpdater) OperatorParameterSupport(OperatorDescriptor operatorDescriptor, PropertySet propertySet, Map<String, Object> parameterMap, ParameterUpdater parameterUpdater)

getPopertySet()getPropertySet()

 

org.esa.snap.core.gpf.ui.OperatorMenu

OperatorMenu(Component parentComponent, Class<? extends Operator> opType, OperatorParameterSupport parameterSupport, String helpId)OperatorMenu(Component parentComponent, OperatorDescriptor opDescriptor, OperatorParameterSupport parameterSupport, null, String helpId)

 

microwave

sar-commons/src/main/java/eu/esa/sar/commons/SARUtils.java

getRadarFrequency() → getRadarWavelength()

jlinda/jlinda-core/src/test/java/org/jlinda/core/utils/SarUtilsTest.java

testCoherence() removed

jlinda/jlinda-core/src/test/java/org/jlinda/core/geom/DemTileTest.java

testGetDEMCorners() removed

jlinda/jlinda-core/src/test/java/org/jlinda/core/geocode/Slant2HeightTest.java

testSchwabisch_Prototype() removed

jlinda/jlinda-core/src/test/java/org/jlinda/core/geocode/DInSARTest.java

testDinsarTotal() removed

jlinda/jlinda-core/src/test/java/org/jlinda/core/filtering/RangeFilterTest.java

filterBlock_RECT() removed

filterClass_RECT() removed

filterBlock_HAMM_OVSMP_WEIGHT() removed

filterBlock_HAMM_OVSMP() removed

filterBlock_HAMM_WEIGHT() removed

jlinda/jlinda-core/src/main/java/org/jlinda/core/utils/SarUtils.java

coherence → insar coherence

cplxCoherence → insar coherence

cplxCoherenceProduct → insar coherence

computeIfg_inplace → no replacement

jlinda/jlinda-core/src/main/java/org/jlinda/core/geom/DemTile.java

computeGeoCorners → no replacement

jlinda/jlinda-core/src/main/java/org/jlinda/core/geocode/Slant2Height.java

schwabischTotal() → no replacement

jlinda/jlinda-core/src/main/java/org/jlinda/core/geocode/DInSAR.java

dinsar() → DInSAR(SLCImage masterMeta, Orbit masterOrbit,
SLCImage slaveDefoMeta, Orbit slaveDefoOrbit,
SLCImage topoSlaveMeta, Orbit slaveTopoOrbit)

jlinda/jlinda-core/src/main/java/org/jlinda/core/filtering/RangeFilter.java

doWeightCorrel() → no replacement

efficientFilter() → no replacement

filterBlock() → no replacement

jlinda/jlinda-core/src/main/java/org/jlinda/core/filtering/PhaseFilter.java

smoothSpace() → no replacement

smoothSpectral() → no replacement

jlinda/jlinda-core/src/main/java/org/jlinda/core/Orbit.java

computeBaseline() → no replacement