Deprecated API


Contents
Deprecated Interfaces
AttributeExpression
          use PropertyName 
BBoxExpression
          Please just use a simple literal 
BetweenFilter
          use PropertyIsBetween 
CollectionListener
          Use FeatureListener 
CompareFilter
          use BinaryComparisonOperator 
ConnectionFactory
          in favour of HTTPProtocol 
CRSAuthoritySpi
          Now replaced by CRSAuthorityFactory. 
CSBuilder
          Moved to CSBuilder. 
EnvironmentVariable
          Please use the environmental variable function 
Expression
          use Expression 
FactoryUsingVolatileDependencies
          This class should be a marker interface instead of an AbstractFactory subclass. We will make this change in a future version. When this change is done, AllAuthoritiesFactory should implement this interface. 
FidFilter
          use FeatureId 
FIDMapper
          scheduled for removal in 2.7, use classes in org.geotools.jdbc 
Filter
          use Filter 
FilterFactory
          use FilterFactory 
FilterType
          please use instance of check against gt-opengis class. 
FilterVisitor
          use FilterVisitor 
FilterVisitor2
          use FilterVisitor 
FunctionExpression
          use Function 
GeometryDistanceFilter
          use DistanceBufferOperator 
GeometryFilter
          use BinarySpatialOperator. 
GSProcess
          Not longer needed. 
LikeFilter
          use PropertyIsLike 
LiteralExpression
          use Literal 
LogicFilter
          use BinaryLogicOperator 
MapScaleDenominator
          pelase use the environmental variable function 
MathExpression
          use BinaryExpression 
NullFilter
          use PropertyIsNull 
Parser.Properties
            
ProgressListener
          Please use org.opengis.util.ProgressListener 
SortBy
          Please use org.opengis.filter.sort.SortBy 
 

Deprecated Classes
AbstractFilterVisitor
          Please use DefaultFilterVisitor (to stick with only opengis Filter) 
AbstractProcessor
          use CoverageProcessor 
AutoCRSFactory
          This class will move in a org.geotools.referencing.factory.web package in a future Geotools version, in order to put together other web-related factories defined outside the WMS specification. Don't use this class directly. You should not need to anyway - use ReferencingFactoryFinder instead, which will continue to work no matter where this class is located. 
BetweenFilterImpl
          use IsBetweenImpl 
CachingFeatureSource
          This class is not tested enough to be considered production ready 
CollectionEvent
          Use FeatureEvent 
CSBuilderFactory
          Moved to CSBuilderFactory. 
DefaultConnectionFactory
          use DefaultHTTPProtocol 
DefaultCSBuilder
          Moved to DefaultCSBuilder 
DefaultFactory
          Please use ThreadedEpsgFactory instead, the name DefaultFactory was viewed as confusing 
DefaultFeatureLock
          Please use FeatureLock 
DefaultFeatureLockFactory
          Please use FeatureLock directly 
DefaultMapContext
          Use MapContent instead 
DefaultMapLayer
          Use MapLayer for user interface work; or use Layer directly for rendering 
DefaultQuery
          This class is now synonymous with the Query class. 
EPSGCRSAuthorityFactory
          Uses one of the other EPSG factories backed by a database instead. 
FactoryFinder
          Please use JTSFactoryFinder 
FactoryUsingAnsiSQL
          Please use AnsiDialectEpsgFactory. 
FactoryUsingSQL
          Please use AccessDialectEpsgFactory. 
FeatureCollections
          Use DefaultFeatureCollection 
FeatureLockFactory
          Please use FeatureLock directly 
FeaturePropertyExtractor
          This interface is replaced with ComplexBinding.getProperties(Object, XSDElementDeclaration) 
FeatureSourceMapLayer
          Please use MapLayer directly; or you are just interested in rendering a subclass of Layer 
FilterCapabilities
          use FilterCapabilities. 
FilterFactoryFinder
          Replaced by CommonFactoryFinder.getFilterFactory(org.geotools.factory.Hints). 
FilteringIteration
          Please use FilteringFeatureCollection 
GraphicEnhancedMapContext
          Use a custom subclass of MapContent instead 
InPlaceCoordinateSequenceTransformer
          Moved to InPlaceCoordinateSequenceTransformer. 
ListenerList
          Use CopyOnWriteArrayList instead, it's part of the JDK and it's more efficient 
LocalizationGrid
          Moved to org.geotools.referencing.operation.builder package. 
MapContext
          This class is being phased out, please use MapContent. 
MapLayer
          Use an appropriate Layer such as FeatureLayer, GridCoverageLayer or GridReaderLayer 
MaxFunction
          - use org.geotools.filter.function.math.MaxFunction instead 
MinFunction
          - use org.geotools.filter.function.math.MinFunction instead 
OverlapBehavior
          Please use org.opengis.style.OverlapBehavior 
PackedCSBuilder
          Moved to PackedCSBuilder. 
PostPreProcessFilterSplittingVisitor
          use CapabilitiesFilterSplitter instead for geoapi FilterCapabilities 
ReTypingIterator
          Please use ReTypingFeatureIterator 
Schema
          This helper class was for the old feature model; please use FeatureTypes 
SimpleEnumerationType
          The name doesn't said what is the difference between this class and CodeList. Furthermore, according ISO 19103, enumeration and code list are not the same thing. This base class is closer to a code list than an enumeration. 
SortOrder
          Please use org.opengis.filter.sort.SortOrder 
SQLEncoder
          Please use org.geotools.data.jdbc.FilterToSQL which uses opengis filters instead of these geotools filters. 
SQLUnpacker
          please use PostPreProcessFilterSplittingVisitor 
StreamingParser
          PullParser is meant as a better replacement. 
StyleFactoryFinder
          Replaced by CommonFactoryFinder.getStyleFactory(org.geotools.factory.Hints). 
TypeNameListTypeBinding
          this binding is not used, there's no emf object for TypeNameListType 
WebCRSFactory
          This class will move in a org.geotools.referencing.factory.web package in a future Geotools version, in order to put together other web-related factories defined outside the WMS specification. Don't use this class directly. You should not need to anyway - use ReferencingFactoryFinder instead, which will continue to work no matter where this class is located. 
WFSBBoxFilterVisitor
          Use the replacement FixBBOXFilterVisitor 
WFSProtocolHandler
          use WFSProtocol 
WMSMapLayer
          Please use WMSLayer instead 
WMSOperationType
          Use of OperationType should be sufficient 
 

Deprecated Exceptions
IllegalAttributeException
          Please use org.opengis.feature.IllegalAttributeException 
NoSuchEnumerationException
          Not used. 
SQLEncoderException
          Since you're using OpenGISSFilterToSQLEncoder, use FilterToSQLException as well 
 

Deprecated Fields
org.geotools.gml2.GML.ABSTRACTFEATURECOLLECTIONBASETYPE
            
org.geotools.gml2.GML.ABSTRACTFEATURECOLLECTIONTYPE
            
org.geotools.gml2.GML.ABSTRACTFEATURETYPE
            
org.geotools.gml2.GML.ABSTRACTGEOMETRYCOLLECTIONBASETYPE
            
org.geotools.gml2.GML.ABSTRACTGEOMETRYTYPE
            
org.geotools.data.Diff.added
          please use getAdded() 
org.geotools.gml2.GML.BOUNDINGSHAPETYPE
            
org.geotools.gml2.GML.BOXTYPE
            
org.geotools.gml2.GML.COORDINATESTYPE
            
org.geotools.gml2.GML.COORDTYPE
            
org.geotools.referencing.factory.epsg.FactoryUsingWKT.DEFAULT_PRIORITY
          We will try to replace the priority mechanism by a better one in a future Geotools version. 
org.geotools.coverage.grid.ViewType.DISPLAYABLE
          Renamed as ViewType.RENDERED. 
org.geotools.factory.Hints.FEATURE_TYPE_FACTORY_NAME
          This hint controls FeatureTypeBuilder which is now deprecated 
org.geotools.gml2.GML.FEATUREASSOCIATIONTYPE
            
org.geotools.data.FeatureEvent.FEATURES_ADDED
          Please use FeatureEvent.getType() == Type.ADDED 
org.geotools.data.FeatureEvent.FEATURES_CHANGED
          Please use FeatureEvent.getType() == Type.CHANGED 
org.geotools.data.FeatureEvent.FEATURES_REMOVED
          Please use FeatureEvent.getType() == Type.REMOVED 
org.geotools.gml2.GML.GEOMETRYASSOCIATIONTYPE
            
org.geotools.gml2.GML.GEOMETRYCOLLECTIONTYPE
            
org.geotools.gml2.GML.GEOMETRYPROPERTYTYPE
            
org.geotools.referencing.cs.DefaultVerticalCS.GRAVITY_RELATED
          Renamed as DefaultVerticalCS.GRAVITY_RELATED_HEIGHT. 
org.geotools.xml.Parser.Properties.IGNORE_SCHEMA_LOCATION
          use Parser.setStrict(boolean) 
org.geotools.referencing.CRS.AxisOrder.LAT_LON
          use CRS.AxisOrder.NORTH_EAST 
org.geotools.gml2.GML.LINEARRINGMEMBERTYPE
            
org.geotools.gml2.GML.LINEARRINGTYPE
            
org.geotools.gml2.GML.LINESTRINGMEMBERTYPE
            
org.geotools.gml2.GML.LINESTRINGPROPERTYTYPE
            
org.geotools.gml2.GML.LINESTRINGTYPE
            
org.geotools.referencing.CRS.AxisOrder.LON_LAT
          use CRS.AxisOrder.EAST_NORTH 
org.geotools.data.jdbc.FilterToSQL.mapper
          use FilterToSQL.primaryKey 
org.geotools.data.Diff.modified2
          Please use getModified(); 
org.geotools.gml2.GML.MULTIGEOMETRYPROPERTYTYPE
            
org.geotools.gml2.GML.MULTILINESTRINGPROPERTYTYPE
            
org.geotools.gml2.GML.MULTILINESTRINGTYPE
            
org.geotools.gml2.GML.MULTIPOINTPROPERTYTYPE
            
org.geotools.gml2.GML.MULTIPOINTTYPE
            
org.geotools.gml2.GML.MULTIPOLYGONPROPERTYTYPE
            
org.geotools.gml2.GML.MULTIPOLYGONTYPE
            
org.geotools.gml2.GML.NULLTYPE
            
org.geotools.xml.Parser.Properties.PARSE_UNKNOWN_ATTRIBUTES
          use Parser.setStrict(boolean) 
org.geotools.xml.Parser.Properties.PARSE_UNKNOWN_ELEMENTS
          use Parser.setStrict(boolean) 
org.geotools.gml2.GML.POINTMEMBERTYPE
            
org.geotools.gml2.GML.POINTPROPERTYTYPE
            
org.geotools.gml2.GML.POINTTYPE
            
org.geotools.gml2.GML.POLYGONMEMBERTYPE
            
org.geotools.gml2.GML.POLYGONPROPERTYTYPE
            
org.geotools.gml2.GML.POLYGONTYPE
            
org.geotools.factory.Hints.REPLACE_NON_GEOPHYSICS_VIEW
          Replaced by Hints.COVERAGE_PROCESSING_VIEW key with a ViewType.PHOTOGRAPHIC value. 
org.geotools.referencing.factory.epsg.LongitudeFirstFactory.SYSTEM_DEFAULT_KEY
          Moved to GeoTools.FORCE_LONGITUDE_FIRST_AXIS_ORDER. 
org.geotools.referencing.datum.DefaultEngineeringDatum.UNKNOW
          Use UKNONWN instead 
org.geotools.filter.SortBy.UNSORTED
          use SortBy.UNSORTED 
 

Deprecated Methods
org.geotools.gml3.bindings.GML3EncodingUtils.AbstractFeatureType_encode(Object, Document, Element, XSDIdRegistry)
          use GML3EncodingUtils.AbstractFeatureTypeEncode(Object, Document, Element, XSDIdRegistry) 
org.geotools.gml3.bindings.GML3EncodingUtils.AbstractFeatureType_getProperties(Object, XSDElementDeclaration, SchemaIndex, Configuration)
          use {@link #AbstractFeatureTypeGetProperties(Object, XSDElementDeclaration, SchemaIndex, Configuration) 
org.geotools.filter.Filters.accept(Filter, FilterVisitor)
          Please update your code to a org.opengis.filter.FilterVisitor 
org.geotools.filter.AbstractFilter.accept(FilterVisitor)
          use Filter.accept(FilterVisitor, Object) 
org.geotools.filter.DefaultExpression.accept(FilterVisitor)
          use Expression.accept(ExpressionVisitor, Object) 
org.geotools.filter.Filter.accept(FilterVisitor)
          use Filter.accept(FilterVisitor, Object). 
org.geotools.filter.Expression.accept(FilterVisitor)
          use use Expression.accept(ExpressionVisitor, Object) 
org.geotools.filter.ConstantExpression.accept(FilterVisitor)
          use ConstantExpression.accept(ExpressionVisitor, Object). 
org.geotools.data.collection.TreeSetFeatureCollection.add(SimpleFeature, boolean)
           
org.geotools.styling.GraphicImpl.addExternalGraphic(ExternalGraphic)
           
org.geotools.styling.Graphic.addExternalGraphic(ExternalGraphic)
          Please use graphicalSymbols().add( externalGraphic ) 
org.geotools.styling.Style.addFeatureTypeStyle(FeatureTypeStyle)
          Use featureTypeStyles().add( type ) 
org.geotools.filter.FidFilterImpl.addFid(String)
            
org.geotools.styling.TextSymbolizerImpl.addFont(Font)
           
org.geotools.filter.GeometryFilterImpl.addLeftGeometry(Expression)
          use GeometryFilterImpl.setExpression1(org.opengis.filter.expression.Expression) 
org.geotools.filter.GeometryFilter.addLeftGeometry(Expression)
          use BinarySpatialOperator#setExpression1(Expression) 
org.geotools.filter.MathExpressionImpl.addLeftValue(Expression)
          use MathExpressionImpl.setExpression1(org.opengis.filter.expression.Expression) 
org.geotools.filter.MathExpression.addLeftValue(Expression)
          use BinaryExpression#setExpression1(Expression) 
org.geotools.filter.CompareFilter.addLeftValue(Expression)
          use BinaryComparisonOperator#setExpression1(Expression) 
org.geotools.styling.RuleImpl.addLegendGraphic(Graphic)
           
org.geotools.styling.GraphicImpl.addMark(Mark)
           
org.geotools.styling.Graphic.addMark(Mark)
          Please use grpahicSymbols().add( Mark ) 
org.geotools.filter.BetweenFilterImpl.addMiddleValue(Expression)
          use BetweenFilterImpl.setExpression(org.opengis.filter.expression.Expression) 
org.geotools.filter.IsBetweenImpl.addMiddleValue(Expression)
          use IsBetweenImpl.setExpression(Expression) 
org.geotools.filter.BetweenFilter.addMiddleValue(Expression)
          use PropertyIsBetween#setExpression(Expression) 
org.geotools.filter.GeometryFilterImpl.addRightGeometry(Expression)
          use #set 
org.geotools.filter.GeometryFilter.addRightGeometry(Expression)
          use BinarySpatialOperator#setExpression2(Expression) 
org.geotools.filter.MathExpressionImpl.addRightValue(Expression)
          use MathExpressionImpl.setExpression2(org.opengis.filter.expression.Expression) 
org.geotools.filter.MathExpression.addRightValue(Expression)
          use BinaryExpression#setExpression2(Expression) 
org.geotools.filter.CompareFilter.addRightValue(Expression)
          use BinaryComparisonOperator#setExpression2(Expression) 
org.geotools.styling.FeatureTypeStyleImpl.addRule(Rule)
           
org.geotools.styling.FeatureTypeStyle.addRule(Rule)
          Please use rules().add( rule ) 
org.geotools.styling.GraphicImpl.addSymbol(Symbol)
           
org.geotools.styling.Graphic.addSymbol(Symbol)
          symbolizers and underneath classes are immutable 
org.geotools.styling.RuleImpl.addSymbolizer(Symbolizer)
           
org.geotools.styling.TextSymbolizer.addToOptions(String, String)
          Please use getOptions().put( key, value ) 
org.geotools.filter.FilterCapabilities.addType(short)
            
org.geotools.jdbc.JDBCDataStore.addVirtualTable(VirtualTable)
          Use createVirtualTable instead 
org.geotools.filter.FilterFactory.and(Filter, Filter)
          use FilterFactory.and(org.opengis.filter.Filter, org.opengis.filter.Filter) 
org.geotools.util.GenericName.asLocalName()
          Renamed as GenericName.tip(). 
org.geotools.referencing.NamedIdentifier.asLocalName()
          Replaced by NamedIdentifier.tip(). 
org.geotools.util.ScopedName.asScopedName()
          Replaced by ScopedName.toFullyQualifiedName(). 
org.geotools.util.GenericName.asScopedName()
          Replaced by GenericName.toFullyQualifiedName(). 
org.geotools.util.LocalName.asScopedName()
          Replaced by LocalName.toFullyQualifiedName(). 
org.geotools.referencing.NamedIdentifier.asScopedName()
          Replaced by NamedIdentifier.toFullyQualifiedName(). 
org.geotools.filter.Filters.asType(Expression, Class)
          This is not a good idea; use expr.evaulate( null, TYPE ) 
org.geotools.feature.Schema.attribute(SimpleFeatureType, int)
          use getAttribute( type, index ) 
org.geotools.feature.Schema.attribute(SimpleFeatureType, String)
          use getAttribute( type, name ) 
org.geotools.feature.Schema.attributes(SimpleFeatureType)
          use getAttributes( featureType ) 
org.geotools.feature.Schema.attributes(SimpleFeatureType, List)
          use getAttributes( featureType, list ) 
org.geotools.renderer.lite.RendererUtilities.calculateScale(Envelope, CoordinateReferenceSystem, int, int, double)
            
org.geotools.xml.ParserDelegate.canHandle(QName)
          This method is deprecated and ParserDelegate2#canHandle(QName, Attributes, Handler) should be used. After one major release cycle ParserDelegate2 methods will be pulled into this interface and this method will be removed. In preparation implementations should implement both interfaces. 
org.geotools.xml.EMFUtils.clone(EObject, EFactory)
          use EMFUtils.clone(EObject, EFactory, boolean). 
org.geotools.xml.Configuration.configureBindings(MutablePicoContainer)
          use Configuration.configureBindings(Map). 
org.geotools.filter.AbstractFilter.contains(SimpleFeature)
          use Filter#evaluate(Feature) 
org.geotools.filter.FidFilter.contains(SimpleFeature)
          use org.opengis.filter.Filter#evaluate(Feature) 
org.geotools.filter.LikeFilter.contains(SimpleFeature)
          use org.opengis.filter.Filter#evaluate(Feature) 
org.geotools.filter.GeometryDistanceFilter.contains(SimpleFeature)
          use org.opengis.filter.Filter#evaluate(Feature) 
org.geotools.filter.BetweenFilter.contains(SimpleFeature)
          use org.opengis.filter.Filter#evaluate(Feature) 
org.geotools.filter.Filter.contains(SimpleFeature)
          use #evaluate(Feature) 
org.geotools.filter.LogicFilter.contains(SimpleFeature)
          use Filter#evaluate(Feature). 
org.geotools.filter.CompareFilter.contains(SimpleFeature)
          use org.opengis.filter.Filter#evaluate(Feature) 
org.geotools.filter.NullFilter.contains(SimpleFeature)
          use org.opengis.filter.Filter#evaluate(Feature) 
org.geotools.data.oracle.sdo.SDO.coordiantes(CoordinateSequenceFactory, AttributeList, AttributeList, AttributeList, AttributeList[])
          bugfix 20121231-BK: Oracle supports only one LRS measure information! use coordiantes() with just a OrdinateList of measures! Construct SpatialCoordiantes, with LRS measure information.

To produce two dimension Coordiantes pass in null for z

 
org.geotools.data.oracle.sdo.SDO.coordiantes(CoordinateSequenceFactory, OrdinateList, OrdinateList, OrdinateList, OrdinateList[])
          bugfix 20121231-BK: Oracle supports only one LRS measure information! use coordiantes() with just a OrdinateList of measures! Construct SpatialCoordiantes, with LRS measure information.

To produce two dimension Coordiantes pass in null for z

 
org.geotools.feature.FeatureFactory.create(Object[])
          Schema information is required 
org.geotools.feature.FeatureFactory.create(Object[], String)
          Schema information is required 
org.geotools.filter.FilterFactory.createAttributeExpression(AttributeDescriptor)
          use createAttributeExpression( at ), will be removed for GeoTools 2.3 
org.geotools.filter.FilterFactory.createAttributeExpression(SimpleFeatureType)
          use FilterFactory.createAttributeExpression(String) instead. 
org.geotools.filter.FilterFactory.createAttributeExpression(SimpleFeatureType, String)
          use createAttributeExpression( xpath ), will be removed for GeoTools 2.3 
org.geotools.referencing.factory.ReferencingFactoryContainer.createBaseToDerived(CoordinateReferenceSystem, ParameterValueGroup, CoordinateSystem)
          Moved to the MathTransformFactory interface. 
org.geotools.filter.FilterFactory.createBBoxExpression(Envelope)
          Please use filterFactory.literal( JTS.toGeometry( bounds ) ) 
org.geotools.filter.FilterFactoryImpl.createCompareFilter(short)
          @see org.geotools.filter.FilterFactory#createCompareFilter(short) 
org.geotools.filter.FilterFactory.createCompareFilter(short)
          use one of FilterFactory.less(Expression, Expression) FilterFactory.lessOrEqual(Expression, Expression) FilterFactory.equals(Expression, Expression) FilterFactory.greater(Expression, Expression) FilterFactory.greaterOrEqual(Expression, Expression) FilterFactory.between(Expression, Expression, Expression) 
org.geotools.referencing.factory.ReferencingObjectFactory.createDerivedCRS(Map, OperationMethod, CoordinateReferenceSystem, MathTransform, CoordinateSystem)
          Use CoordinateOperationFactory.createDefiningConversion(java.util.Map, org.opengis.referencing.operation.OperationMethod, org.opengis.parameter.ParameterValueGroup) followed by ReferencingObjectFactory.createDerivedCRS(java.util.Map, org.opengis.referencing.operation.OperationMethod, org.opengis.referencing.crs.CoordinateReferenceSystem, org.opengis.referencing.operation.MathTransform, org.opengis.referencing.cs.CoordinateSystem) instead. 
org.opengis.geometry.coordinate.GeometryFactory.createDirectPosition()
          Moved to PositionFactory 
org.opengis.geometry.coordinate.GeometryFactory.createDirectPosition(double[])
          Moved to PositionFactory 
org.geotools.filter.FilterFactory.createGeometryDistanceFilter(short)
          use one of FilterFactory.beyond(String, Geometry, double, String) FilterFactory.dwithin(String, Geometry, double, String) 
org.geotools.filter.FilterFactory.createGeometryFilter(short)
          use one of FilterFactory.bbox(String, double, double, double, double, String) FilterFactory.beyond(String, Geometry, double, String) FilterFactory.contains(String, Geometry) FilterFactory.crosses(String, Geometry) FilterFactory.disjoint(String, Geometry) FilterFactory.dwithin(String, Geometry, double, String) FilterFactory.equals(String, Geometry) FilterFactory.intersects(String, Geometry) FilterFactory.overlaps(String, Geometry) FilterFactory.touches(String, Geometry) FilterFactory.within(String, Geometry) 
org.opengis.util.NameFactory.createLocalName(GenericName, String, InternationalString)
          Replaced by createNameSpace for the scope argument, and createLocalName for the name and localized name arguments. 
org.geotools.filter.FilterFactoryImpl.createLogicFilter(Filter, Filter, short)
          use one of FilterFactory.and(Filter, Filter) FilterFactory.or(Filter, Filter) FilterFactory.not(Filter) 
org.geotools.filter.FilterFactory.createLogicFilter(Filter, Filter, short)
          use one of FilterFactory.and(Filter, Filter) FilterFactory.or(Filter, Filter) FilterFactory.not(Filter) 
org.geotools.filter.FilterFactoryImpl.createLogicFilter(Filter, short)
          use one of FilterFactory.and(Filter, Filter) FilterFactory.or(Filter, Filter) FilterFactory.not(Filter) 
org.geotools.filter.FilterFactory.createLogicFilter(Filter, short)
          use one of FilterFactory.and(Filter, Filter) FilterFactory.or(Filter, Filter) FilterFactory.not(Filter) 
org.geotools.filter.FilterFactoryImpl.createLogicFilter(short)
          use one of FilterFactory.and(Filter, Filter) FilterFactory.or(Filter, Filter) FilterFactory.not(Filter) 
org.geotools.filter.FilterFactory.createLogicFilter(short)
          use one of FilterFactory.and(Filter, Filter) FilterFactory.or(Filter, Filter) FilterFactory.not(Filter) 
org.geotools.filter.FilterFactoryImpl.createMathExpression()
          use one of FilterFactory.add(Expression, Expression) FilterFactory.subtract(Expression, Expression) FilterFactory.multiply(Expression, Expression) FilterFactory.divide(Expression, Expression) 
org.geotools.filter.FilterFactory.createMathExpression()
          use one of FilterFactory.add(Expression, Expression) FilterFactory.subtract(Expression, Expression) FilterFactory.multiply(Expression, Expression) FilterFactory.divide(Expression, Expression) 
org.geotools.filter.FilterFactory.createMathExpression(short)
          use one of FilterFactory.add(Expression, Expression) FilterFactory.subtract(Expression, Expression) FilterFactory.multiply(Expression, Expression) FilterFactory.divide(Expression, Expression) 
org.opengis.geometry.coordinate.GeometryFactory.createMultiPrimitive()
          This method is temporary. It will move to some MultiPrimitive factory when the creation of Geometry interfaces will be completed. See GEO-1 on JIRA. 
org.geotools.referencing.operation.DefaultCoordinateOperationFactory.createOperation(CoordinateReferenceSystem, CoordinateReferenceSystem, OperationMethod)
          Current implementation ignore the method argument. 
org.geotools.referencing.operation.BufferedCoordinateOperationFactory.createOperation(CoordinateReferenceSystem, CoordinateReferenceSystem, OperationMethod)
          Will be removed. 
org.geotools.referencing.factory.ReferencingFactoryContainer.createParameterizedTransform(ParameterValueGroup)
          Use the MathTransformFactory interface instead. 
org.geotools.referencing.factory.ReferencingFactoryContainer.createProjectedCRS(Map, GeographicCRS, Conversion, CartesianCS)
          Moved to the CRSFactory interface. 
org.geotools.referencing.factory.ReferencingFactoryContainer.createProjectedCRS(Map, GeographicCRS, OperationMethod, ParameterValueGroup, CartesianCS)
          Use CRSFactory#createDefiningConversion followed by CRSFactory.createProjectedCRS(java.util.Map, org.opengis.referencing.crs.GeographicCRS, org.opengis.referencing.operation.Conversion, org.opengis.referencing.cs.CartesianCS) instead. 
org.geotools.referencing.factory.ReferencingObjectFactory.createProjectedCRS(Map, OperationMethod, GeographicCRS, MathTransform, CartesianCS)
          Use CoordinateOperationFactory.createDefiningConversion(java.util.Map, org.opengis.referencing.operation.OperationMethod, org.opengis.parameter.ParameterValueGroup) followed by ReferencingObjectFactory.createProjectedCRS(java.util.Map, org.opengis.referencing.operation.OperationMethod, org.opengis.referencing.crs.GeographicCRS, org.opengis.referencing.operation.MathTransform, org.opengis.referencing.cs.CartesianCS) instead. 
org.opengis.util.NameFactory.createScopedName(GenericName, String, InternationalString)
          Replaced by createNameSpace for the scope argument, and parseGenericName for the name and localized name arguments. 
org.geotools.styling.StyleFactory.createSelectedChannelType(String, Expression)
          Use StyleFactory.createSelectedChannelType(String, ContrastEnhancement) 
org.geotools.geometry.jts.ReferencedEnvelope.crs()
          Use ReferencedEnvelope.getCoordinateReferenceSystem(), since it is the method inherited from the interface. 
org.geotools.gml2.bindings.GML2EncodingUtils.crs(CoordinateReferenceSystem)
          use GML2EncodingUtils.toURI(CoordinateReferenceSystem). 
org.geotools.data.crs.CRSAuthoritySpi.decode(String)
          Replaced by CRSAuthorityFactory.createCoordinateReferenceSystem(java.lang.String). 
org.geotools.data.DataUtilities.defaultValue(AttributeDescriptor)
          Please AttributeDescriptor.getDefaultValue() 
org.geotools.jdbc.SQLDialect.encodeColumnName(String, StringBuffer)
          use SQLDialect.encodeColumnName(String, String, StringBuffer). 
org.geotools.jdbc.SQLDialect.encodeGeometryColumn(GeometryDescriptor, int, StringBuffer)
          use SQLDialect.encodeGeometryColumn(GeometryDescriptor, String, int, StringBuffer) 
org.geotools.jdbc.SQLDialect.encodeGeometryColumn(GeometryDescriptor, String, int, StringBuffer)
          use SQLDialect.encodeGeometryColumn(GeometryDescriptor, String, int, Hints, StringBuffer) 
org.geotools.jdbc.SQLDialect.encodeGeometryColumnGeneralized(GeometryDescriptor, int, StringBuffer, Double)
          use SQLDialect.encodeGeometryColumnGeneralized(GeometryDescriptor, String, int, StringBuffer, Double) 
org.geotools.jdbc.SQLDialect.encodeGeometryColumnSimplified(GeometryDescriptor, int, StringBuffer, Double)
          use SQLDialect.encodeGeometryColumnSimplified(GeometryDescriptor, String, int, StringBuffer, Double) 
org.geotools.feature.Schema.find(SimpleFeatureType, String)
          please use getIndexOf( type, name ) 
org.geotools.filter.expression.PropertyAccessors.findPropertyAccessor(Object, String, Class, Hints)
          Use findPropertyAccessors, returned property accessor might not work 
org.geotools.filter.FilterFactoryImpl.function(String, List, Literal)
          Pending see org.opengis.filter.Factory2 
org.geotools.coverage.grid.GridCoverage2D.geophysics(boolean)
          Replaced by GridCoverage2D.view(org.geotools.coverage.grid.ViewType). 
org.geotools.styling.StyleImpl.getAbstract()
           
org.geotools.styling.FeatureTypeStyleImpl.getAbstract()
           
org.geotools.styling.Style.getAbstract()
          use getDesciption().getAbstract().toString() 
org.geotools.styling.Rule.getAbstract()
          use getDescription().getAbstract().getString() 
org.geotools.styling.FeatureTypeStyle.getAbstract()
          use getDescription().getAbstract().toString() 
org.geotools.filter.FunctionExpressionImpl.getArgs()
          use FunctionExpressionImpl.getParameters(). 
org.geotools.filter.FunctionExpression.getArgs()
          use Function.getParameters() 
org.geotools.filter.function.ClassificationFunction.getArgs()
          please use getParameters 
org.geotools.filter.AttributeExpressionImpl2.getAttributePath()
          use AttributeExpressionImpl2.getPropertyName() 
org.geotools.filter.AttributeExpressionImpl.getAttributePath()
          use AttributeExpressionImpl.getPropertyName() 
org.geotools.filter.AttributeExpression.getAttributePath()
          use PropertyName.getPropertyName() 
org.geotools.coverage.GridSampleDimension.getBackground()
          check for no data values instead 
org.geotools.styling.Fill.getBackgroundColor()
          value is not used, please use getColor() 
org.geotools.geometry.Envelope2D.getCenter(int)
          Renamed as Envelope2D.getMedian(int). 
org.geotools.geometry.jts.ReferencedEnvelope.getCenter(int)
          Use ReferencedEnvelope.getMedian(int). 
org.geotools.xml.Schemas.getChildElementDeclarations(XSDElementDeclaration)
          use Schemas.getChildElementDeclarations(XSDTypeDefinition) 
org.geotools.xml.Schemas.getChildElementDeclarations(XSDElementDeclaration, boolean)
          use Schemas.getChildElementDeclarations(XSDTypeDefinition, boolean) 
org.geotools.filter.SQLEncoder.getColnameEscape()
          the escapeName method is preferred over this, it automatically returns the name properly escaped, since that's all getColnameEscape was being used for. 
org.geotools.styling.Stroke.getColor(SimpleFeature)
           
org.opengis.coverage.SampleDimension.getColorInterpretation()
          No replacement. 
org.geotools.filter.text.generated.parsers.JavaCharStream.getColumn()
            
org.geotools.renderer.GTRenderer.getContext()
          The MapContext class is being phased out. Please use GTRenderer.getMapContent(). 
org.geotools.renderer.lite.StreamingRenderer.getContext()
          The MapContext class is being phased out. Please use StreamingRenderer.setMapContent(org.geotools.map.MapContent). 
org.geotools.data.PrjFileReader.getCoodinateSystem()
          use PrjFileReader.getCoordinateReferenceSystem(). 
org.geotools.coverage.grid.io.AbstractGridCoverage2DReader.getCrs()
          use AbstractGridCoverage2DReader.getCoordinateReferenceSystem() 
org.opengis.coverage.grid.GridCoverageReader.getCurrentSubname()
          no replacement for that. 
org.geotools.coverage.grid.io.AbstractGridCoverage2DReader.getCurrentSubname()
          no replacement for that method 
org.geotools.renderer.style.FontCache.getDefaultInsance()
          Use FontCache.getDefaultInstance() instead 
org.opengis.util.ProgressListener.getDescription()
          Replaced by getTask().toString() 
org.geotools.coverage.processing.AbstractOperation.getDescription()
          Return type need to be changed, maybe to InternationalString. 
org.geotools.swing.JProgressWindow.getDescription()
            
org.geotools.feature.type.AbstractLazyComplexTypeImpl.getDescriptor(String)
          Any code that uses this method instead of AbstractLazyComplexTypeImpl.getDescriptor(Name) is inherently unsafe. 
org.geotools.filter.GeometryDistanceFilter.getDistance()
          use DistanceBufferOperator.getDistance() 
org.geotools.coverage.processing.AbstractOperation.getDocURL()
          To be replaced by a method returning a Citation. 
org.geotools.gce.imagemosaic.catalogbuilder.CatalogBuilderConfiguration.getEnvelope2D()
          parse indexer parameters instead. 
org.geotools.filter.LikeFilter.getEscape()
          use PropertyIsLike.getEscape() 
org.geotools.filter.BetweenFilter.getExpression1()
          use PropertyIsBetween.getLowerBoundary() 
org.geotools.filter.BetweenFilter.getExpression2()
          use PropertyIsBetween.getUpperBoundary()() 
org.geotools.styling.GraphicImpl.getExternalGraphics()
           
org.geotools.styling.Graphic.getExternalGraphics()
          this method is replaced by a set : graphicalSymbols 
org.opengis.metadata.ApplicationSchemaInformation.getFeatureCatalogueSupplement()
          removed from ISO_19115 
org.geotools.metadata.iso.ApplicationSchemaInformationImpl.getFeatureCatalogueSupplement()
          removed from ISO 19115 
org.geotools.factory.CommonFactoryFinder.getFeatureLockFactories(Hints)
          FeatureLockFactory is no longer needed 
org.geotools.factory.CommonFactoryFinder.getFeatureLockFactory(Hints)
          FeautreLockFactory is no longer needed; please create a FeatureLock directly 
org.geotools.factory.BasicFactories.getFeatureTypeFactory()
          use BasicFactories.getFeatureTypeFactory(). 
org.geotools.styling.FeatureTypeStyleImpl.getFeatureTypeName()
           
org.geotools.styling.FeatureTypeStyle.getFeatureTypeName()
          this method is replaced by a live set featureTypeNames() 
org.geotools.styling.Style.getFeatureTypeStyles()
          use featureTypeStyles().toArray( new FeatureTypeStyle[0] ) 
org.geotools.data.jdbc.FilterToSQL.getFIDMapper()
          use FilterToSQL.getPrimaryKey() 
org.geotools.filter.FidFilterImpl.getFids()
          use FidFilterImpl.getIDs() 
org.geotools.filter.FidFilter.getFids()
          use FeatureId#getIDs() 
org.geotools.filter.AbstractFilter.getFilterType()
          The enumeration base type system is replaced with a class based type system. An 'instanceof' check should be made instead of calling this method. 
org.geotools.filter.Filter.getFilterType()
          The enumeration base type system is replaced with a class based type system. An 'instanceof' check should be made instead of calling this method. 
org.geotools.filter.Filters.getFilterType(Filter)
          please use instanceof checks 
org.geotools.styling.FontImpl.getFontFamily()
           
org.geotools.styling.Font.getFontFamily()
          use getFamilly().get(0) for the preferred font 
org.geotools.styling.TextSymbolizerImpl.getFonts()
           
org.geotools.styling.TextSymbolizer.getFonts()
          use getFont() 
org.geotools.styling.FontImpl.getFontSize()
           
org.geotools.styling.Font.getFontSize()
          use getSize 
org.geotools.styling.FontImpl.getFontStyle()
           
org.geotools.styling.Font.getFontStyle()
          Please use getStyle in 2.6.x 
org.geotools.styling.FontImpl.getFontWeight()
           
org.geotools.styling.Font.getFontWeight()
          use getWeight 
org.geotools.coverage.grid.ImageGeometry.getGridToCoordinateSystem()
          Renamed as ImageGeometry.getGridToCRS(). 
org.geotools.referencing.operation.builder.GridToEnvelopeMapper.getGridType()
          Renamed GridToEnvelopeMapper.getPixelAnchor(). 
org.geotools.gce.imagemosaic.catalogbuilder.CatalogBuilderConfiguration.getIndexName()
          parse indexer parameters instead. 
org.geotools.styling.ExternalMark.getInlineContent(Icon)
          use ExternalMark.setInlineContent(Icon) 
org.geotools.referencing.factory.ReferencingFactoryContainer.getLastUsedMethod()
          Moved to the MathTransformFactory interface. 
org.geotools.filter.GeometryFilterImpl.getLeftGeometry()
          use BinarySpatialOperator.getExpression1() 
org.geotools.filter.GeometryFilter.getLeftGeometry()
          use BinarySpatialOperator.getExpression1(). 
org.geotools.filter.MathExpressionImpl.getLeftValue()
          use MathExpressionImpl.getExpression1(). 
org.geotools.filter.MathExpression.getLeftValue()
          use BinaryExpression.getExpression1(). 
org.geotools.filter.CompareFilter.getLeftValue()
          use BinaryComparisonOperator.getExpression1() 
org.geotools.styling.Rule.getLegendGraphic()
          Please use getLegend 
org.geotools.geometry.Envelope2D.getLength(int)
          Renamed as Envelope2D.getSpan(int). 
org.geotools.geometry.jts.ReferencedEnvelope.getLength(int)
          Use ReferencedEnvelope.getSpan(int). 
org.geotools.arcsde.raster.info.RasterQueryInfo.getLevelTileRange()
           
org.geotools.filter.text.generated.parsers.JavaCharStream.getLine()
            
org.geotools.filter.LiteralExpressionImpl.getLiteral()
          use LiteralExpressionImpl.getValue(). 
org.geotools.filter.LiteralExpression.getLiteral()
          use Literal.getValue(). 
org.geotools.filter.ConstantExpression.getLiteral()
          use ConstantExpression.getValue() 
org.geotools.gce.imagemosaic.catalogbuilder.CatalogBuilderConfiguration.getLocationAttribute()
          parse indexer parameters instead. 
org.geotools.swing.event.MapMouseEvent.getMapPosition()
          Please use MapMouseEvent.getWorldPos() instead 
org.geotools.styling.GraphicImpl.getMarks()
           
org.geotools.styling.Graphic.getMarks()
          Please use graphicalSymbols() 
org.opengis.filter.spatial.BBOX.getMaxX()
          please use getExpression2(), to check for a literal BoundingBox.getMaximum(0) 
org.opengis.filter.spatial.BBOX.getMaxY()
          please use getExpression2(), to check for a literal BoundingBox.getMaximum(1) 
org.geotools.filter.BetweenFilterImpl.getMiddleValue()
          use BetweenFilterImpl.getExpression() 
org.geotools.filter.IsBetweenImpl.getMiddleValue()
          use IsBetweenImpl.getExpression() 
org.geotools.filter.BetweenFilter.getMiddleValue()
          use PropertyIsBetween.getExpression() 
org.opengis.filter.spatial.BBOX.getMinX()
          please use getExpression2(), to check for a literal BoundingBox.getMinimum(0) 
org.opengis.filter.spatial.BBOX.getMinY()
          please use getExpression2(), to check for a literal BoundingBox.getMinimum(1) 
org.opengis.util.NameSpace.getNames()
          Not implementable in a simple naming system. We may create a Register subclass (or something similar) later for this kind of job. 
org.geotools.filter.NullFilterImpl.getNullCheckValue()
          use NullFilterImpl.getExpression(). 
org.geotools.filter.NullFilter.getNullCheckValue()
          use PropertyIsNull.getExpression() 
org.geotools.filter.function.ClassificationFunction.getNumberOfClasses()
          use getClasses() 
org.geotools.referencing.factory.ReferencingFactoryContainer.getOperationMethod(String)
          Use DefaultMathTransformFactory.getOperationMethod(java.lang.String). This method was inefficient for other implementations. 
org.geotools.styling.TextSymbolizer.getOption(String)
          Please use getOptions.get( key ) 
org.geotools.styling.RasterSymbolizerImpl.getOverlap()
           
org.opengis.coverage.SampleDimension.getPalette()
          No replacement. 
org.geotools.coverage.GridSampleDimension.getPalette()
          No replacement. 
org.opengis.coverage.SampleDimension.getPaletteInterpretation()
          No replacement. 
org.geotools.filter.LikeFilterImpl.getPattern()
          use LikeFilterImpl.getLiteral() 
org.geotools.filter.LikeFilter.getPattern()
          use PropertyIsLike.getLiteral() 
org.geotools.styling.TextSymbolizerImpl.getPlacement()
           
org.geotools.styling.TextSymbolizer.getPlacement()
          Please use getLabelPlacement() 
org.geotools.referencing.operation.AbstractCoordinateOperation.getPositionalAccuracy()
          Renamed as AbstractCoordinateOperation.getCoordinateOperationAccuracy(). 
org.geotools.gml3.bindings.GML3EncodingUtils.getProperties(Geometry)
          use GML3EncodingUtils.GeometryPropertyType_GetProperties(Geometry) 
org.geotools.xml.ComplexBinding.getProperties(Object)
          use ComplexBinding.getProperties(Object, XSDElementDeclaration). 
org.geotools.xml.AbstractComplexBinding.getProperties(Object)
          use AbstractComplexBinding.getProperties(Object, XSDElementDeclaration) 
org.geotools.gml3.bindings.GML3EncodingUtils.getProperty(Geometry, QName)
          use GML3EncodingUtils.GeometryPropertyType_GetProperty(Geometry, QName) 
org.opengis.filter.spatial.BBOX.getPropertyName()
          Please check getExpression1(), if it is a PropertyName 
org.geotools.test.TestData.getReader(Object, String)
          Use TestData.openReader(java.lang.Object, java.lang.String) instead. The openReader method throws an exception if the resource is not found, instead of returning null. This make debugging easier, since it replaces infamous NullPointerException by a more explicit error message during tests. Furthermore, the openReader name make it more obvious that the stream is not closed automatically and is also consistent with other method names in this class. 
org.geotools.arcsde.raster.info.RasterQueryInfo.getResultDimensionInsideTiledImage()
           
org.geotools.filter.GeometryFilterImpl.getRightGeometry()
          use BinarySpatialOperator.getExpression2() 
org.geotools.filter.GeometryFilter.getRightGeometry()
          use BinarySpatialOperator.getExpression2(). 
org.geotools.filter.GeometryFilterImpl.getRightGeometry(Object)
          use org.geotools.filter 
org.geotools.filter.MathExpressionImpl.getRightValue()
          use MathExpressionImpl.getExpression2(). 
org.geotools.filter.CompareFilterImpl.getRightValue()
          use BinaryComparisonAbstract.getExpression2() 
org.geotools.filter.MathExpression.getRightValue()
          use BinaryExpression.getExpression2(). 
org.geotools.filter.CompareFilter.getRightValue()
          use BinaryComparisonOperator.getExpression2() 
org.geotools.gce.imagemosaic.catalogbuilder.CatalogBuilderConfiguration.getRootMosaicDirectory()
          parse indexer parameters instead. 
org.geotools.styling.FeatureTypeStyleImpl.getRules()
           
org.geotools.styling.FeatureTypeStyle.getRules()
          use rules().toArray( new Rule[0] ) 
org.geotools.data.ows.Layer.getScaleHintMax()
          Use getScaleDenomiatorMax() as there is less confusion over meaning 
org.geotools.data.ows.Layer.getScaleHintMin()
          Use getScaleDenomiatorMin() as there is less confusion over meaning 
org.geotools.xml.Configuration.getSchemaFileURL()
          use XSD.getSchemaLocation(). 
org.geotools.xml.Configuration.getSchemaLocationResolver()
            
org.geotools.xml.Configuration.getSchemaLocator()
            
org.geotools.util.ScopedName.getScope()
          Replaced by GenericName.scope(). 
org.geotools.util.GenericName.getScope()
          Replaced by GenericName.scope(). 
org.geotools.util.LocalName.getScope()
          Replaced by LocalName.scope(). 
org.geotools.referencing.NamedIdentifier.getScope()
          Replaced by NamedIdentifier.scope(). 
org.geotools.styling.ChannelSelection.getSelectedChannels()
          Please use getRGBChannels 
org.geotools.styling.FeatureTypeStyleImpl.getSemanticTypeIdentifiers()
           
org.geotools.styling.FeatureTypeStyle.getSemanticTypeIdentifiers()
          this method is replaced by a live set semanticIdentifiers() 
org.opengis.filter.spatial.BBOX.getSRS()
          please use getExpression2(), if it is a literal BoundingBox.getCoordinateReferenceSystem() 
org.geotools.styling.RuleImpl.getSymbolizers()
           
org.geotools.styling.GraphicImpl.getSymbols()
           
org.geotools.styling.Graphic.getSymbols()
          Please use graphicalSymbols 
org.geotools.styling.StyleImpl.getTitle()
           
org.geotools.styling.FeatureTypeStyleImpl.getTitle()
           
org.geotools.styling.Style.getTitle()
          use getDescription().getTitle().toString() 
org.geotools.styling.Rule.getTitle()
          use getDescription().getTitle().getString() 
org.geotools.styling.FeatureTypeStyle.getTitle()
          use getDescription.getTitle().toString() 
org.geotools.styling.ContrastEnhancement.getType()
          Please use getMethod 
org.geotools.filter.MathExpression.getType()
          The expression type system has been replaced by an actual class type system. 
org.geotools.filter.Expression.getType()
          The enumeration based type system has been replaced by a class based type system. 
org.geotools.factory.BasicFactories.getTypeFactory()
          use BasicFactories.getFeatureTypeFactory(). 
org.geotools.referencing.AbstractReferenceSystem.getValidArea()
          Renamed AbstractReferenceSystem.getDomainOfValidity(). 
org.geotools.referencing.operation.AbstractCoordinateOperation.getValidArea()
          Renamed AbstractCoordinateOperation.getDomainOfValidity(). 
org.geotools.referencing.datum.AbstractDatum.getValidArea()
          Renamed AbstractDatum.getDomainOfValidity(). 
org.geotools.temporal.reference.DefaultTemporalReferenceSystem.getValidArea()
           
org.geotools.filter.LikeFilterImpl.getValue()
          use LikeFilterImpl.getExpression(). 
org.geotools.filter.LikeFilter.getValue()
          use PropertyIsLike.getExpression() 
org.geotools.filter.DefaultExpression.getValue(SimpleFeature)
          use #evaluate(Feature). 
org.geotools.filter.EnvironmentVariable.getValue(SimpleFeature)
          use Expression.evaluate(Object) 
org.geotools.filter.MathExpression.getValue(SimpleFeature)
          use Expression#evaluate(Feature). 
org.geotools.filter.LiteralExpression.getValue(SimpleFeature)
          use Expression#evaluate(Feature). 
org.geotools.filter.AttributeExpression.getValue(SimpleFeature)
          use org.opengis.filter.expression.Expression#evaluate(Feature)() 
org.geotools.filter.Expression.getValue(SimpleFeature)
          use org.opengis.filter.expression.Expression#evaluate(Feature) 
org.geotools.filter.ConstantExpression.getValue(SimpleFeature)
          use #evaluate(Feature) 
org.geotools.coverage.processing.AbstractOperation.getVendor()
          Replaced by getName().getAuthority(). 
org.geotools.coverage.processing.AbstractOperation.getVersion()
          Replacement to be determined. 
org.geotools.gce.imagemosaic.catalogbuilder.CatalogBuilderConfiguration.getWildcard()
          parse Indexer parameters instead. 
org.geotools.filter.LikeFilterImpl.getWildcardMulti()
          use LikeFilterImpl.getWildCard(). 
org.geotools.filter.LikeFilter.getWildcardMulti()
          use PropertyIsLike.getWildCard() 
org.geotools.filter.LikeFilterImpl.getWildcardSingle()
          use LikeFilterImpl.getSingleChar() 
org.geotools.filter.LikeFilter.getWildcardSingle()
          use PropertyIsLike.getSingleChar()() 
org.geotools.styling.RuleImpl.hasElseFilter()
          use isElseFilter instead. 
org.geotools.styling.Rule.hasElseFilter()
          Please use isElseFilter 
org.opengis.coverage.grid.GridCoverageReader.hasMoreGridCoverages()
          no replacement for that. 
org.geotools.coverage.grid.io.AbstractGridCoverage2DReader.hasMoreGridCoverages()
          no replacement for that method 
org.geotools.gce.imagemosaic.catalogbuilder.CatalogBuilderConfiguration.isAbsolute()
          parse Indexer parameters instead. 
org.geotools.styling.LinePlacement.IsAligned()
            
org.geotools.gce.imagemosaic.catalogbuilder.CatalogBuilderConfiguration.isCaching()
          parse indexer parameters instead. 
org.geotools.coverage.grid.ViewType.isColorSpaceConversionAllowed()
          Renamed ViewType.isReplaceIndexColorModelAllowed(). 
org.geotools.gce.imagemosaic.catalogbuilder.CatalogBuilderConfiguration.isFootprintManagement()
          parse indexer parameters instead. 
org.geotools.filter.DefaultExpression.isMathExpression(short)
          use #is 
org.geotools.gce.imagemosaic.catalogbuilder.CatalogBuilderConfiguration.isRecursive()
          parse indexer parameters instead. 
org.opengis.coverage.grid.GridCoverageReader.listSubNames()
          use GridCoverageReader.getGridCoverageNames() 
org.geotools.coverage.grid.io.AbstractGridCoverage2DReader.listSubNames()
          use AbstractGridCoverage2DReader.getGridCoverageNames() 
org.geotools.geometry.jts.ReferencedEnvelope.maxX()
          Use Envelope.getMaxX(). 
org.geotools.geometry.jts.ReferencedEnvelope.maxY()
          Use Envelope.getMaxY(). 
org.geotools.geometry.jts.ReferencedEnvelope.minX()
          Use Envelope.getMinX(). 
org.geotools.geometry.jts.ReferencedEnvelope.minY()
          Use Envelope.getMinY(). 
org.geotools.data.FeatureStore.modifyFeatures(AttributeDescriptor[], Object[], Filter)
          Please use the safer method FeatureStore.modifyFeatures(Name[], Object[], Filter) 
org.geotools.data.FeatureStore.modifyFeatures(AttributeDescriptor, Object, Filter)
          Please use the safer method FeatureStore.modifyFeatures(Name, Object, Filter) 
org.opengis.util.GenericName.name()
          Renamed as GenericName.tip(). 
org.geotools.util.GenericName.name()
          Renamed as GenericName.tip(). 
org.geotools.referencing.NamedIdentifier.name()
          Replaced by NamedIdentifier.tip(). 
org.geotools.feature.Schema.names(SimpleFeatureType)
          use getNames( featureType ) 
org.geotools.feature.Schema.names(SimpleFeatureType, List)
          use getNames( featureType, List ) 
org.geotools.feature.FeatureCollections.newCollection()
          Use new DefaultFeatureCollection(null,null) 
org.geotools.feature.FeatureCollections.newCollection(String)
          Use new DefaultFeatureCollection( id, null ) 
org.geotools.filter.FilterFactory.not(Filter)
          use FilterFactory.not(org.opengis.filter.Filter) 
org.geotools.filter.NullFilterImpl.nullCheckValue(Expression)
          use PropertyIsNull#setExpression(Expression) 
org.geotools.filter.NullFilter.nullCheckValue(Expression)
          use PropertyIsNull#setExpression(Expression) 
org.geotools.filter.FilterFactory.or(Filter, Filter)
          use FilterFactory.or(org.opengis.filter.Filter, org.opengis.filter.Filter) 
org.geotools.geometry.jts.ReferencedEnvelope3D.overlaps(Coordinate)
          Use #intersects instead. 
org.geotools.geometry.jts.ReferencedEnvelope3D.overlaps(double, double, double)
          Use #intersects instead. 
org.geotools.geometry.jts.ReferencedEnvelope3D.overlaps(ReferencedEnvelope3D)
          Use #intersects instead. In the future, #overlaps may be changed to be a true overlap check; that is, whether the intersection is two-dimensional. 
org.geotools.renderer.lite.StreamingRenderer.paint(Graphics2D, Rectangle, AffineTransform)
          Use paint(Graphics2D graphics, Rectangle paintArea, ReferencedEnvelope mapArea) or paint(Graphics2D graphics, Rectangle paintArea, ReferencedEnvelope mapArea, AffineTransform worldToScreen) instead. 
org.geotools.renderer.lite.StreamingRenderer.paint(Graphics2D, Rectangle, Envelope)
          Use paint(Graphics2D graphics, Rectangle paintArea, ReferencedEnvelope mapArea) or paint(Graphics2D graphics, Rectangle paintArea, ReferencedEnvelope mapArea, AffineTransform worldToScreen) instead. 
org.geotools.renderer.lite.StreamingRenderer.paint(Graphics2D, Rectangle, Envelope, AffineTransform)
          Use paint(Graphics2D graphics, Rectangle paintArea, ReferencedEnvelope mapArea) or paint(Graphics2D graphics, Rectangle paintArea, ReferencedEnvelope mapArea, AffineTransform worldToScreen) instead. 
org.geotools.xml.Parser.parse()
          use Parser.parse(InputStream) 
org.geotools.xml.Schemas.parse(String, XSDSchemaLocator[], XSDSchemaLocationResolver[])
          use Schemas.parse(String, List, List) 
org.geotools.filter.ExpressionDOMParser.parseCoords(Node)
          please use ExpressionDOMParser.coords() 
org.geotools.filter.ExpressionDOMParser.parseExpression(Node)
          Please use ExpressionDOMParser.expression 
org.geotools.filter.ExpressionDOMParser.parseGML(Node)
          Please use ExpressionDOMParser.gml 
org.geotools.xml.Configuration.registerBindings(MutablePicoContainer)
          use Configuration.registerBindings(Map). 
org.geotools.xml.test.XMLTestSupport.registerNamespaces(Element)
          use XMLTestSupport.registerNamespaceMapping(String, String) 
org.geotools.coverage.grid.io.StructuredGridCoverage2DReader.removeCoverage(String)
          use StructuredGridCoverage2DReader.removeCoverage(String, boolean) 
org.geotools.jdbc.JDBCDataStore.removeVirtualTable(String)
          Use dropVirtualTable instead 
org.geotools.feature.Schema.restriction(SimpleFeatureType, String)
          please use getRestriction( featureType, name ) 
org.geotools.xml.Configuration.schema()
          use Configuration.getXSD() and XSD.getSchema(). 
org.geotools.styling.StyleImpl.setAbstract(String)
           
org.geotools.styling.FeatureTypeStyleImpl.setAbstract(String)
           
org.geotools.styling.Style.setAbstract(String)
          use getDescription().setAbstract( new SimpleInternationalString( text ) ); 
org.geotools.styling.Rule.setAbstract(String)
          use getDescription().setAbstract() 
org.geotools.styling.FeatureTypeStyle.setAbstract(String)
          Please use getDescription().setAbstract( new SimpleInternationalString( abstractStr )) 
org.geotools.filter.FunctionExpressionImpl.setArgs(Expression[])
          use FunctionExpressionImpl.setParameters(List) 
org.geotools.filter.FunctionExpression.setArgs(Expression[])
          use FunctionExpression.setParameters(List) 
org.geotools.filter.function.ClassificationFunction.setArgs(Expression[])
          please use setParameters 
org.geotools.filter.AttributeExpressionImpl2.setAttributePath(String)
          use AttributeExpressionImpl2.setPropertyName(String). 
org.geotools.filter.AttributeExpressionImpl.setAttributePath(String)
          use AttributeExpressionImpl.setPropertyName(String) 
org.geotools.filter.AttributeExpression.setAttributePath(String)
          use PropertyName#setPropertyName(String) 
org.geotools.styling.Fill.setBackgroundColor(Expression)
          Please use setColor( Expression ) 
org.geotools.filter.SQLEncoder.setColnameEscape(String)
          Use setSqlNameEscape instead, as it is more aptly named. 
org.geotools.renderer.GTRenderer.setContext(MapContext)
          The MapContext class is being phased out. Please use GTRenderer.setMapContent(org.geotools.map.MapContent). 
org.geotools.renderer.lite.StreamingRenderer.setContext(MapContext)
          The MapContext class is being phased out. Please use StreamingRenderer.setMapContent(org.geotools.map.MapContent). 
org.geotools.styling.SelectedChannelType.setContrastEnhancement(Expression)
          Use #setContrastEnhancement(ContrastEnhancement)) instead. 
org.opengis.util.ProgressListener.setDescription(String)
          Replaced by setTask 
org.geotools.swing.JProgressWindow.setDescription(String)
            
org.geotools.xml.Encoder.setEncodeFullDocument(boolean)
          use Encoder.setInline(boolean). 
org.geotools.styling.ContrastEnhancement.setExponential()
          Please use setMethod; please note Exponential is not currently supported 
org.geotools.filter.BetweenFilter.setExpression1(Expression)
          use PropertyIsBetween#setLowerBoundary(Expression)() 
org.geotools.filter.BetweenFilter.setExpression2(Expression)
          use PropertyIsBetween#setUpperBoundary(Expression)() 
org.geotools.styling.GraphicImpl.setExternalGraphics(ExternalGraphic[])
           
org.geotools.styling.Graphic.setExternalGraphics(ExternalGraphic[])
          Please use graphicalSymbols().clear(); and graphicalSymbols().addAll( externalGraphics ) 
org.geotools.metadata.iso.ApplicationSchemaInformationImpl.setFeatureCatalogueSupplement(SpatialAttributeSupplement)
          removed from ISO 19115 
org.geotools.styling.FeatureTypeStyleImpl.setFeatureTypeName(String)
           
org.geotools.styling.FeatureTypeStyle.setFeatureTypeName(String)
          Use featureTypeNames().clear() and featureTypeNames.add( new NameImpl( name )) 
org.geotools.styling.Style.setFeatureTypeStyles(FeatureTypeStyle[])
          Use featureTypeStyles().clear(); featureTypeStyles.addAll( ... ) 
org.geotools.data.jdbc.FilterToSQL.setFIDMapper(FIDMapper)
          use FilterToSQL.setPrimaryKey(PrimaryKey) 
org.geotools.styling.LinePlacementImpl.setFilterFactory(FilterFactory)
           
org.geotools.styling.GraphicImpl.setFilterFactory(FilterFactory)
           
org.geotools.styling.FontImpl.setFontFamily(Expression)
           
org.geotools.styling.Font.setFontFamily(Expression)
          Please use getFontFamilly.set( 0, expression ) 
org.geotools.styling.TextSymbolizerImpl.setFonts(Font[])
           
org.geotools.styling.TextSymbolizer.setFonts(Font[])
          use getFont() setters to modify the set of font faces used 
org.geotools.styling.FontImpl.setFontSize(Expression)
           
org.geotools.styling.Font.setFontSize(Expression)
          symbolizers and underneath classes will be immutable in 2.6.x 
org.geotools.styling.FontImpl.setFontStyle(Expression)
           
org.geotools.styling.Font.setFontStyle(Expression)
          Please use setStyle( style ) 
org.geotools.styling.FontImpl.setFontWeight(Expression)
           
org.geotools.styling.Font.setFontWeight(Expression)
          Please use setWeight( weight ) 
org.geotools.referencing.operation.builder.GridToEnvelopeMapper.setGridType(PixelInCell)
          Renamed GridToEnvelopeMapper.setPixelAnchor(org.opengis.referencing.datum.PixelInCell). 
org.geotools.styling.RuleImpl.setHasElseFilter()
          use setIsElseFilter(true) 
org.geotools.styling.ContrastEnhancement.setHistogram()
          Please use setMethod( ContrastMethodt.HISTOGRAM ) 
org.geotools.styling.RuleImpl.setLegendGraphic(Graphic[])
           
org.geotools.styling.Rule.setLegendGraphic(Graphic[])
          Please use setLegend 
org.geotools.filter.LiteralExpressionImpl.setLiteral(Object)
          use LiteralExpressionImpl.setValue(Object). 
org.geotools.filter.LiteralExpression.setLiteral(Object)
          use Literal#setValue(Object) 
org.geotools.filter.ConstantExpression.setLiteral(Object)
          use ConstantExpression.setValue(Object) 
org.geotools.styling.ContrastEnhancement.setLogarithmic()
          Please use setMethod; please note Logarithmic is not currently supported 
org.geotools.styling.GraphicImpl.setMarks(Mark[])
           
org.geotools.styling.Graphic.setMarks(Mark[])
          Please use graphicSymbols().addAll() 
org.geotools.filter.spatial.BBOXImpl.setMaxX(double)
          use the constructor or setExpression2 
org.geotools.filter.spatial.BBOXImpl.setMaxY(double)
          use the constructor or setExpression2 
org.geotools.filter.spatial.BBOXImpl.setMinX(double)
          use the constructor or setExpression2 
org.geotools.filter.spatial.BBOXImpl.setMinY(double)
          use the constructor or setExpression2 
org.geotools.styling.ContrastEnhancement.setNormalize()
          Please use setMethod( ContrastMethodt.NORMALIZE ) 
org.geotools.filter.function.ClassificationFunction.setNumberOfClasses(int)
          use setClasses() 
org.geotools.styling.GraphicImpl.setOpacity(double)
           
org.geotools.styling.RasterSymbolizerImpl.setOverlap(Expression)
           
org.geotools.filter.LikeFilterImpl.setPattern(Expression, String, String, String)
          use one of PropertyIsLike#setExpression(Expression) PropertyIsLike#setWildCard(String) PropertyIsLike#setSingleChar(String) PropertyIsLike#setEscape(String) 
org.geotools.filter.LikeFilter.setPattern(Expression, String, String, String)
          use one of PropertyIsLike#setExpression(Expression) PropertyIsLike#setWildCard(String) PropertyIsLike#setSingleChar(String) PropertyIsLike#setEscape(String) 
org.geotools.filter.LikeFilterImpl.setPattern(String, String, String, String)
          use one of PropertyIsLike#setLiteral(String) PropertyIsLike#setWildCard(String) PropertyIsLike#setSingleChar(String) PropertyIsLike#setEscape(String) 
org.geotools.filter.LikeFilter.setPattern(String, String, String, String)
          use one of PropertyIsLike#setExpression(Expression) PropertyIsLike#setWildCard(String) PropertyIsLike#setSingleChar(String) PropertyIsLike#setEscape(String) 
org.geotools.styling.TextSymbolizerImpl.setPlacement(LabelPlacement)
          Use setLabelPlacement 
org.geotools.styling.TextSymbolizer.setPlacement(LabelPlacement)
          Please use setLabelPlacement 
org.geotools.styling.GraphicImpl.setRotation(double)
           
org.geotools.styling.FeatureTypeStyleImpl.setRules(Rule[])
           
org.geotools.styling.FeatureTypeStyle.setRules(Rule[])
          Please use rules().clear(); rules.addAll( rules ) 
org.geotools.data.ows.Layer.setScaleHintMax(double)
          Use setScaleDenomiatorMax() as there is less confusion over meaning 
org.geotools.data.ows.Layer.setScaleHintMin(double)
          Use setScaleDenomiatorMin() as there is less confusion over meaning 
org.geotools.styling.ChannelSelection.setSelectedChannels(SelectedChannelType[])
          Please use setRGBChannels 
org.geotools.styling.FeatureTypeStyleImpl.setSemanticTypeIdentifiers(String[])
           
org.geotools.styling.FeatureTypeStyle.setSemanticTypeIdentifiers(String[])
          Please use semanticIdentifiers().addAll() 
org.geotools.styling.GraphicImpl.setSize(int)
           
org.geotools.filter.spatial.BBOXImpl.setSRS(String)
          use the constructor or setExpression2 
org.geotools.data.ows.CRSEnvelope.setSRSName(String)
          Please use setSRSName(String,boolean) to explicitly indicate axis handling 
org.geotools.styling.RuleImpl.setSymbolizers(Symbolizer[])
           
org.geotools.styling.Rule.setSymbolizers(Symbolizer[])
          please use symbolizers().addAll() 
org.geotools.styling.GraphicImpl.setSymbols(Symbol[])
           
org.geotools.styling.Graphic.setSymbols(Symbol[])
          symbolizers and underneath classes will be immutable in 2.6.x 
org.geotools.styling.StyleImpl.setTitle(String)
           
org.geotools.styling.FeatureTypeStyleImpl.setTitle(String)
           
org.geotools.styling.Style.setTitle(String)
          please use getDescription().setTitle( new SimpleInternationalString( text ) ); 
org.geotools.styling.FeatureTypeStyle.setTitle(String)
          please use getDescription.setTitle( new SimpleInternationalString( title )) 
org.geotools.styling.ContrastEnhancement.setType(Expression)
          Please use setMethod 
org.geotools.xml.Configuration.setupBindings(MutablePicoContainer)
          use Configuration.setupBindings(). 
org.geotools.styling.ExternalGraphicImpl.setURI(String)
           
org.geotools.filter.LikeFilter.setValue(Expression)
          use PropertyIsLike#setExpression(Expression) 
org.geotools.geometry.jts.JTS.shapeToGeometry(Shape, GeometryFactory)
          Please use JTS.toGeometry(Shape) or JTS.toGeometry(Shape, GeometryFactory) 
org.geotools.styling.SLD.size(Mark)
          please check graphic as an indication of mark size 
org.opengis.coverage.grid.GridCoverageReader.skip()
          no replacement for that. 
org.geotools.coverage.grid.io.AbstractGridCoverage2DReader.skip()
          no replacement for that method 
org.geotools.data.DataUtilities.spec(FeatureType)
          Renamed to DataUtilities.encodeType(org.opengis.feature.simple.SimpleFeatureType) for concistency with DataUtilities.createType(java.lang.String, java.lang.String) 
org.geotools.filter.FilterCapabilities.supports(short)
            
org.geotools.feature.type.Types.toName(QName)
          use #toTypeName(QName 
org.opengis.metadata.identification.RepresentativeFraction.toScale()
          Replaced by RepresentativeFraction.doubleValue(), which is both consistent with Number naming and avoid the idea that a representative fraction is only for scales - it could be used for any quantity conveniently represented as a ratio. 
org.geotools.metadata.iso.identification.RepresentativeFractionImpl.toScale()
          This is equivalent to RepresentativeFractionImpl.doubleValue(). 
org.geotools.util.logging.Logging.unexpectedException(String, Class, String, Throwable)
          Use one of the other unexpectedException methods instead. 
org.geotools.data.complex.DataAccessRegistry.unregisterAll()
           
org.geotools.filter.visitor.AbstractFilterVisitor.visit(BetweenFilter)
          use AbstractFilterVisitor.visit(PropertyIsBetween, Object) 
org.geotools.filter.visitor.AbstractFilterVisitor.visit(CompareFilter)
          use one of AbstractFilterVisitor.visit(PropertyIsEqualTo, Object), AbstractFilterVisitor.visit(PropertyIsNotEqualTo, Object), AbstractFilterVisitor.visit(PropertyIsLessThan, Object), AbstractFilterVisitor.visit(PropertyIsLessThanOrEqualTo, Object),AbstractFilterVisitor.visit(PropertyIsGreaterThan, Object), #visit(PropertyIsGreaterThanEqualTo, Object) 
org.geotools.filter.visitor.AbstractFilterVisitor.visit(FidFilter)
          use AbstractFilterVisitor.visit(Id, Object) 
org.geotools.filter.visitor.AbstractFilterVisitor.visit(Filter)
            
org.geotools.filter.visitor.AbstractFilterVisitor.visit(LikeFilter)
          use AbstractFilterVisitor.visit(PropertyIsLike, Object) 
org.geotools.filter.visitor.AbstractFilterVisitor.visit(LogicFilter)
          use one of AbstractFilterVisitor.visit(And, Object),AbstractFilterVisitor.visit(Or, Object), AbstractFilterVisitor.visit(Not, Object) 
org.geotools.filter.visitor.AbstractFilterVisitor.visit(NullFilter)
          use AbstractFilterVisitor.visit(PropertyIsNull, Object) 
org.geotools.renderer.lite.RendererUtilities.worldToScreenTransform(Envelope, Rectangle)
          Uses the alternative based on ReferencedEnvelope that doe not assume anything on axes order. 
org.geotools.xml.Encoder.write(Object, QName, OutputStream)
          use Encoder.encode(Object, QName, OutputStream). 
org.geotools.gml.producer.CoordinateWriter.writeCoordinates(Coordinate[], ContentHandler)
          use #writeCoordinates(CoordinateSequence, ContentHandler) instead 
org.geotools.feature.Schema.xpath(SimpleFeatureType, String)
          use getXPath( type, xpath ); 
org.geotools.data.shapefile.shp.JTSUtilities.zMinMax(Coordinate[])
          use zMinMax(CoordinateSequence) 
 

Deprecated Constructors
org.geotools.data.ows.AbstractOpenWebService(C, URL)
          use #AbstractOpenWebService(OWSConfig, Capabilities) 
org.geotools.data.ows.AbstractOpenWebService(URL, int)
          use #AbstractOpenWebService(OWSConfig) 
org.geotools.util.CanonicalSet()
          Use CanonicalSet.newInstance(java.lang.Class) instead. 
org.geotools.filter.CompareFilterImpl(short)
          use CompareFilterImpl.CompareFilterImpl(org.opengis.filter.FilterFactory, org.opengis.filter.expression.Expression, org.opengis.filter.expression.Expression) 
org.geotools.geometry.jts.Decimator(MathTransform)
          use the other constructor (with rectange) see javadox. This works fine, but it the results are often poor if you're also doing CRS xforms. 
org.geotools.referencing.crs.DefaultDerivedCRS(Map, OperationMethod, CoordinateReferenceSystem, MathTransform, CoordinateSystem)
          Create explicitly a DefiningConversion instead. 
org.geotools.referencing.crs.DefaultProjectedCRS(Map, OperationMethod, GeographicCRS, MathTransform, CartesianCS)
          Create explicitly a DefiningConversion instead. 
org.geotools.feature.collection.DelegateFeatureIterator(FeatureCollection, Iterator)
          collection no longer used 
org.geotools.util.DerivedMap(Map)
          Use #DerivedMap(Map, Class instead. 
org.geotools.util.DerivedSet(Set)
          Use DerivedSet.DerivedSet(Set,Class) instead. 
org.geotools.data.FeatureEvent(FeatureSource, int, Envelope)
          Please use FeatureEvent( FeatureSource, Type, Envelope ) 
org.geotools.filter.FidFilterImpl()
          use FidFilterImpl.FidFilterImpl(Set) 
org.geotools.filter.FidFilterImpl(String)
          use FidFilterImpl.FidFilterImpl(Set) 
org.geotools.map.GraphicEnhancedMapContext()
            
org.geotools.map.GraphicEnhancedMapContext(MapLayer[])
            
org.geotools.factory.Hints(RenderingHints.Key, Object, Object[])
          The Object[] argument was a kind of substitution for variable-length arguments. In order to avoid confusion, it is safer to use the later. 
org.geotools.feature.visitor.IdCollectorFilterVisitor()
          use IdCollectorFilterVisitor.IdCollectorFilterVisitor(boolean) 
org.geotools.parameter.ImagingParameterDescriptors(Map, RegistryElementDescriptor, Map, Class>, String)
          Replaced by #ImagingParameterDescriptors(Map, RegistryElementDescriptor,String,Map,Collection. 
org.geotools.filter.LogicFilterImpl(short)
          Consructing with type constants should be replaced with an actual java type. 
org.geotools.map.MapContent(CoordinateReferenceSystem)
           
org.geotools.map.MapContent(MapLayer[])
           
org.geotools.map.MapContent(MapLayer[], CoordinateReferenceSystem)
           
org.geotools.map.MapContent(MapLayer[], String, String, String, String[])
           
org.geotools.map.MapContent(MapLayer[], String, String, String, String[], CoordinateReferenceSystem)
           
org.geotools.xml.Parser(Configuration, InputStream)
          use Parser.Parser(Configuration) and Parser.parse(InputStream). 
org.geotools.xml.Parser(Configuration, String)
          use Parser.Parser(Configuration) and Parser.parse(InputStream). 
org.geotools.jdbc.PreparedFilterToSQL()
          Use PreparedFilterToSQL.PreparedFilterToSQL(PreparedStatementSQLDialect) instead 
org.geotools.feature.visitor.StandardDeviationVisitor(Expression, double)
          use StandardDeviationVisitor.StandardDeviationVisitor(Expression) insteads 
org.geotools.renderer.lite.StyledShapePainter(LabelCache)
          Use the no arguments constructor instead 
org.geotools.referencing.wkt.UnformattableObjectException(String)
          Replaced by UnformattableObjectException.UnformattableObjectException(String, Class). 
org.geotools.util.WeakHashSet()
          Use WeakHashSet.WeakHashSet(Class). 
 



Copyright © 1996-2014 Geotools. All Rights Reserved.